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 » Page & Category Menu Bars »

[SOLVED] Menu is Missing


  #1  
Old May 22, 2012, 08:09 AM
kayel_justice
 
27 posts · Oct 2011
First I would like to say thanks for all of the community's help in the past.
This is probably an easy fix, i just don't know how but the steps I did are very simple. Please help.

My Goal:
To have rotating header images

My Solution:
I added jQuery and replaced this tag in header.php
"<?php echo bfa_header_config(); ?>"

with the div code below like so:
"<div id="bing-images" style="width:1000px; height:495px;">
<img src="<?php bloginfo("template_directory"); ?>/images/header1.png" width="1000" height="495" alt="The official site of Brandon Bing - Banner" />
<img src="<?php bloginfo("template_directory"); ?>/images/header2.png" width="1000"
</div>"

The Problem:
It works but the menu disappears with the code I replaced. Can anyone help with this? I know there has to be other people who tried the same thing but I can't find a thread on this.

Test Site is below:
http://spazbunny.com/brandonbing/

Thanks

Last edited by kayel_justice; May 22, 2012 at 08:12 AM. Reason: Adding the Test Link
  #2  
Old May 22, 2012, 08:20 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Why edit the theme code. Add a new widget area to the 'Configure Header Area' option, add a text widget, put the php code in it and install the plugin 'exec-php'

Now your change is a theme option and you don't need to change it in future updates and you can keep the %pages as part of the 'Configure Header Area' option and keep your menu
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old May 22, 2012, 08:30 AM
kayel_justice
 
27 posts · Oct 2011
Thanks JDad, I think I follow and will try this right away........BRB!
  #4  
Old May 22, 2012, 09:27 AM
kayel_justice
 
27 posts · Oct 2011
Hey JDad and friends,

I actually got it working my way by accident, but I want to get it working your way. After some trial and error I decided to test the plug-in. So here is my first step.

I installed 'exec-php' and tested to see if it works by adding the code in the 'Configure Header Area' like-so:
%pages <?php echo "This is the Exec-PHP 'Hello World'"; ?>

I didn't see anything, I'm assuming this is the correct way to test if it works, or did I miss something somewhere.

Thx
  #5  
Old May 22, 2012, 09:39 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You must add a new widget area to the Configure header area option.
exec-php wil execute any PHP that is in a widget
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old May 22, 2012, 10:03 AM
kayel_justice
 
27 posts · Oct 2011
ok thanks lemme try that again...
  #7  
Old May 22, 2012, 10:12 AM
kayel_justice
 
27 posts · Oct 2011
Hey thanks, That is pretty sweet! Thanks for your help! JDad....

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] I'm Missing Something... Menu Functionality Seems Less, not More, vs. older StevenLevy Page & Category Menu Bars 2 Nov 6, 2010 10:06 AM
[SOLVED] Menu Arrows missing kpkes@yahoo.com New Versions, & Updating 5 Jun 19, 2010 07:32 AM
Missing Save Changes button again, and missing footer area paulae Sidebars & Widgets 1 May 13, 2009 10:46 AM
Category menu bar missing naveen Page & Category Menu Bars 3 Mar 21, 2009 04:05 PM


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


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