Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   How to Display certain "Widget Area" on post pages only ? (http://forum.bytesforall.com/showthread.php?t=2442)

3ukman Jul 15, 2009 03:46 AM

How to Display certain "Widget Area" on post pages only ?
 
How can I configure a custom Widget Area to show only on post pages ? This is an available option for the 4 default sidebar widget areas. But with custom "Widget Areas" code need to be edited ?

By the way "Widget Areas" is tremendous functionality , just puts the theme on another level.

Flynn Jul 15, 2009 03:08 PM

You can wrap the widget code into a condition like

PHP Code:

<?php if ( is_single() ) {
bfa_widget_area('name=My widget area&cells=3');
?>



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

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