• Resolved insightdes

    (@insightdes)


    Hi Folks,

    In our WordPress theme’s header.php, I have changed:

    <div id="et-secondary-menu">
        <ul id="et-secondary-nav" class="menu">
    	<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-81"><a href="https://websites.insightdesign.com.au/layouts">Browse all Layouts</a>
    	</li>
        </ul>
    </div> <!-- #et-secondary-menu -->

    to:

    <div id="et-secondary-menu">
        <ul id="et-secondary-nav" class="menu">
    	<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-81"><a href="https://websites.insightdesign.com.au/layouts">Browse all Layouts</a>
    	</li>
    	<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-81"><a href="https://websites.insightdesign.com.au/product/e-book-how-to-build-a-website-with-wordpress/">E-book: build your own website using WordPress</a>
    	</li>
        </ul>
    </div> <!-- #et-secondary-menu -->

    i.e. I have added a second LI element.

    I’ve cleared the front page in LS Cache Manage, but only the single LI displays at top right of the website.

    I’ve also done a Purge All, and the new LI is still not present.

    I’ve cleared our browser cache and the issue remains.

    Help appreciated.
    Steve

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Please go to Debug tab , there is an option “disable all feature” for debugging purpose , please try enable that option and see how it goes.

    I also encountered few times , some themes doesn’t reflect the changes when you directly edit the files (typically header or footer) , but has a some settings in theme control to edit it.

    Best regards,

    Thread Starter insightdes

    (@insightdes)

    I disabled all features and the problem remains.

    I gather that means that LS Cache is not to blame?

    The <div id="et-secondary-menu"> is hard-coded into the header.php, rather than a theme option, so I’m puzzled why the changes don’t reflect on the front end.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Yes, if disable all is turned ON , that means the entire LSCWP is “deactivated” , so there must be something wrong with theme itself.

    I once encoutnered a theme ,that I changed things in footer.php , but it does NOT reflect in front-end , turns out the theme itself has a management system that controls how footer displays , and I had to do editing there.

    You maybe encounter the same situation as I did before.

    Best regards,

    Thread Starter insightdes

    (@insightdes)

    I went to edit header.php again, and my changes were not present.

    Making the change again has resolved the issue.

    Thanks for your assistance.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘change to header.php not present after clearing LS cache’ is closed to new replies.