Adjusting Custom Field Placement on Vendor Profile Page

I’m sorry for the delay. The recent code snippet you posted should be functional, if you use vendor categories as types, please try this code snippet to make different changes to the vendor page based on the vendor type (replace 123 with the category ID):

add_filter(
	'hivepress/v1/templates/vendor_view_page',
	function( $template, $object ) {
		$vendor = hivepress()->request->get_context( 'vendor' );

		if ( $vendor ) {
			if ( in_array( 123, $vendor->get_categories__id() ) ) {
				$template = hivepress()->template->merge_blocks(
					$template,
					[
						'page_content' => [
							'blocks' => [
								'demo_custom_field' => [
									'type'    => 'content',
									'content' => $vendor->get_my_custom_field(),
									'_order'  => 1,
								],
							],
						],
					]
				);
			} else {
				// other vendor type
			}
		}

		return $template;
	},
	10,
	2
);

Hope this helps