Wrong menu item being highlighted - by denvysb

This topic has 6 replies, 2 voices, and was last updated 6 years, 11 months ago ago by Olga Barlow

  • Avatar: denvysb
    denvysb
    Participant
    May 8, 2017 at 02:47

    For some reason when on the shop page or any other page in fact, the home page is still selected and highlighted as being the current page on the menu.

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 8, 2017 at 13:24

    Hello,

    Could you, please, provide me FTP access to your site?

    Regards

    Avatar: denvysb
    denvysb
    Participant
    May 8, 2017 at 19:40

    provided

    Please, contact administrator
    for this information.
    Avatar: denvysb
    denvysb
    Participant
    May 10, 2017 at 11:52

    Think I might have to get a refund on this theme and leave negative feedback on themeforest. Support for this theme is really bad and non existent. I am sat with a theme that is doing stuff that it shouldn’t, wrong menu items being highlighted and now the breadcrumb title won’t show and appearing under the wrong html tag from a standard set up.

    Yet a week down the line and after 3 questions I don’t have answer to a single question. The support here sucks.

    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.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 11, 2017 at 15:31

    Hello,

    Sorry for the delay in answering. It’s related to the number of the requests from our users.

    Yes, we use the WordPress Object Cache but the object cache is non-persistent. This means that data stored in the cache resides in memory only and only for the duration of the request. Cached data will not be stored persistently across page loads unless you install a persistent caching plugin.
    https://codex.wordpress.org/Class_Reference/WP_Object_Cache
    Very likely your hosting use caching plugins on the backend that’s why you had that problem.

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.