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 » Sidebars & Widgets »

[SOLVED] Where to place the conditional if_front_page tag


 
Prev Previous Post   Next Post Next
  #1  
Old Nov 24, 2010, 08:35 PM
webgurl's Avatar
webgurl
 
59 posts · Nov 2010
WordPress 3.0/Atahualpa 3.4.9/Firefox 3.6.12/XP sp3/
Help [SOLVED] Where to place the conditional if_front_page tag

I've read Flynn's 2009 post about creating new widgets again and again, and I still can't decide where to put the php conditional statement to have the new widget area appear only on the first page.

I have the widget area created on my static front page, and the widget is running on every page.

I know I need the php is_front_page to stop it from running on all pages, and Flynn says to put it in index.php, but I don't see the <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(X) ) : endif; ?> statement he says should be in the template to make the widget run. It's running, so it must be somewhere, but I just can't find it!

I am running default templates for all pages; landing page is set to static in wp>general>Reading options.

Thanks for any help you can give. Site is www.greenvilleconcerts.com/blog wp3.0 ata 3.4.9
 

Bookmarks

Tags
is_front_page, widget area

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Widget Logic, WP Conditional Tag for multiple pages jslusc Plugins & Atahualpa 1 Nov 6, 2010 09:55 PM
[SOLVED] Trying to put tag and tag description on tag archive pages. c4duser Atahualpa 3 Wordpress theme 2 Jun 5, 2010 02:18 AM
Conditional PHP issue MyJourneytoMillions Center area post/pages 6 Feb 10, 2010 03:11 PM
want to place clickable icons in place of links (Home, About, etc.) agrossman Header configuration & styling 2 Aug 13, 2009 02:45 PM
[SOLVED] Conditional Tag to exclude widget d_random Sidebars & Widgets 8 Jun 2, 2009 07:23 AM


All times are GMT -6. The time now is 04:45 AM.


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