Current Category Slug
<?php //* Do NOT include the opening php tag shown above. Copy the code shown below. $current_cat = get_query_var( 'cat' ); $cat_slug = get_category ( $current_cat )->slug;