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, 09: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, 09: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, 08:00 AM
quintero
 
3 posts · Aug 2010
That worked beautifully. Thank you.

Bookmarks

Tags
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 03:07 PM
Widget areas 1 to 4 Ddabrai Sidebars & Widgets 2 Aug 15, 2009 03:48 AM
Home Link in Pages Widget alecf Sidebars & Widgets 1 Jul 14, 2009 08:45 PM
How to add 'Home' to 'Pages' Widget DavePorter Sidebars & Widgets 3 Mar 20, 2009 06: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 01:57 AM


All times are GMT -6. The time now is 02:53 AM.


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