How do I come about to display posts related to a random tag? When I click a tag and directed to tag.php page I want all posts related to the previously clicked tag to be displayed. I have seen a lot of example like this:
<?php $args = array( 'numberposts' => 3, 'post_status' => 'publish', 'tag' => 'travel' //how to give a dynamic value );
but I would want 'tag' to be assign dynamically as to whatever tag I click.