WordPress.org

Forums

Navigation (4 posts)

  1. ryegie
    Member
    Posted 2 years ago #

    Good day.. My problem is that I have a login page wich the navigation is excluded.. How can I remove my navigation in my login page while having it in another page.

    Thank you very much.

  2. atul1280
    Member
    Posted 2 years ago #

    Use something like this:

    if(!is_page('login')) {
     Your navigation php code here e.g. wp_nav_menu
    }
  3. ryegie
    Member
    Posted 2 years ago #

    Which php file should i insert that codes?

  4. atul1280
    Member
    Posted 2 years ago #

    The one having navigation. Most probably header.php

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.