WordPress.org

Ready to get started?Download WordPress

Forums

List category posts
numberposts parameter has no effect (6 posts)

  1. cconstantine
    Member
    Posted 1 year ago #

    I'm using the Minimatica theme with WP 3.5.1.

    Page has short code...

    [catlist numberposts=3 orderby=title order=ASC date=yes excerpt=yes thumbnail=yes title_tag=div date_tag=div excerpt_tag=div excerpt_size=10 ]

    Page is here...

    http://imagery.kinokawa.org/post-listing/

    ...I always see four posts, regardless of what I put for 'numberposts' in the short code.

    http://wordpress.org/extend/plugins/list-category-posts/

  2. cconstantine
    Member
    Posted 1 year ago #

    bump. Anyone else having this problem?

    ...doesn't make sense because the default numberposts value seems to be 5.

  3. jmek
    Member
    Posted 1 year ago #

    I'm having the same problem: I want to display the two latest posts, but I'm getting 16!

    Shortcode on page is:
    [catlist name=authors numberposts=2 content=yes thumbnail=yes class=latest orderby=date order=desc]

    page URL is: http://www.jmek.net/lq2013b/author-category-test

  4. georgianab
    Member
    Posted 1 year ago #

    Hello,

    I have the same problem too. Have you found any solution for this?

    Thank you,
    Georgiana

  5. georgianab
    Member
    Posted 1 year ago #

    Hello,

    Look like that jmek shortcode example works for me.

    My working shortcode:

    [catlist name=books numberposts=2 content=no thumbnail=no class=latest orderby=date order=desc]

    In my opinion I had an extra space in my shortcode or I had a hidden wierd character on the page. In am using wysiwyg editor and I have copied the original page content from MS Word, then I deleted the original page content and I put the List Category Post shortcode which was not working correctly. So I think from this a had the problem.

    Georgiana

  6. myxmlcigar
    Member
    Posted 1 year ago #

    Same problem here. Plugin shortcode for "numberposts=" does NOT work! Obviously, this is problematic for some and for others a non issue.

    I resolved, by editing list_cat_posts.php.

    On LIne 48, change the below
    'numberposts' => '5',

    To your value.

    Shortcode parameter does not work at all.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic