Title: coldpumpkin's Replies | WordPress.org

---

# coldpumpkin

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WebberZone Top 10 — Popular Posts] No count on posts page](https://wordpress.org/support/topic/no-count-on-posts-page/)
 *  Thread Starter [coldpumpkin](https://wordpress.org/support/users/coldpumpkin/)
 * (@coldpumpkin)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/no-count-on-posts-page/#post-7001972)
 * Photography page.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WebberZone Top 10 — Popular Posts] Top 10 2.x – Tracking fix](https://wordpress.org/support/topic/top-10-2x-tracking-fix/)
 *  [coldpumpkin](https://wordpress.org/support/users/coldpumpkin/)
 * (@coldpumpkin)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/top-10-2x-tracking-fix/page/2/#post-5640834)
 * chrishdunn I think it’s `<?php echo tptn_add_viewed_count( ' ' ); ?>`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Popular Posts] Show views for current post, on single.php](https://wordpress.org/support/topic/show-views-for-current-post-on-singlephp/)
 *  [coldpumpkin](https://wordpress.org/support/users/coldpumpkin/)
 * (@coldpumpkin)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/show-views-for-current-post-on-singlephp/#post-5643286)
 * dreamsoft apparently that’s how it’s working currently.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WebberZone Top 10 — Popular Posts] Custom output when listing popular posts](https://wordpress.org/support/topic/custom-output-when-listing-popular-posts/)
 *  Thread Starter [coldpumpkin](https://wordpress.org/support/users/coldpumpkin/)
 * (@coldpumpkin)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/custom-output-when-listing-popular-posts/#post-5724093)
 * It works now 🙂 Thank you very much for your time!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WebberZone Top 10 — Popular Posts] Custom output when listing popular posts](https://wordpress.org/support/topic/custom-output-when-listing-popular-posts/)
 *  Thread Starter [coldpumpkin](https://wordpress.org/support/users/coldpumpkin/)
 * (@coldpumpkin)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/custom-output-when-listing-popular-posts/#post-5724085)
 * Hi again! First of all thanks for your time.
 * The limit is now working, but it’s still displaying by newest to older, instead
   of higher views to lower views :\
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WebberZone Top 10 — Popular Posts] Custom output when listing popular posts](https://wordpress.org/support/topic/custom-output-when-listing-popular-posts/)
 *  Thread Starter [coldpumpkin](https://wordpress.org/support/users/coldpumpkin/)
 * (@coldpumpkin)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/custom-output-when-listing-popular-posts/#post-5724079)
 * I tried this
 *     ```
       <?php
                                   $top_posts = tptn_pop_posts( 'posts_only=1&limit=3' );
                                   $top_posts_array = wp_list_pluck( $top_posts, 'postnumber' );
                                   $args = array(
                                       'order' => 'DESC',
                                       'orderby' => 'meta_value',
                                       'post__in' => $top_posts_array,
                                   );
                                   $loop = new WP_Query( $args );
                                   ?>
                                   <?php while ( $loop->have_posts() ) : $loop->the_post(); ?>
                                       <img src="<?php $url = get_post_thumbnail_id(); $url = wp_get_attachment_image_src($url,'large'); $url = $url[0]; echo $url; ?>">
                                   <?php endwhile; ?>
                                   <?php wp_reset_postdata(); ?>
       ```
   
 * But it’s not going by the correct order, I mean, it’s not ordering from the most
   viewed to the least viewed and, also, the limit tag is not working, it’s showing
   all posts viewed at least once.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WebberZone Top 10 — Popular Posts] Custom output when listing popular posts](https://wordpress.org/support/topic/custom-output-when-listing-popular-posts/)
 *  Thread Starter [coldpumpkin](https://wordpress.org/support/users/coldpumpkin/)
 * (@coldpumpkin)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/custom-output-when-listing-popular-posts/#post-5724056)
 * Tried to achieve something but no output. All I really want is to be able to 
   define the output, like as if it was inside a loop. I saw what the user tried
   to do but it’s not working for me.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WebberZone Top 10 — Popular Posts] Custom output when listing popular posts](https://wordpress.org/support/topic/custom-output-when-listing-popular-posts/)
 *  Thread Starter [coldpumpkin](https://wordpress.org/support/users/coldpumpkin/)
 * (@coldpumpkin)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/custom-output-when-listing-popular-posts/#post-5724045)
 * Sorry but I don’t think I understand what I’m supposed to do 😡 I’m not really
   good at php
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WebberZone Top 10 — Popular Posts] Custom output when listing popular posts](https://wordpress.org/support/topic/custom-output-when-listing-popular-posts/)
 *  Thread Starter [coldpumpkin](https://wordpress.org/support/users/coldpumpkin/)
 * (@coldpumpkin)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/custom-output-when-listing-popular-posts/#post-5723913)
 * Because e.g. it’s also outputting an `<a>` tag wrapping the `<img>` tag. All 
   I want is the `<img>` tag and also it contains custom style for dimensions which
   are conflicting with my CSS.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WebberZone Top 10 — Popular Posts] Top 10 2.x – Tracking fix](https://wordpress.org/support/topic/top-10-2x-tracking-fix/)
 *  [coldpumpkin](https://wordpress.org/support/users/coldpumpkin/)
 * (@coldpumpkin)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/top-10-2x-tracking-fix/page/2/#post-5640737)
 * Alright, thanks very much!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WebberZone Top 10 — Popular Posts] Top 10 2.x – Tracking fix](https://wordpress.org/support/topic/top-10-2x-tracking-fix/)
 *  [coldpumpkin](https://wordpress.org/support/users/coldpumpkin/)
 * (@coldpumpkin)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/top-10-2x-tracking-fix/#post-5640732)
 * Yes, it seems to be working just fine! Thanks for that. Also, on a unrelated 
   topic, any way to prevent inflated post views? Like someone who keeps refreshing
   the page causing the view count to get higher. Perhaps a timer or even track 
   by IP? Thanks again.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WebberZone Top 10 — Popular Posts] Top 10 2.x – Tracking fix](https://wordpress.org/support/topic/top-10-2x-tracking-fix/)
 *  [coldpumpkin](https://wordpress.org/support/users/coldpumpkin/)
 * (@coldpumpkin)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/top-10-2x-tracking-fix/#post-5640724)
 * The reason why I don’t use the_content is because I’m building a photo blog. 
   So basically all I need is the thumbnail. Adding that code made it work. What
   do you mean “production site”?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WebberZone Top 10 — Popular Posts] Top 10 2.x – Tracking fix](https://wordpress.org/support/topic/top-10-2x-tracking-fix/)
 *  [coldpumpkin](https://wordpress.org/support/users/coldpumpkin/)
 * (@coldpumpkin)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/top-10-2x-tracking-fix/#post-5640722)
 * Nah, I’m not using that tag. Shouldn’t the tag I inserted above work? Maybe there’s
   more being output to the_content needed for the plugin to work.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WebberZone Top 10 — Popular Posts] Top 10 2.x – Tracking fix](https://wordpress.org/support/topic/top-10-2x-tracking-fix/)
 *  [coldpumpkin](https://wordpress.org/support/users/coldpumpkin/)
 * (@coldpumpkin)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/top-10-2x-tracking-fix/#post-5640720)
 * I’ve done that, still nothing! Tried switching themes, and it works in WP’s defaults!:
   O What could be wrong with my theme? What I did basically was adding `<?php if(
   function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?>` in single.
   php
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WebberZone Top 10 — Popular Posts] Top 10 2.x – Tracking fix](https://wordpress.org/support/topic/top-10-2x-tracking-fix/)
 *  [coldpumpkin](https://wordpress.org/support/users/coldpumpkin/)
 * (@coldpumpkin)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/top-10-2x-tracking-fix/#post-5640718)
 * Actually it’s weird, I installed a fresh wp with the plugin alone and it’s working.
   In my localhost the activate_counter is not present! Also, disabled all other
   plugins and still, nothing.

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

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