get_referrer_category ID
-
When I employ the ‘get_referrer_category’ tag with a conditional tag for creating an active link state, How can I isolate the specific category for the current ‘referrer’ ID?
<li<?php if ( is_category('11') || get_referrer_category('11') ){ echo " class=\"current\""; } ?>><a href="/wordpress/sandbox01/?cat=11">Environmental</a></li>
https://www.ads-software.com/extend/plugins/smarter-navigation/
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘get_referrer_category ID’ is closed to new replies.