Title: stevoweb's Replies | WordPress.org

---

# stevoweb

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

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

 Search replies:

## Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [transient_feed is getting scary. Is it legit , have I been hacked?](https://wordpress.org/support/topic/transient_feed-is-getting-scary-is-it-legit-have-i-been-hacked/)
 *  [stevoweb](https://wordpress.org/support/users/stevoweb/)
 * (@stevoweb)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/transient_feed-is-getting-scary-is-it-legit-have-i-been-hacked/#post-1891475)
 * Thanks cc.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [transient_feed is getting scary. Is it legit , have I been hacked?](https://wordpress.org/support/topic/transient_feed-is-getting-scary-is-it-legit-have-i-been-hacked/)
 *  [stevoweb](https://wordpress.org/support/users/stevoweb/)
 * (@stevoweb)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/transient_feed-is-getting-scary-is-it-legit-have-i-been-hacked/#post-1891472)
 * Is anyone able to shed any light on the above questions? I’d like to know a bit
   more about this too. Thanks.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [List posts that were tagged with a certain keyword](https://wordpress.org/support/topic/list-posts-without-a-certain-tag/)
 *  Thread Starter [stevoweb](https://wordpress.org/support/users/stevoweb/)
 * (@stevoweb)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/list-posts-without-a-certain-tag/#post-2386395)
 * Done it!! Thanks all. I didn’t know you could have an array in an array like 
   that. I just needed to add that tag_slug__in property that you mentioned Big 
   Bagel.
 * Full working code:
 *     ```
       <?php
       $args = array( 'numberposts' => 5, 'order'=> 'DESC', 'orderby' => 'post_date', 'tag_slug__in' => array( 'hotposts' ) );
       $postslist = get_posts( $args );
   
       foreach ($postslist as $post) :  setup_postdata($post); ?>
         <?php the_time('F j, Y'); ?>
         <a href="<?php echo get_permalink(); ?>">
             <?php the_title(); ?>
         </a>
         <?php the_excerpt(); ?>
       <?php endforeach;
       ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [List posts that were tagged with a certain keyword](https://wordpress.org/support/topic/list-posts-without-a-certain-tag/)
 *  Thread Starter [stevoweb](https://wordpress.org/support/users/stevoweb/)
 * (@stevoweb)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/list-posts-without-a-certain-tag/#post-2386393)
 * (Sorry Big Bagel, only just noticed your post. Will look at it now.)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [List posts that were tagged with a certain keyword](https://wordpress.org/support/topic/list-posts-without-a-certain-tag/)
 *  Thread Starter [stevoweb](https://wordpress.org/support/users/stevoweb/)
 * (@stevoweb)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/list-posts-without-a-certain-tag/#post-2386392)
 * Just to summarise:
 * I can list the latest 5 posts using the code in my original forum post above.
 * Separately, I can list ALL posts tagged with a certain keyword (hotpost) using
   this…
 *     ```
       <?php
       $the_query = new WP_Query( 'tag=hotpost' );
       while ( $the_query->have_posts() ) : $the_query->the_post();
       ?>
         <?php the_time('F j, Y'); ?>
         <a href="<?php echo get_permalink(); ?>">
             <?php the_title(); ?>
         </a>
         <?php the_excerpt(); ?>
       <?php endwhile;
       wp_reset_postdata();
       ?>
       ```
   
 * What I can’t work out is how to combine these two snippets.
    - The first code snippet, which uses a foreach loop, lists the five most recent
      posts but doesn’t filter by tag.
    - The second code snippet (above), which uses a while loop, filters by tag but
      doesn’t restrict the number of posts to five.
 * (As you can probably tell I’m no natural coder, so apologies if the solution 
   to this is obvious!)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [List posts that were tagged with a certain keyword](https://wordpress.org/support/topic/list-posts-without-a-certain-tag/)
 *  Thread Starter [stevoweb](https://wordpress.org/support/users/stevoweb/)
 * (@stevoweb)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/list-posts-without-a-certain-tag/#post-2386389)
 * Thanks alchymyth. I have been fiddling around with WP_Query for ages but can’t
   work out how to combine it with what I’ve done so far – for some reason it’s 
   not working.
 * This is all going in a copy of page.php which I’m using as my static front page,
   if that’s any help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Fast Secure Contact Form] [Plugin: Fast Secure Contact Form] Email from:](https://wordpress.org/support/topic/plugin-fast-secure-contact-form-email-from/)
 *  [stevoweb](https://wordpress.org/support/users/stevoweb/)
 * (@stevoweb)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-fast-secure-contact-form-email-from/#post-1637974)
 * This issue had me stumped for a little while because I had turned off all the
   standard fields and had configured my own name field (called ‘Your name’) as 
   an extra field. I didn’t realise that for the form-filler’s name (as opposed 
   to the text ‘WordPress’) to display in the site owner’s From: column in their
   email client, we had to make use of the plugin’s standard Name field. But that’s
   not a problem. I just noticed that the standard form fields and labels can be
   styled with classes in the Style section, matching up with any classes entered
   in the extra fields, so all is good.
 * By the way, superb plugin Mike.

Viewing 7 replies - 1 through 7 (of 7 total)