• Using subscribe2 plugin + dynamic menu highlighting (demo in codex).

    The output is generated from subscribe.php, located in the root level of the WP install.
    subscribe.php is telling the header that it is my main page (is_page(‘home’)), triggering the main page menu css (+ also showing the main page title in the browser window titlebar).

    Also using Page to Front plugin to have a WP Page as the main page.

    I’m wanting to target when Ia€?m on /subscribe.php (from header.php), + negate that it’s triggering the dynamic menu highlighting php as is_page(‘home’).

    The developer suggested using
    $_SERVER['REQUEST_URI']
    and so far, I haven’t got the syntax to work. Any suggestions?

  • The topic ‘target current page from header’ is closed to new replies.