I have a Theme_Blvd Mini Post List in a sidebar which appears on all posts of a certain (custom) post type. This acts as a sidebar menu navigation to each of the sibling posts (we have about 7 or 8 posts in each of these groups).
In a regular sidebar pages nav menu (like in the main menu bar up top), there is a class added of “current-page-item” or similar, which helps us present an “on-page” style for the nav link of the current page.
Below is the output of the Theme_Blvd Mini Post List — each post in the list is an ARTICLE, with lots of classes, but no “current page” class.
<article class="has-thumbnail post-1427 video type-video status-publish format-standard has-post-thumbnail hentry category-new-item category-videos style-qqqqq purpose-bbbbb purpose-rrrrrr-hhhhhhh"> ------- </article>
Is there a way to add current page/post awareness to the items listed in the Theme_Blvd Mini Post List?
If there is a way, that would be so great because then I could highlight those links to indicate the “on-this-page” status.
Thanks in advance if you can help here.
You must be logged in to reply to this topic.