Wordpress save tag in PHP var!
Here’s the code to save the current wordpress tag, if you are on a “tag site”:
<?php $current_tag = single_tag_title(”", false); ?>
Taken from the wordpress reference.
Here’s the code to save the current wordpress tag, if you are on a “tag site”:
<?php $current_tag = single_tag_title(”", false); ?>
Taken from the wordpress reference.