Title: PowerPro's Replies | WordPress.org

---

# PowerPro

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/users/powerpro/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/powerpro/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[VS Event List] Shortcode that shows only 1 event](https://wordpress.org/support/topic/shortcode-that-shows-only-1-event/)
 *  Thread Starter [PowerPro](https://wordpress.org/support/users/powerpro/)
 * (@powerpro)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/shortcode-that-shows-only-1-event/#post-6203875)
 * Yes the site also contains a blog.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Juiz Last Tweet Widget] Auto-slide feature has stopped working](https://wordpress.org/support/topic/auto-slide-feature-has-stopped-working/)
 *  [PowerPro](https://wordpress.org/support/users/powerpro/)
 * (@powerpro)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/auto-slide-feature-has-stopped-working/#post-3280851)
 * Has anyone gotten the autoslide to work? I too am having problems with it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] w3 Total Cache not working with WP 3.5.1](https://wordpress.org/support/topic/w3-total-cache-not-working-with-wp-351/)
 *  [PowerPro](https://wordpress.org/support/users/powerpro/)
 * (@powerpro)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/w3-total-cache-not-working-with-wp-351/#post-3537789)
 * I have been getting endless “connection reset” errors on any actions taken in
   the dashboard.
 * I tried posting a blog entry…connection reset.
 * I tried updating a plugin setting…connection reset.
 * I tried sending a msg to W3TC support from my site…connection reset.
 * I tried uninstalling the W3TC plugin…connection reset.
 * I had to manually rip it out via FTP.
 * I’d like to reinstall it but I can’t have it on the site if it makes it impossible
   to do any business whatsover.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Category Post List Widget] Two Columns](https://wordpress.org/support/topic/two-columns-2/)
 *  [PowerPro](https://wordpress.org/support/users/powerpro/)
 * (@powerpro)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/two-columns-2/#post-3156039)
 * I’m looking for the exact same thing.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Feedback & Survey Manager] [Plugin: WP Feedback & Survey Manager] Intro Paragraph, Editing Personal Options & Single En](https://wordpress.org/support/topic/plugin-wp-feedback-survey-manager-intro-paragraph-editing-personal-options-single-entries/)
 *  Thread Starter [PowerPro](https://wordpress.org/support/users/powerpro/)
 * (@powerpro)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-feedback-survey-manager-intro-paragraph-editing-personal-options-single-entries/#post-3017364)
 * Wonderful. I’ll be looking forward to using it on more projects! 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Feedback & Survey Manager] [Plugin: WP Feedback & Survey Manager] Intro Paragraph, Editing Personal Options & Single En](https://wordpress.org/support/topic/plugin-wp-feedback-survey-manager-intro-paragraph-editing-personal-options-single-entries/)
 *  Thread Starter [PowerPro](https://wordpress.org/support/users/powerpro/)
 * (@powerpro)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-feedback-survey-manager-intro-paragraph-editing-personal-options-single-entries/#post-3017362)
 * Thank you so much for your quick reply!
 * May I ask if there’s any information as to when the next version will be released?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Spam Free WordPress] [Plugin: Spam Free WordPress] Spam Free WordPress for WooThemes Theme](https://wordpress.org/support/topic/plugin-spam-free-wordpress-spam-free-wordpress-for-woothemes-theme/)
 *  Thread Starter [PowerPro](https://wordpress.org/support/users/powerpro/)
 * (@powerpro)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/plugin-spam-free-wordpress-spam-free-wordpress-for-woothemes-theme/#post-2359454)
 * Okay thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Spam Free WordPress] [Plugin: Spam Free WordPress] Spam Free WordPress for WooThemes Theme](https://wordpress.org/support/topic/plugin-spam-free-wordpress-spam-free-wordpress-for-woothemes-theme/)
 *  Thread Starter [PowerPro](https://wordpress.org/support/users/powerpro/)
 * (@powerpro)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/plugin-spam-free-wordpress-spam-free-wordpress-for-woothemes-theme/#post-2359438)
 * Hey I should have clarified that the site is set up to use Disqus. I figured 
   the spammers were using some sort of automation to bypass the typical process
   of filling out your username/password…
 * I’m not sure how to test with this in place.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Spam Free WordPress] [Plugin: Spam Free WordPress] Spam Free WordPress for WooThemes Theme](https://wordpress.org/support/topic/plugin-spam-free-wordpress-spam-free-wordpress-for-woothemes-theme/)
 *  Thread Starter [PowerPro](https://wordpress.org/support/users/powerpro/)
 * (@powerpro)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/plugin-spam-free-wordpress-spam-free-wordpress-for-woothemes-theme/#post-2359435)
 * Okay…will do.
 * How can I test to see if this is working properly?
 * And thank you for your help, Todd!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Spam Free WordPress] [Plugin: Spam Free WordPress] Spam Free WordPress for WooThemes Theme](https://wordpress.org/support/topic/plugin-spam-free-wordpress-spam-free-wordpress-for-woothemes-theme/)
 *  Thread Starter [PowerPro](https://wordpress.org/support/users/powerpro/)
 * (@powerpro)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/plugin-spam-free-wordpress-spam-free-wordpress-for-woothemes-theme/#post-2359422)
 * Whoops. My apologies. Let me try again:
    [http://pastebin.com/PpvDqNeT](http://pastebin.com/PpvDqNeT)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Random Featured Image from folder plugin?](https://wordpress.org/support/topic/random-featured-image-from-folder-plugin/)
 *  Thread Starter [PowerPro](https://wordpress.org/support/users/powerpro/)
 * (@powerpro)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/random-featured-image-from-folder-plugin/#post-2191316)
 * Anyone?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How can I display two most recent posts per category on the home page?](https://wordpress.org/support/topic/how-can-i-display-two-most-recent-posts-per-category-on-the-home-page/)
 *  Thread Starter [PowerPro](https://wordpress.org/support/users/powerpro/)
 * (@powerpro)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/how-can-i-display-two-most-recent-posts-per-category-on-the-home-page/#post-2028129)
 * Alright… after tweaking the first part of the answer to include all categories,
   it looks like this:
 * _[next time, please use the [pastebin ](http://pastebin.com/)for any code longer
   than 10 lines]_
 *     ```
       <?php
       foreach( get_categories() as $cat_id ) {
         $args=array(
           'cat' => $cat_id,
           'post_type' => 'post',
           'post_status' => 'publish',
           'posts_per_page' => 2,
           'caller_get_posts'=> 1
         );
         $my_query = null;
         $my_query = new WP_Query($args);
         if( $my_query->have_posts() ) {
           echo 'List of Posts for category '. $cat_id;
           while ($my_query->have_posts()) : $my_query->the_post();
       $do_not_duplicate[] = $post->ID ?>
   
       <p><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></p>
   
             <?php
           //the_content();  //or the_excerpt{};
           endwhile;
         }
       }
       wp_reset_query();  // Restore global post data stomped by the_post().
       ?>
       ```
   
 * But in the second part of the answer:
 * `$my_query = new WP_Query('category_name=featured&posts_per_page=2');`
 * How do I blend them?
 * Also… am I reading this right in thinking that this part:
 *     ```
       <?php if (have_posts()) : ?>
                   <?php while (have_posts()) : the_post(); ?>
       ```
   
 * …is what I’m replacing with the final version of the above?
 * I’m a code tweaker and not a coder thus all the questions. 😉
 * Thank you!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How can I display two most recent posts per category on the home page?](https://wordpress.org/support/topic/how-can-i-display-two-most-recent-posts-per-category-on-the-home-page/)
 *  Thread Starter [PowerPro](https://wordpress.org/support/users/powerpro/)
 * (@powerpro)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/how-can-i-display-two-most-recent-posts-per-category-on-the-home-page/#post-2027908)
 * Oh also… I need to ensure that posts only show up one time even if they’re in
   multiple categories.
 * Here’s how it looks right now (you’ll note that I’ve set it so that titles of
   posts from category 40 are red). This is what I need to modify:
 *     ```
       <?php if (have_posts()) : ?>
                   <?php while (have_posts()) : the_post(); ?> 
   
                   <div class="galleryitem" id="post-<?php the_ID(); ?>">
                       <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><img src="<?php if ( function_exists('p75GetThumbnail') )echo p75GetThumbnail($post->ID); ?>" alt="<?php the_title(); ?>" /></a>
   
       <!--custom color for post title by category -->
   
       <?php if (in_category(40) ) { ?>
       <h3><a style="color:#990000; font-weight: bold;" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title2('', '...', true, '20') ?></a></h3>
       <? } else { ?>
       <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title2('', '...', true, '20') ?></a></h3>
       <? } ?>
   
       <!-- end custom color for post title -->
   
                       <div class="commentsnumber">
                           <a href="<?php the_permalink() ?>#comments" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php comments_number('0', '1', '%'); ?></a>
                       </div> 
   
                       <p><?php the_content_rss('', TRUE, '', 25); ?></p>
       <p style="margin:12px 0 0 5px;">
       <?php _e('Posted in:'); ?> <?php the_category(', ') ?></p> 
   
                   </div>
   
                   <?php endwhile; ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How can I display two posts per category on the home page?](https://wordpress.org/support/topic/how-can-i-display-two-posts-per-category-on-the-home-page/)
 *  [PowerPro](https://wordpress.org/support/users/powerpro/)
 * (@powerpro)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/how-can-i-display-two-posts-per-category-on-the-home-page/#post-1577982)
 * Hello…I’m interested in the same thing but not in any category order. Right now,
   it’s showing all the latest posts from all categories in chronological order 
   with the most recent first…
 * And I’d like to instead have the latest two from each category show up on the
   homepage still in chronological order for all categories.
 * Help please?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Context] How do I show content on a single Category page?](https://wordpress.org/support/topic/widget-context-how-do-i-show-content-on-a-single-category-page/)
 *  Thread Starter [PowerPro](https://wordpress.org/support/users/powerpro/)
 * (@powerpro)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/widget-context-how-do-i-show-content-on-a-single-category-page/#post-1985483)
 * I see where I made my error.
 * In “Target by URL”…for Categories, I needed to enter
 * category/name-of-category
 * without any slashes before or after.

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/users/powerpro/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/powerpro/replies/page/2/?output_format=md)