• Hi Everyone,

    I’ve used an;

    include(‘menu-absolute-top.html’);

    In the header.php file of my child theme to add a main menu at top top of my site.

    I’m trying now to rid my site of the initial main menu which (despite deleting all menu’s in ‘Menus’ section of the wp dashboard) still appears.

    Does anyone know how to disable WP’s call that creates the main menu and places it on the page?

    Any advice is strongly appreciated.
    thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Michael1799

    (@michael1799)

    Maybe adding something along the lines of;

    <?php unlink(‘$primary’, ‘twentytwelve’) ?>

    into the page.php or full-width.php files would work?

    I’m currently testing this out.

    Thread Starter Michael1799

    (@michael1799)

    I’m still playing around with the php.

    I unfortunately cannot use;
    nav-manu {display:none;}

    or any other css variant as this will also stop my header menu from displaying.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Twentytwlve – Main Menu Function Call’ is closed to new replies.