[wp-hackers] Help with including custom templates using variables

Helen Hou-Sandi h at hyhs.me
Mon Aug 12 17:40:54 UTC 2013


http://codex.wordpress.org/Function_Reference/locate_template

Also take a look at get_queried_object_id() rather than global $post;
$post->ID and the args for wp_get_post_tags() - you can have it return just
names and then you should be able to array_pop() it.


More information about the wp-hackers mailing list