• echozone

    (@echozone)


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

    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, triggering the main page menu css (+ 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 I’m on /subscribe.php (from header.php), + negate that it’s triggering is_page(‘home’).

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Lorelle

    (@lorelle)

    Have you contacted the plugin author’s website and the author to see if anyone has run into this issue? And since the issue is with the plugin, more than WordPress, if you don’t get an answer, post again in the Plugin section of this forum.

    Thread Starter echozone

    (@echozone)

    I did have a conversation with the developer, and I mentioned his suggestion here, for which I would like help with the syntax.

    I debated whether to post this to the plugin forum, but decided to post here, as I figured I had already exhausted the plugin discussion with the developer, and this involves general php problem solving with WP.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘target when on page from header’ is closed to new replies.