Description for submit listing category page

Hi!

I added the option to open the category page and only after that all form fields are opened on the next page. listing_submit_category_page

Could you please provide a code snippet to add a description beneath the title on the listing_submit_category_page please?

Thank you

Hi,

Please try this PHP snippet:

add_filter(
	'hivepress/v1/templates/listing_submit_category_page',
	function( $template ) {
		return hivepress()->helper->merge_trees(
			$template,
			[
				'blocks' => [
					'page_content' => [
						'blocks' => [
							'custom_category_text' => [
								'type' => 'content',
								'content' => 'Your text here',
								'_order' => 9,
							]
						],
					],
				],
			]
		);
	},
	1000
);
1 Like

Thank you. Is it also possible to remove (remove, not only hide via css) the listing category field from the hp-template–listing-submit-details-page since it’s already chosen at the hp-template–listing-submit-category-page?

Thanks again

Sorry, this requires further customizations - while we sometimes help with simple snippets, this is beyond our support scope. If customizations are required for your site, please try customizing it using the collection of code snippets Search · user:hivepress · GitHub and other developer resources, or consider hiring someone for custom work https://fvrr.co/32e7LvY

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