Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

Putting BFA Recent Comments within a Page


  #1  
Old Mar 23, 2010, 11:35 AM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
I'm trying to create a Page, not a Post, to show lists of the most recent posts from several categories, and also a list of the most recent comments. I've got a plugin that lets you use short codes to show the posts from certain categories on a page, but it doesn't "do" comments.

I was thinking if I could somehow run the code behind the BFA Recent Comments widget as a short code, that would work. Any ideas?

Or another way to do it?
  #2  
Old Mar 23, 2010, 11:51 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
oh, your are going to love this. I just tried it out and it works. You can add a new widget area to a page!! It will only show up on that page. Have fun
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Mar 23, 2010, 01:09 PM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
OK, I'll bite. How? I pasted
Code:
<?php bfa_widget_area('name=recent_comments'); ?>
into a Page in HTML view. I visited the page in the browser. Then went to the Widgets admin. The widget area doesn't show up.
  #4  
Old Mar 23, 2010, 02:20 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I just pasted your code in to a page, viewed the page, went to widgets and there is now a 'recent_comments' widget area.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Mar 23, 2010, 02:32 PM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
Still not working for me. Hmmm. Would it matter that there is other short code on the page above the new widget area code?
  #6  
Old Mar 23, 2010, 02:57 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
it might, I just stuck it into the page, what plugin are you using with the short code?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Mar 23, 2010, 03:14 PM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
List Category Posts. http://wordpress.org/extend/plugins/...s/other_notes/

But I tried a test page with no other code or short codes on it, and that also didn't work. Hmmm.
  #8  
Old Mar 23, 2010, 04:41 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I know what is happening. I have teh 'exec-php' plugin installed. It is executing the PHP in the post which creates the widget area If I deactivate it, the widget area goes away.

So in order for this to work, you need this (or possible a similar) plugin installed
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Mar 23, 2010, 04:54 PM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
OK, that worked! Thank you!

Now, however, it seems I can have only one instance of the BFA Recent Comments widget running. I still want it in a sidebar, but I also want it on this page: http://www.larchmontgazette.com/recent-headlines/

You see I have the infinitely inferior WP Recent Comments widget there, which doesn't give you any excerpt of the comment or let you fuss with any other options. How can I force another instance of BFA Recent Comments?

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dofollow in 'BFA Recent Comments' widget? sam1327 Sidebars & Widgets 0 Jan 23, 2010 11:12 PM
Recent Comments widget: possible bug in linking of new comments Jozefs Sidebars & Widgets 3 Jan 6, 2010 10:06 AM
[SOLVED] BFA Recent Comments, not all links working Gravity Sidebars & Widgets 5 Sep 3, 2009 03:05 PM
[SOLVED] BFA Recent Comments Tammy Sidebars & Widgets 4 Jul 22, 2009 08:43 AM
[SOLVED] Gravatar not showing on Recent Comments widget jankph Comments, trackbacks & pings 2 Jul 13, 2009 04:59 AM


All times are GMT -6. The time now is 02:23 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.