Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

disappearing %pages


  #1  
Old Apr 30, 2010, 12:31 PM
papalagi
 
41 posts · Nov 2009
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?
  #2  
Old Apr 30, 2010, 02:42 PM
juggledad's Avatar
juggledad
 
23,729 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Apr 30, 2010, 06:03 PM
papalagi
 
41 posts · Nov 2009
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/

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disappearing pictures in post through links brizale Center area post/pages 2 Mar 28, 2010 12:58 PM
Headline disappearing on single-post pages. Matt Butts New Versions, & Updating 6 Jul 11, 2009 10:15 AM
Disappearing post text IE6 dedblank Atahualpa 3 Wordpress theme 4 Jun 16, 2009 06:53 AM
Search Box is Disappearing Whatsthatcat? Atahualpa 3 Wordpress theme 0 Mar 19, 2009 10:59 PM


All times are GMT -6. The time now is 03:16 PM.


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