ihordeveloper

Hi,

This code snippet should work:

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

Please check the HivePress API reference in the docs, its pretty intuitive and you can customize basically anything (templates, forms, URLs etc) with actions and filters.

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.