Support » Fixing WordPress » Integrating lazy gallery link into dynamic highlighting menu problem

  • I have installed Lazy Gallery and it is working fine, however I want to place a link to the gallery in my dynamic menu at the top and have it dynamically highlighted when I select it. Currently, my other pages (which are WP pages) are dynamically highlighted using the ‘is_page’ function. How do I dynamically highlight the lazy gallery page? I’ve been trying to use ‘isset’ but being a PHP novice I can’t get it to work.

    My dynamic menu part of header.php currently looks like this –


    <?php

    if ( is_page('Biographies') ) { $current = 'biographies'; }
    elseif ( is_page('Link List') ) { $current = 'linklist'; }
    else { $current = 'weblog'; }
    ?>



    <div id="navlist">

  • Weblog
  • Biographies
  • Link List
  • </div>

    the Whole Shhbang can be found at http://c0axial.co.uk/shhbang/shhbang-cms

    Some help much appreciated.

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Integrating lazy gallery link into dynamic highlighting menu problem’ is closed to new replies.