Go to

Categories overview

Ad details page – [advert_single]

This shortcode renders the Ad details page, most of the time you do not need to use it as WPAdverts will take care of rendering the Ad details when needed, but if you are creating a website with a page builder like Divi, Beaver Builder, Elementor or similar, you might want to use this shortcode when designing a template for the “advert” Custom Post Type.

This shortcode is available since WPAdverts 1.5.8

Shortcode Parameters

  • post_id int (default null) – ID of the advert for which you wish to generate the details, usually you can leave it empty and the shortcode will detect the correct ID

Example Usage






Was this article helpful?