skip to Main Content
< All Articles
Print

rem_property_listing_styles

This filter can be used to register custom listing styles that you created manually.

Arguments

  1. Styles [Array]

Register Custom Listing Style

Add the following code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Code snippets plugin. Avoid adding custom code directly to your parent theme’s functions.php file as this will be wiped entirely when you update the theme.

Note: You must replace 10 with your style file name and can use any title replacing My New Listing Style.

add_filter( 'rem_property_listing_styles', 'rem_add_listing_style', 10, 1 );

function rem_add_listing_style($styles){
	$styles['My New Listing Style'] = '10';
        return $styles;
}

 

Quick Navigation
Back To Top