Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
/*
Template Name: Untagged
*/
query_posts('orderby=title&order=asc&showposts=-1');
if (have_posts()) :
while (have_posts()) : the_post();
$tag = get_the_tags();
if (!$tag) { ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?> </a><?php edit_post_link('[Edit]'); ?><br />
<?php
}
endwhile;
endif;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment