Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #313967

    Hi

    I want to create a landing page on on my site. On this landing page I want no navigational menu. I know I can turn this off via css for that page id.

    But if I wanted to create a custom template and use php to turn it off. What file contains the navigation code? In the header file a call is made

    <!– Scripts/CSS and wp_head hook –>
    <?php
    /* Always have wp_head() just before the closing </head>
    * tag of your theme, or you will break many plugins, which
    * generally use this hook to add elements to <head> such
    * as styles, scripts, and meta tags.
    */

    wp_head();

    ?>

    So im guessing that calls the navigation html. Where is that code stored?

    #314281

    Hey!

    Check in header.php, around line 71:

    get_template_part( 'includes/helper', 'main-menu' );
    

    Regards,
    Josue

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.