Reply 162737 to: Wrong menu item being highlighted

Avatar: denvysb
denvysb
Participant
May 10, 2017 at 17:01

For anyone that is getting no luck with slow and bad support here and is having the same issue as I did where the wrong main menu link is being highlighted.

The problem lies with the way they have decided to cache menu’s, it keeps pulling up the old cache copy of the menu, so no matter how many new pages you visit, you always get the old highlight menu link. The moment you disable and stop caching the menu the problem disappears, spent hours trying to find this since support have been no good so far, clearly a bug in this theme.

They are definitely not living up to their “top-notch 6 months support” claim advertised.

The culprit file:
xstore\framework\template-elements.php

The culprit line:
$output = wp_cache_get( $menu_id, ‘etheme_get_main_menu’ . $menu_id );

Solution to stop caching the menu:
//$output = wp_cache_get( $menu_id, ‘etheme_get_main_menu’ . $menu_id );

Added the solution to child-theme and so far no random menu highlighting issues.

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.