WordPress.org

Forums

WordPress.com Popular Posts
Bug Report: Exclude function not working in shortcode (1 post)

  1. gaplauche
    Member
    Posted 2 years ago #

    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/

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic