Viewing 1 replies (of 1 total)
  • developer

    (@andreadeveloper)

    Hi.
    I used this simple loop script i wrote, before I decided to write a full working plugin:

    <?php $posts=query_posts('tag=PUT_YOUR_TAG_NAME_HERE&posts_per_page=NUMBER'); if (have_posts()) : while (have_posts()) : the_post(); ?>
                <li><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></li>
    	<?php endwhile; else: ?>
      <?php _e('No posts found.'); ?></p>
    <?php endif; ?>

    It does the same things, showing only post titles and links in this example.
    Edit PUT_YOUR_TAG_NAME_HERE and NUMBER to fit your template.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Featured Tag Widget] Short code for templates please?’ is closed to new replies.