Title: Shortcode WPP wordpress popular posts
Last modified: February 19, 2021

---

# Shortcode WPP wordpress popular posts

 *  Resolved [Jan](https://wordpress.org/support/users/janataweb/)
 * (@janataweb)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/shortcode-wpp-wordpress-popular-posts/)
 * Hello [@hcabrera](https://wordpress.org/support/users/hcabrera/),
 * I have a problem with the shorcode that I integrated in my page.
    I impose a 
   post limit to display only the limit does not apply and I do not understand why?
 * you can see here my shortcode
 * [wpp range=’all’ limit=4 stats_views=1 order_by=”views” stats_comments=1 wpp 
   cat=’4,1′ wpp thumbnail_width=300 thumbnail_height=180]
 * if you could help me it would be really nice
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-wpp-wordpress-popular-posts%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/shortcode-wpp-wordpress-popular-posts/#post-14075243)
 * Hi [@janataweb](https://wordpress.org/support/users/janataweb/),
 * Are you using a caching plugin on your website?
 * Also, you have _wpp_ twice in there. Not sure if that affects anything but you’ll
   want to delete that:
 * `[wpp range='all' limit=4 stats_views=1 order_by='views' stats_comments=1 cat
   ='4,1' thumbnail_width=300 thumbnail_height=180]`
 *  Thread Starter [Jan](https://wordpress.org/support/users/janataweb/)
 * (@janataweb)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/shortcode-wpp-wordpress-popular-posts/#post-14075317)
 * Hector,
 * i’am not uscing cahing on this website.
 * When i delete the wpp for thumbnail they disapear
 * my probleme is for the limit i put =4 but i have 6 in result and i don’t know
   why.
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/shortcode-wpp-wordpress-popular-posts/#post-14075693)
 * That’s odd. Your shortcode works fine for me (I removed the category filter though).
 * [[
 * How exactly are you adding the shortcode to that page? (screenshots may help.)
 *  Thread Starter [Jan](https://wordpress.org/support/users/janataweb/)
 * (@janataweb)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/shortcode-wpp-wordpress-popular-posts/#post-14082808)
 * Hello Hector
 * I only used the shortcodes in two places on the page as you can see on the screen
   shot.
 * [screenshot](https://www.fanthesie.com/screen-shortcode.jpg)
 * I also tried to remove the cat = but that doesn’t change anything it still shows
   me everything without limit
 * and in this configuration the code limit to 4 articles each category? or just
   what should the shortcode display 4 for all category ?
 * ps: How do you manage to add a screenshot directly in the message on the forum
   here ?
    -  This reply was modified 5 years, 3 months ago by [Jan](https://wordpress.org/support/users/janataweb/).
    -  This reply was modified 5 years, 3 months ago by [Jan](https://wordpress.org/support/users/janataweb/).
    -  This reply was modified 5 years, 3 months ago by [Jan](https://wordpress.org/support/users/janataweb/).
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/shortcode-wpp-wordpress-popular-posts/#post-14084301)
 * > I only used the shortcodes in two places on the page as you can see on the 
   > screen shot.
 * This doesn’t answer my question though 😛 _How_ are you doing this? (As in describe
   the process step by step, tools you’re using for this, etc. Screenshots of your
   Page Edit screen may help.)
 * > ps: How do you manage to add a screenshot directly in the message on the forum
   > here ?
 * The forum allows you to insert `<img />` HTML tags 😀
    -  This reply was modified 5 years, 3 months ago by [Hector Cabrera](https://wordpress.org/support/users/hcabrera/).
      Reason: Reworded for clarity
 *  Thread Starter [Jan](https://wordpress.org/support/users/janataweb/)
 * (@janataweb)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/shortcode-wpp-wordpress-popular-posts/#post-14084547)
 * Hello Hector,
 * I am using DIVI.
 * as you can see in the two screen shots the two wpp shortcodes to display the 
   most viewed articles in different categories
 * ![](https://i0.wp.com/www.fanthesie.com/screenshot-limit.jpg?ssl=1)
 * ![](https://i0.wp.com/www.fanthesie.com/screenshot-limit-2.jpg?ssl=1)
 *  I add a text module, as you can see on the left of the screen there is my module
   where I have to put the shortcodes there and on the right it displays the results.
 * do you need something more ?
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/shortcode-wpp-wordpress-popular-posts/#post-14084629)
 * Nothing seems to be out of place (other than _wpp_ being repeated a couple of
   times within the shortcodes, something I suggested should be removed) so I’m 
   not really sure what’s going on. Unfortunately DIVI is a paid plugin and so there’s
   no way I can test the shortcode with it.
    -  This reply was modified 5 years, 3 months ago by [Hector Cabrera](https://wordpress.org/support/users/hcabrera/).
    -  This reply was modified 5 years, 3 months ago by [Hector Cabrera](https://wordpress.org/support/users/hcabrera/).
 *  Thread Starter [Jan](https://wordpress.org/support/users/janataweb/)
 * (@janataweb)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/shortcode-wpp-wordpress-popular-posts/#post-14088202)
 * Hector
 * maybe i can give you access to my site so you can look?
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/shortcode-wpp-wordpress-popular-posts/#post-14089587)
 * Unfortunately asking/offering site access is -and for good reasons- not allowed
   here. See: [WordPress Forum Guidelines – The Bad Stuff…](https://wordpress.org/support/guidelines/#the-bad-stuff)

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

The topic ‘Shortcode WPP wordpress popular posts’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-popular-posts/assets/icon-256x256.png?rev=1232659)
 * [WP Popular Posts](https://wordpress.org/plugins/wordpress-popular-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popular-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popular-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popular-posts/reviews/)

## Tags

 * [limit](https://wordpress.org/support/topic-tag/limit/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 9 replies
 * 2 participants
 * Last reply from: [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/shortcode-wpp-wordpress-popular-posts/#post-14089587)
 * Status: resolved