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 »

Need to call <li class= "current-cat-parent"> for single posts


 
Prev Previous Post   Next Post Next
  #1  
Old Jan 24, 2010, 02:58 PM
b1tzmast3r
 
18 posts · Oct 2009
Need to call <li class= "current-cat-parent"> for single posts

I'm trying to find out how I can define the "current-cat-parent" in the category menu on single post pages. My goal is so if visitors happen across a single post they'll know what category it falls under since I plan to highlight it in the menu.

I was able to do so on multipost pages for subcategories because I assigned a class to the current-cat-parent thanks to the fact that is was magically put there. Here's the sample:
Code:
<li class="cat-item cat-item-3 current-cat-parent">
If you click on a single post that "current-cat-parent" goes away. How can I put that back on single posts?

I dug all over the place but I couldn't figure out how to make that happen.


Here's my site info: WP 9.1 AP 3.4.4
Here's a subcategory where I got it to work
Here's a single post where I'm trying to get the category menu to highlight

Thanks in advance!!

Rob
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Static text/banner image before posts in "posts page" verbalicious Page & Category Menu Bars 14 Nov 12, 2010 05:27 AM
How to select "Only Exerpts"/"Full Posts" for certain post? shus Center area post/pages 4 Jan 19, 2010 01:41 PM
How to change the font of "1 comment to..." and "Leave a Reply" headers RHCdG Header configuration & styling 1 Nov 28, 2009 04:56 AM
"No Posts found" in Admin View and "Not Found" in Page View dextor Atahualpa 3 Wordpress theme 1 Sep 12, 2009 08:09 PM
Problem implementing "How to show single post special category on static home page??" mkny13 Post-Kicker, -Byline & -Footer 6 May 5, 2009 05:21 AM


All times are GMT -6. The time now is 12:13 PM.


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