Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   disappearing %pages (http://forum.bytesforall.com/showthread.php?t=6929)

papalagi Apr 30, 2010 11:31 AM

disappearing %pages
 
Hi everybody,

i've created a 2 cell widget area in the Header Area via this code:

Code:

<img src="wp-content/immagini/header_bott.png">
<?php bfa_widget_area('name=Page Menu Area&cells=2&align_1=9&align_2=2&width_1=60&width_2=912&before_widget=<div id="%1$s" class="header-widget %2$s">&after_widget=</div>'); ?>
%bar1 %pages

then i put "%pages" in a text widget inside the second cell

everything works smoothly until i delete the last "%pages" from the Header Area, if i take this out also the other %pages inside the widget disppears

looks like some sort of initialization missing, but i have no idea...

any help please?

juggledad Apr 30, 2010 01:42 PM

the %pages is something that only works outside the widgets. It's a place holder that is interperated when it is reading the 'Configure Header Area' option, not while a widget is running - different code is running. once you create a widget area, you then put a widget in that area. The widget is what is controlling what happens, not Atahualpa (unless it is one of the bfa_... widgets)

papalagi Apr 30, 2010 05:03 PM

thank you Juggledad,

can you suggest a workaround?

basically i'd want to have the two flag aside the page-menu, what's the better way to obtain this?

the site is located here:

http://botteon.it/wp/


All times are GMT -6. The time now is 12:17 AM.

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