Menu button highlighting (Piano-Black)
-
Hello everyone!
First post here after recently installing WordPress on my website. I decided to go for the Piano-Black theme. But I have one small problem that I cant quite figure out…
If you visit my page at http://folio.pasteyface.com (excuse the mess – it’s a work-in-progress) you’ll see that I’ve set up a bunch of links in the main menu. In the control panel, under Settings->Reading, I have my Posts Page is set to “Art Diary” and my Front Page is set to “Gallery”. However, when I browse to “Gallery” or “Home”, the Home button isn’t highlighted….and when I browse to “Art Diary” the Home button highlights.
Does anyone know how to get the Home button to highlight when navigating to either “Home” or “Gallery” and not when going to “art Gallery”? I’ve looked in header.php but I’m no php expert. And once the buttons are highlighting properly I want to exclude the “Gallery” button from the menu and change the name of “HOME” to “GALLERY” (which I know how to do so that’s cool).
If anyone has any idea, it’d be a huge help 🙂 Thanks in advance!
-
Correction:
Does anyone know how to get the Home button to highlight when navigating to either “Home” or “Gallery” and not when going to “Art Diary”?No post editing option here? 😛
ahhh after looking through header.php I thought I’d see if the entry…
if (!is_paged() && is_home())….on line 37 was to blame, so searched google for “is_home()” and found something about “is_front_page()” and thought I’d try changing the entry, and it seems to have worked 🙂
oh well, that wasn’t too hard to fix I guess. hope that helps anyone else that might have a similar problem 🙂
Hi! I saw your blog and noticed you somehow moved the black bar with Tags, and Post Comment from under a post higher. I need to move it closer to the post too can you tip me on where can I need to modify the code?
The topic ‘Menu button highlighting (Piano-Black)’ is closed to new replies.