Join our new community forum for support & discussion

Join Now

Home Support Themes ExpertHive Geolocation Map position

Geolocation Map position

  • Author
    Posts
  • Alf

    Hello,

    I am using the Geolocation Extension (which is quite good actually). I would like the Map to appear on before the rest of filtering parameters when performing a search (on top but still in the left collumn). Is there a code to arrange that order?

    Also, is it possible to include a Map with all the Listings unfiltered in the Home Page?

    Thank you very much.

    ihor developer

    Hi,

    1. You can try using this snippet:

    add_filter(
    	'hivepress/v1/templates/listings_view_page',
    	function( $template ) {
    		return hivepress()->helper->merge_trees(
    			$template,
    			[
    				'blocks' => [
    					'listing_map' => [
    						'_order' => 5,
    					],
    				],
    			]
    		);
    	},
    	1000
    );

    2. There’s no such option at the moment.

Viewing 2 posts - 1 through 2 (of 2 total)

New Reply

This forum has been archived and is no longer accepting new posts or replies. Please join our new community forum for support & discussion.