Support » Plugin: Menu Item Visibility Control » Specific Pages involving Parents

  • Hello!

    Our site is laid out by a Main Page, then multiple separate Parent pages with children and their own catalog.

    (example: Front Page->Hotel 1->Catalog. But Also Front Page->Hotel 2->Catalog.)

    My question is, for visibility of a specific parent page, what am I doing wrong? Im quite new at this coding so I am learning slowly.

    (Example: Hotel 1(ID3484) needs a specific set of menus then Hotel 2(ID44). However Hotel 1’s Menu is showing on Hotel 2s as well, and vice verse.)

    My Code for Hotel 1
    ! is_front_page(); get_children( 3484 );

    So far this has just helped with keeping it off the front page but its showing up on other pages that are not 3484.

    Hotel 1
    Hotel 2 (Has same menu as hotel 1, I do not want that)

  • The topic ‘Specific Pages involving Parents’ is closed to new replies.