Home Support Extensions Social Links Order of Attributes in Sidebar on Listings Page – Social Links

Order of Attributes in Sidebar on Listings Page – Social Links

  • Author
    Posts
  • darossi

    Hello, how can I make it so that the social links appear above the other attributes in the sidebar?

    Thanks

    ihor developer

    Please try using this PHP snippet:

    add_filter(
    	'hivepress/v1/templates/listing_view_page',
    	function( $template ) {
    		return hivepress()->helper->merge_trees(
    			$template,
    			[
    				'blocks' => [
    					'listing_social_links' => [
    						'_order' => 5,
    					],
    				],
    			]
    		);
    	},
    	1000
    );
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.