Viewing 2 replies - 1 through 2 (of 2 total)
  • This should get you started: Dynamic_Menu_Highlighting

    Thread Starter Stu Carpenter

    (@greatbig47)

    Oh…I’ve done that before…and it works GREAT!

    It’s when I get here, I’m not sure what to do (since the pages are root/apartments/index.php)…

    <?php
    if ( is_page(‘Page One’) ) { $current = ‘one’; }
    elseif ( is_page(‘Page Two’) ) { $current = ‘two’; }
    elseif ( is_page(‘Page Three’) ) { $current = ‘three’; }
    elseif ( is_page(‘Page Four’) ) { $current = ‘four’; }
    ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Header for .php in seperate folder’ is closed to new replies.