Support » Plugins and Hacks » Maximum number of posts displayed

Maximum number of posts displayed

  • Hi all
    You’ve said to add this code to limit the amount of posts:

    // Defining widget options.
    $args = array(
    ‘post_limit’ => 5,
    ‘post_random’ => ‘yes’,
    ‘category_include’ => 3, 7

    // Function call.

    1) where do I add this code? which php file? and 2) If I want them in date order what should I change the post_random too, I presume No?

    Many thanks


  • The topic ‘Maximum number of posts displayed’ is closed to new replies.