Custom listings template max result
-
Hi,
we’ve a custom LISTINGS template and we’d like to display just 5 locations. Changing max_results didn’t do anything within the code in function.php. Is there a way to change the query or the listing, so we would get just 5 results?
Note: This can be changed in the admin (and then it works with the max results set in the admin), but we would like to keep 50 results for the “general” map (and not to show just 5 results).
In function.php we use two filters, so if the change is possible within them, it would be great:
function custom_listing_template()
function custom_templates( $templates )Thank you!
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Custom listings template max result’ is closed to new replies.