Posted By

stephcode on 11/22/11


Tagged

css page wordpress style title conditional


Versions (?)

WordPress CSS based on page title (Conditional)


 / Published in: PHP
 

URL: http://codex.wordpress.org/Dynamic_Menu_Highlighting http://codex.wordpress.org/Conditional_Tags

  1. <a href="/" class="<?php if (is_page('Archives')) { ?>selected<?php } ?>">Archive</a>

Report this snippet  

You need to login to post a comment.