Posted By

rliverman on 11/20/10


Tagged

wordpress category title match


Versions (?)

Wordpress List Posts by Category that Matches Title


 / Published in: PHP
 

  1. <?php
  2. $catmatch = get_the_title();
  3. //The Query
  4. query_posts('category_name=' . $catmatch ); ?>

Report this snippet  

You need to login to post a comment.