Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

Putting BFA Recent Comments within a Page


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Mar 23, 2010, 11:35 AM
paulae's Avatar
paulae
 
1,320 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
 
20,001 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
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
  #3  
Old Mar 23, 2010, 01:09 PM
paulae's Avatar
paulae
 
1,320 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
 
20,001 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
I just pasted your code in to a page, viewed the page, went to widgets and there is now a 'recent_comments' widget area.
  #5  
Old Mar 23, 2010, 02:32 PM
paulae's Avatar
paulae
 
1,320 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
 
20,001 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
it might, I just stuck it into the page, what plugin are you using with the short code?
  #7  
Old Mar 23, 2010, 03:14 PM
paulae's Avatar
paulae
 
1,320 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
 
20,001 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
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
  #9  
Old Mar 23, 2010, 04:54 PM
paulae's Avatar
paulae
 
1,320 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 05:13 AM.


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