add widget between header image and logo area
The widget goes above the logo area everytime. I have the widget area code replacing the menu.
Then in the atahualpa options for header I have it %logo %pages %image It still goes to the top. any suggestions? |
Where did you put he widget code?
|
i put it in replace of the %pages menu for the old style and I checked to make sure it is blanked in the wordpress menu manager.
It now looks like this. Code:
// Old custom Atahualpa menu system: |
did you put this in an option or edit the theme code? if you edited the code, which module?
|
I edited the theme code. In bfa_header_config.php
full code for the part I editted is the %pages check Code:
// Page Menu Bar |
You don't need to edit the code, you can put the code to create a new widget area right in the 'Configure Header Area' option. It is one place you can do it because the theme knows enough to parse the php for that function.
|
ohhh I just remember hearing php couldnt be placed in options now. So I assumed everywhere.
EDIT: ok so i added this to the header options %logo <?PHP bfa_widget_area('name=Menu Widget Only'); if(is_home()){ ?> %image <?PHP }?> The widget doesnt show up at all now. any suggestions? |
you can't use the is_home, just the new widget code. so this won't work
HTML Code:
%logo <?PHP bfa_widget_area('name=Menu Widget Only'); if(is_home()){ ?> %image <?PHP }?> HTML Code:
%logo <?PHP bfa_widget_area('name=Menu Widget Only'); ?> %image |
All times are GMT -6. The time now is 06:22 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.