JoeHana
2/19/2015 - 10:40 PM

wpCasa: Place Listing Details below Listing Excerpt (on Listing Preview)

wpCasa: Place Listing Details below Listing Excerpt (on Listing Preview)

<?php

/**
 * Place Listing Details below Listing Excerpt (on Listing Preview)
 */

add_action( 'init', 'wps_0018' );

function wps_0018() {
	
    remove_action( 'wpsight_listing_title_after', 'wpsight_do_listing_details_overview' );
    remove_action( 'wpsight_widget_listing_title_after', 'wpsight_do_listing_details_overview' );
	
    add_action( 'wpsight_listing_content_after', 'wpsight_do_listing_details_overview' );
    add_action( 'wpsight_widget_listing_content_after', 'wpsight_do_listing_details_overview', 10, 2 );

}