Wordpress users have thousands of themes to choose from. We hunt out the best of the best free and premium wordpress themes. You will find best of the best 2 columns, 3 columns, adsense ready, widget ready,
XHTML validated wordpress themes. Best themes for Wordpress powered blogs. Download quality and professionally designed Wordpress templates for free at BestWpThemez.com.
In order to find and display the untagged posts in blog, you need to use this code:
<?php query_posts(‘orderby=title&order=asc&showposts=-1′); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php
$tag = get_the_tags();
if (!$tag) { //Theses posts have no tags
the_title();
}
endwhile;
endif; ?>
Add this code in any template where you want to display untagged posts of the blog.
That’s it!
Thanks,
Shane G.
Popularity: 1%
This entry was posted
on Tuesday, October 13th, 2009 at 2:06 am and is filed under WordPress KB .
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.