questine about WordPress
questine about WordPress
Out of context: Reply #4
- Started
- Last post
- 6 Responses
- rizm0
To write the current pagename, that's very easy:
<?php $wp_query->queried_object->post_name ?>
See here: http://stackoverflow.com/questio…But I guess you're looking for menu highlighting? Then check here:
http://codex.wordpress.org/Dynam…But come on, anyone can use Google these days!