Forums

number of posts shown on frontpage and search (3 posts)

  1. boneless
    Member
    Posted 7 years ago #

    Hi all,

    after upgrading to 2.0 I have the following quesion. In the control panel the default number of posts shown on the frontpage is 10. But when someone does a search for a word, you also only get 10 posts, without an option to 'show next 10 results'. Is there a way to change this or just let the search show all posts containing the words searched for?

    http://www.boneless.nl

  2. boneless
    Member
    Posted 7 years ago #

    anyone please?

  3. moshu
    Member
    Posted 7 years ago #

    1. The number of posts set is applied to ALL the WP pages/views.

    2. You don't have next/prev even on your index...

    3. If there is no search.php template file in a theme to display the search results - WP will use the index.php ==> see above #2.
    (useful: Template_Hierarchy

    4. You can use this plugin:
    http://mattread.com/archives/2005/03/custom-query-string-plugin/
    to have different number of posts in different views, though you will still need to implement the post_nav_link in your index and/or search template.
    Template_Tags/posts_nav_link

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.