• Hi everyone,
    I am making changes to a site that is based on a template my company got and it has 3 Menu Levels. I need to remove one Menu (created from the Backend) and put another one in its place based on a specific page. They also asked me to change the header and logo for that page only and I managed to do it but I can’t find a way to remove one Menu and put another in its place.

    Can anyone help me Please.

    Here is the code I have so far:

    <?php
    $currentPage = $_SERVER['REQUEST_URI'];
    
    if ($currentPage == "/my-page/") { ?>
    	<style type="text/css">
                     My Styles ...
    	</style>
    <?php
    }
    ?>

    Thanks

Viewing 1 replies (of 1 total)
  • Thread Starter vitorf7

    (@vitorf7)

    Hey guys no worries I have figured it out with the help of another developer.

    I basically registered a new Nav Menu and then on my header.php tested to see if it was “my-page” and then use the new menu, otherwise for all the pages it uses the default menu that it had.

Viewing 1 replies (of 1 total)
  • The topic ‘Different Menu on a specific Page’ is closed to new replies.