target when on page from header
-
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 Ia€?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)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘target when on page from header’ is closed to new replies.