Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

[SOLVED] Atahualpa Widget Areas: On home page only, not other pages?

Old Aug 21, 2010, 08:00 PM
3 posts · Aug 2010
I have a widget area placed just before the loop. I'd like for this widget area to appear only on the home page, and not on post pages, category pages, etc. Is there a way to do this?

I used this code to place the widget area before the loop:
?php bfa_widget_area('name=My new widget area'); ?

Thanks in advance!
Old Aug 21, 2010, 08:38 PM
lmilesw's Avatar
10,174 posts · Jul 2009
Central New York State USA
Try something like this.
<?php if( is_home() ) bfa_widget_area('name=My new widget area'); ?>
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
Old Aug 22, 2010, 07:00 AM
3 posts · Aug 2010
That worked beautifully. Thank you.


widget area

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change widget areas order on widget page JFG Sidebars & Widgets 0 Apr 19, 2010 02:07 PM
Widget areas 1 to 4 Ddabrai Sidebars & Widgets 2 Aug 15, 2009 02:48 AM
Home Link in Pages Widget alecf Sidebars & Widgets 1 Jul 14, 2009 07:45 PM
How to add 'Home' to 'Pages' Widget DavePorter Sidebars & Widgets 3 Mar 20, 2009 05:40 PM
IE Home page no rt. Side bar new pages and other pages OK! Ok in FF and Chrome minionette Sidebars & Widgets 2 Feb 26, 2009 12:57 AM

All times are GMT -6. The time now is 12:06 AM.

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