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 »

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


  #1  
Old Aug 21, 2010, 08:00 PM
quintero
 
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!
  #2  
Old Aug 21, 2010, 08:38 PM
lmilesw's Avatar
lmilesw
 
10,176 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.
  #3  
Old Aug 22, 2010, 07:00 AM
quintero
 
3 posts · Aug 2010
That worked beautifully. Thank you.

Bookmarks

Tags
widget area



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 03:54 AM.


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