Return to Snippet

Revision: 57651
at June 4, 2012 02:06 by shufflepath


Initial Code
// This sets out a variable called $term - we'll use it ALOT for what we're about to do.
	 $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );
	 
	 echo '<h2>' . $term->slug . '</h2>';

Initial URL

                                

Initial Description

                                

Initial Title
Get Term Info in an Array

Initial Tags
php, wordpress

Initial Language
PHP