Results 1 to 1 of 1

Thread: Maximum number of search results?

  1. #1
    Thread Starter
    Expired Customer wolstenholme13's Avatar
    Join Date
    Jul 2012
    Location
    United Kingdom
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Maximum number of search results?

    I am trying to set a "Maximum" for the number of search results received when a user searches for something using the search boxes in the header. At the moment, I can see there is the option to set "Maximum number of results PER PAGE" but I need to set a "Maximum Number of Results!"

    Where would this be done please?

    I am looking in /includes/views.php where I can see the settings for "class VA_Listing_Search extends APP_View" and the options to "$wp_query->set( 'posts_per_page', $va_options->listings_per_page );" - I need to know if there is a way to add to this to only show the latest 50 results and nothing more.

    Help!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Title maximum number of characters
    By leda88 in forum ClassiPress General Discussion
    Replies: 4
    Last Post: June 1st, 2012, 10:08 AM
  2. Changing the size of listings on search results page to fit in a large number
    By lausha in forum ClassiPress General Discussion
    Replies: 1
    Last Post: December 22nd, 2010, 07:55 AM
  3. Title maximum number characters Ver.3.0.4
    By kittycat in forum ClassiPress General Discussion
    Replies: 1
    Last Post: October 12th, 2010, 01:13 AM
  4. Maximum Number of Custom Fields?
    By gomeetpete in forum Report ClassiPress Bugs
    Replies: 8
    Last Post: September 23rd, 2010, 03:07 AM