Title: jtohline's Replies | WordPress.org

---

# jtohline

  [  ](https://wordpress.org/support/users/jtohline/)

 *   [Profile](https://wordpress.org/support/users/jtohline/)
 *   [Topics Started](https://wordpress.org/support/users/jtohline/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jtohline/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jtohline/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jtohline/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jtohline/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jtohline/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to Include One Tag While Excluding Another](https://wordpress.org/support/topic/how-to-include-one-tag-while-excluding-another/)
 *  [jtohline](https://wordpress.org/support/users/jtohline/)
 * (@jtohline)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/how-to-include-one-tag-while-excluding-another/#post-1348605)
 * You shouldn’t have to even mention “long” to exclude it. Your query will show
   only those items you want to show.
 *     ```
       <?php
       	query_posts('showposts=1&tag=Quote&orderby=rand');
       	if (have_posts()) : while (have_posts()) : the_post(); ?>
               <?php echo the_content(); ?>
       	<?php endwhile; endif; ?>  
   
        <?php wp_reset_query(); ?>
       ```
   

Viewing 1 replies (of 1 total)