Title: [Plugin: WordPress.com Popular Posts] Bug Report: Exclude function not working in shortcode
Last modified: August 19, 2016

---

# [Plugin: WordPress.com Popular Posts] Bug Report: Exclude function not working in shortcode

 *  [gaplauche](https://wordpress.org/support/users/gaplauche/)
 * (@gaplauche)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-popular-posts-bug-report-exclude-function-not-working-in-shortcode/)
 * I’m trying to exclude a number of WordPress Pages from the output. I have the
   shortcode inserted in this page:
 * [http://www.libertarianstandard.com/popular/](http://www.libertarianstandard.com/popular/)
 * Here is how I have the shortcode for the first list filled out. The other two
   are the same except for the time frame.
 * `[wp_popular_posts title='' number=5 days=1 show=both list_tag=ol format='<a 
   href="%post_permalink%" title="%post_title_attribute%">%post_title%</a><p><span
   style="font-size: .8em;"><strong>%post_views% views | %post_comments% comments
   | published on %post_time%</strong></span><br />%post_excerpt%</p>' exclude="
   2, 28, 60, 62, 752, 1291, 1936, 2287, 2384, 2422, 2423, 2755, 2827, 2874, 3892,
   4825, 4945, 5038, 6093" time_format='F j, Y' excerpt_length=200 cachename=popular-
   posts-page magic_number=2]`
 * I’m guessing this is a bug, but… Is the exclusion function supposed to go in 
   a particular position? Or did I do something else wrong?
 * [http://wordpress.org/extend/plugins/wordpresscom-popular-posts/](http://wordpress.org/extend/plugins/wordpresscom-popular-posts/)

The topic ‘[Plugin: WordPress.com Popular Posts] Bug Report: Exclude function not
working in shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpresscom-popular-posts_b3b7b7.
   svg)
 * [WordPress.com Popular Posts](https://wordpress.org/plugins/wordpresscom-popular-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpresscom-popular-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpresscom-popular-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpresscom-popular-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpresscom-popular-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpresscom-popular-posts/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [gaplauche](https://wordpress.org/support/users/gaplauche/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-popular-posts-bug-report-exclude-function-not-working-in-shortcode/)
 * Status: not resolved