[SOLVED] Both Blog page and Static Front page highlight when Blog page selected
I know this is something I am not doing right as other do not seem to have this problem -- but can not figure it out. I have set a static front page (Intro) and a page for posts (blog) in WP. When blog page is selected/active both Intro and Blog are highlighted in the page menu. For all other pages, only the page selected/active is highlighted. Here is the link to my-in progress site http://lomaprietapottery.com.
Forgot to mention - I am using Atahualpa 3.3.3 and WP 2.7.1 By the way, love using this theme. Thanks. |
This is a bug, thanks for finding. Is fixed now for 3.3.4. To fix it in your 3.3.3 edit functions/bfa_header_config.php and replace in line 12
PHP Code:
PHP Code:
|
Made the replacement and all works as expected. Thanks!
|
Doing this broke my theme - I had to replace the config file with the original.
I think I will just update to the next version. Thanks. |
I am having the same issue, but with a later version of Atathualpa, 3.7.7. I went to the php file, but line 12 is completely different code now. Help?
|
without the url, I can't help you.
|
http://www.andrearussell.com/new_site is the URL
|
Are you using the atahualpa menu or a custom wordpress menu?
|
atahualpa menu
|
the link you provided goes no where
|
Here is the link that shows both the blog and the home tabs being highlighted at the same time.
http://andrearussell.com/new_site/in...n-off-the-mat/ It should work, the site is live and has been accessed from many different computers. |
have you modified any of the theme code?
What happens if you temporallary disable all plugins? go to ato->export/import settings, export your settings and attach them to a reply. |
1 Attachment(s)
I've attached the settings file.
Deactivating the plugins does not fix it. It actually adds another home page to the page menu. I have only added html/css inserts to the theme code. I am using a child theme of atahualpa. |
Quote:
|
A child theme I made so that if I did ever change any of the theme code and updated later then it wouldn't affect my changes. I read it in a blog a couple years ago, made the child theme and have been using it ever since.
http://codex.wordpress.org/Child_Themes |
Atahualpa isn't like most themes. The theme options are stored in the database so when you update the theme they carry forward. 99% of the time there is no need to touch the actual theme code.
I imported your settings and get no duplicate items selected, there fore I can only assume that it has something to do with some thing in the child theme you created. I would suggest activating the main theme and see what happens. Remember if you use a child theme and nthe base theme code changes, you have to update your child theme code. |
Well, I exported my settings from the child theme, activated Atahualpa 3.7.7, imported the settings, and the double highlighting persists. I'm at a loss as to what to try next.
|
did you try removing anything in the CSS Inserts options?
|
1 Attachment(s)
I think the problem is that for whatever reason the current_page_item class is being applied to both the home page and the blog page at the same time. I'm attaching a screenshot to show you what I mean. I don't know how to remove the current_page_item class from the home page <li> on the blog page.
|
1) What do you have set at dashboard->settings->reading->Front page displays?
2) Do you have a page called 'Home'? if so go to ato->MENU 1 (Page Menu)->Home link in Page Menu Bar and blank that option out |
Yes, I have a page called home. I had excluded that page from the list of pages, and had Home in the 'Home link in Page Menu Bar' setting.
When I switched those, removed Home from 'Home link in Page Menu Bar' setting on the Page Menu page, and included the page called home in the list of pages the double highlighting went away. Thank you for your help! I will making a donation for your efforts. |
All times are GMT -6. The time now is 08:34 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.