Real Estate Manager v10.7.5 and v10.7.6 include a bunch of new features/enhancements and many other…
Modify Property Page Template in Real Estate Manager
You can edit Property Page Template in Real Estate Manager WordPress Plugin by following below steps.
- Create a copy of your theme’s page.php file
- Change the name of that duplicate file to single-rem_property.php
- Paste below code in the content area of that file. (keep get_header() and get_footer(), just replace the_content() function)
- Now go to Real Estate Manager Settings -> Template Settings -> Property Page Template, and set it to From Theme.
- Now you can make changes in the file single-rem_property.php without losing changes on update.
Inner Code of Template File
<?php if( have_posts() ){ while( have_posts() ){ the_post(); ?> <?php do_action( 'rem_single_property_slider', get_the_id() ); ?> <?php do_action( 'rem_single_property_contents', get_the_id() ); ?> <?php } } ?>
I tired using the above commands to make changes in the template, but when I created a duplicate page (single-rem_property.php), all the contents in it looks more wider making it as a full screen. Previously, it covered only the half screen, do you have any idea in changing it into original size as before.
There maybe some id or classes regarding the page.php that are missing. Try copying all wrapper classes from page.php file to that template file.
Hi there,
Can I have different templates depending on the property category?
Regards
Hi Agnes,
Please follow this
https://wordpress.stackexchange.com/questions/169831/custom-single-template-for-a-specific-category
of contact support@webcodingplace.com and we will assist you.
Regards