Jump to content

RETS PRO version 4.1.0 - Released Today

Recommended Posts

We have released the newest version 4.1.0 as of today.
* Important notes below to make sure that you are keeping up with all of the latest changes.

#1 - Template Changes.
(With this release you will need to make sure to do the following template edits so that your templates are working correctly.)

The following template changes are required now due to the fact that we have removed our global insert of these scripts and now only include them where the templates are actually calling for them - this will result in Better SEO Page Speeds and Scores!

Add the following code to the top of the templates listed below - or copy and paste from our newest default templates.
Note: ->  
replace the dynamic php path below if problem occurs with cache plugins.

// replace the dynamic php path below if problem occurs with cache plugins
$conf = \RPx\System\GetModuleConfig('MapSearch');
echo "<script type='text/javascript' src='https://maps.googleapis.com/maps/api/js?libraries=drawing%2Cplaces&key=".$conf['gmap_key']."'></script>";
echo "<script type='text/javascript' src='".$config['wpradmin_baseurl'].'/rpx/Modules/MapSearch/scripts/markerclusterer.js'."'></script>";
echo "<script type='text/javascript' src='".$config['wpradmin_baseurl'].'/rpx/Modules/MapSearch/scripts/oms.js'."'></script>";
echo "<script type='text/javascript' src='".$config['wpradmin_baseurl'].'/rpx/Modules/MapSearch/scripts/remote-map.js'."'></script>"; 

Template Files:

  • listing_detail.php
  • sc_templates/(all maps short code templates )


#2 - The following code needs to be added to your child themes function.php in order to get your listings indexed into google.

// Disable REST API link tag
remove_action('wp_head', 'rest_output_link_wp_head', 10);
// Disable oEmbed Discovery Links
remove_action('wp_head', 'wp_oembed_add_discovery_links', 10);
// Disable REST API link in HTTP headers
remove_action('template_redirect', 'rest_output_link_header', 11, 0);


And if you use Yoast then add this and  don't forget to watch our youtube video and match the listing details ID#.
https://www.youtube.com/watch?v=6smPGL4QQrQ&t )

function remove_wpseo(){
    if (is_page(330)) {
        global $wpseo_front;
            else {
              $wp_thing = WPSEO_Frontend::get_instance();

Next version 4.1.1 coming very soon!

We are working on a couple of new sets of "default templates" that will be coming out in January.
Here are a few other items that we are also currently working on:

  • #1 php 7.3 compatibility testing.
  • #2 php 7.4 compatibility testing.
  • #3 More x2crm integration and crossover compatibility.

You can expect to see more frequent updates as we're now doing multiple crossover compatibility testing and breaking out our modules into separate downloads again so that only the main core is all that will be updated via the plugin updater going forward in all future releases.


Cheers! ..... and have a Happy New Year!


Share this post

Link to post
Share on other sites