How do I allow more than 5 listings to be compared?

By default, the Compare Listings extension compares maximum 5 listings.

You can increase this using the following code:

/**
 * Filter max no. of listings allowed in compare list.
 */
function gd_snippet_compare_maximum_listings( $max = 5 ) {
	$max = 10; // Max number of listings allowed.

	return $max;
}
add_filter( 'geodir_compare_maximum_listings', 'gd_snippet_compare_maximum_listings', 10, 1 );<br>

You can use the Code Snippets plugin to add the code to your site.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.