How to embed a video on the listing page?

My vendors want to add a video of them showing their activity. What is the best way to do this?

I was able to do this - next question is how to place it after the description?

There are 2 ways to embed videos:

  • Adding the video URL to the listing description, e.g. add it to the end of the description
  • Using a custom Embed attribute, but in this case, attributes appear only in 2 pre-defined areas on the listing page

can I get the embed after description? or change the size to keep in on the primary page?

Yes, please try to add it to the end of the description or it is possible to use this PHP snippet

	function( $template ) {
		return hivepress()->helper->merge_trees(
				'blocks' => [
					'page_content' => [
						'blocks' => [
							'custom_listing_video' => [
								'type' => 'content',
								'content' => 'Please put your embeded code or link here',
								'_order' => 61,
1 Like

Its still not working after I added the php snippet

Please try to embed the video into the listing description without a PHP snippet after all content in the listing description. It was tested locally and seems to be ok

Thank you - that works!

I have added embed video to the listing description and appears on Wordpress but does not appear on listings after update

It seems like you have put embedded code but please try to put just the video URL in the text

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