Embed Shortcode

The RockPress Embed shortcode is provided as an alternative for times when you are not using the block editor.


[rockpress_embed url="https://rock.yourwebsite.com/page/56"]

Shortcode Parameters

  • url (string) – The URL of the page that you want to embed.
  • background-color (string) – The background color for the embedded page.
  • pass-query-string (boolean)true or false. Pass the query strings from the parent page to the embedded page. Default is false.
  • css (string) – CSS to inject into the embedded page.
  • align (string) – Valid values are wide, full, left, or right. It is up to your theme to provide styles for these values.
  • class (string) – The CSS class name to give to the container.