Change description and attributes order

Is it possible to show description in between attributes?

For example,


type:hotel
room:1
description ← here
address:----


I tried this code snippet and it moves the description order but it doesn’t work to put it in between.

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

I tried the attribute order according to this post
it worked on editing page but not the listing page.

https://community.hivepress.io/t/move-the-description-field-to-top-of-form/2205

What am i missing?
Thank you in advance!!

Hi,
Sorry, there’s no simple code snippet for this, it would require a custom implementation.
Because in the content and sidebar, only 1 area is displayed, between the attributes of the descriptive need a minimum of 2 areas where the content is, but we plan to add the ability to create custom areas.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.