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 –
<?phpif ( 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 https://c0axial.co.uk/shhbang/shhbang-cms
Some help much appreciated.
- The topic ‘Integrating lazy gallery link into dynamic highlighting menu problem’ is closed to new replies.