Move category tag over listing picture

Here’s a snippet that displays categories on listing primary cards by @andrii

add_filter(
	'hivepress/v1/templates/listing_view_block/blocks',
	function( $blocks, $template ) {
		return hivepress()->helper->merge_trees(
			[ 'blocks' => $blocks ],
			[
				'blocks' => [
					'listing_content'         => [
						'blocks' => [
							'listing_category' => [
								'type'   => 'part',
								'path'   => 'listing/view/listing-categories',
								'_order' => 5,
							],
						],
					],

					'listing_details_primary' => [
						'blocks' => [
							'listing_category' => [
								'type' => 'content',
							],
						],
					],
				],
			]
		)['blocks'];
	},
	1000,
	2
);

This plugin places the category tag within the listing description.
How can we move it to be displayed for an example on the top right of the listing image or over the separator at the middle of the card (between image and description)


I thought this would help to make it clear where i’d like to shove in the category tag :smiley:

Hi,

Unfortunately, there’s no such feature, it would require a custom implementation. If you are familiar with coding or have a developer, we can provide general guidance.

No snippet help?