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