Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
crazydrake
tagDiv Member

Claude for the win! – Found it — confirmed directly in the page’s DOM. The cause is a menu link URL collision, not a bug in the “active state” logic itself:

The root issue: Under each of the SPORTS, NEWS, MUSIC, and BUSINESS dropdowns, the “Writers” submenu header is set to link to https://barrettmedia.com/ — the homepage — instead of a real anchor page (probably because there’s no dedicated “Writers” landing page, so whoever built the menu left the URL pointing at home as a placeholder).

WordPress’s nav walker assigns the current-menu-item / current_page_item classes (which drive the “active” styling) by comparing each menu item’s URL to the current page’s URL. Since four separate “Writers” items all share the exact same href as HOME, all of them get flagged current/active whenever you’re on the homepage — alongside HOME itself, which is correctly active.

That’s 5 “active” items per menu instance (HOME + 4x Writers). And because the theme renders the same nav markup three times in the DOM (desktop menu, mobile menu, and what looks like a sticky/duplicate header version — all sharing the menu-fall-2025-main-menu-2 menu), it shows up 15 times total in the page.

The fix: give each “Writers” submenu parent a real destination (an actual writers/authors archive page, or at minimum a distinct # / non-matching anchor) instead of the bare homepage URL. Once those links stop matching https://barrettmedia.com/, WordPress will stop marking them current, and only HOME will show active on the homepage.

crazydrake
tagDiv Member

Thank you Simion!

crazydrake
tagDiv Member

is there a specific object caching plugin you recommend with this theme?

crazydrake
tagDiv Member

So I’m an idiot. I didn’t realize the offset for articles was set at 4. Nothing to see here. Please move on and close me out! Thanks!

crazydrake
tagDiv Member

Yeah – We’re only using TD Composer for our homepage. All our post editing is using the classic editor and we don’t really update the post template all that often.

crazydrake
tagDiv Member

Just for clarity’s sake – We’re using LiteSpeed Cache for Image Optimization & CSS & JS Minify.

crazydrake
tagDiv Member

Perfect! Exactly what I needed – Thanks so much!

crazydrake
tagDiv Member

Sorry – I figured this one out as well. We’ll start using the Post Subtitle!

crazydrake
tagDiv Member

Sorry – I mean to write – We’re noticing the main article template for UrbanObserver doesn’t have it showing.

crazydrake
tagDiv Member

I figured it out! Cloned the global template and made a category template and added the ads I needed. Thanks!

Viewing 10 posts - 1 through 10 (of 10 total)