WordPress.org

Ready to get started?Download WordPress

Forums

List category posts
Number of posts to show (1 post)

  1. ABCDiamond
    Member
    Posted 11 months ago #

    I have created a problem for myself, and would be grateful if anyone can help me around it.

    I have changed the basic WP setting of the number of post per page to 50, by adding this in my theme.
    $query->set( 'posts_per_page', '50' );

    However, it overwrites the "List Category Posts" post count command.
    ie: numberposts=x will show 50 posts no matter what number I use for x.

    I needed the larger number to get more search results showing that the WP default, which appears to be 10, with any more on more pages.

    But I also want to control the post numbers when I use "List Category Posts"

    I amended my post per page so that "WP Custom Search" would return more than the default per page, as I needed all results to show, some of my results need up to about 50.

    Any suggestions.

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.