Free Directory, Listing & Classifieds WordPress Plugin 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

    ihordeveloper

    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.

Subscribe

Sign In

Don't have an account? Register

Forgot password?

Register

Already have an account? Sign In

Forgot password?

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.

Black Friday is coming! Get 25% off any purchase with FRIDAY2020 coupon code until Friday, November 27.