rem_agent_page_slider_args

This filter can be used to modify the properties that display in a slider on Agent Template.

Arguments

  1. Query Args [Array]

Example

By default it renders 10 properties, suppose you want to display only 5, you can use the following code in the theme’s functions.php file.

add_filter( 'rem_agent_page_slider_args', 'rem_agent_properties_count', 10, 1 );

function rem_agent_properties_count($query){
	$query['posts_per_page'] = 5;
	return $query;
}

 

Previous rem_ribbon_text
Next rem_agent_page_slider_style