I’m trying to do the same thing, only displaying posts who have a tag that match the page name. Seems to work fine if it’s a one word tag, but not multiple word tags.
<?php $tag = $post->post_title; ?>
$tag_query = new WP_Query('tag='.$tag);
<?php if ($tag_query->have_posts()) : while ($tag_query->have_posts()) : $tag_query->the_post(); ?>
stuff here
<?php endwhile; endif; ?>
anyone see something I’m missing?
Of course after I post the missing link is
<?php $tag = sanitize_title($post->post_title); ?>