Lego2012
12/13/2016 - 3:30 PM

Current Category Slug

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;