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] about widgets

Old Oct 19, 2010, 02:50 PM
54 posts · Oct 2010
Hi guys,

Any idea if is possible to have some custom widgets only on some pages, not all pages ?
For instant I've created 3 widgets but I don't want them on all pages, I want them only on first page.

Is this possible?

Old Oct 19, 2010, 04:26 PM
54 posts · Oct 2010
Well, I solved this using a plugin like Widget Context or Widget Logic.
If you have other ideas please post them.
Old Oct 19, 2010, 08:09 PM
lmilesw's Avatar
10,176 posts · Jul 2009
Central New York State USA
You can also wrap the widget code in a conditional such as
HTML Code:
<?php if( is_home() ) bfa_widget_area('name=My new widget area'); ?>
HTML Code:
<?php if( is_page('4') ) bfa_widget_area('name=My new widget area'); ?>
The first will only show on a static home page and the second will only show on a page with the id of 4.
~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 Oct 20, 2010, 02:05 AM
54 posts · Oct 2010
Thanks a lot Larry!


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Added Widgets to Header area and now Widgets won't go away from Widgets page kippiper Header configuration & styling 5 Nov 12, 2009 04:33 PM
Set left sidebar widgets same distance from center area as right sidebar widgets daisy24 Sidebars & Widgets 2 Feb 19, 2009 05:11 AM

All times are GMT -6. The time now is 11:03 AM.

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