Support » Fixing WordPress » Vimeo embed in my shortcode breaks the page

  • I’ve developed a shortcode to inject data onto a page from a database record based on a querystring ID. One of the elements is a vimeo video. I get the 9-digit vimeo id and wrap it in the appropriate iframe code. When the page renders, anything after the vimeo video does not appear on the page. It appears the vimeo iframe is either a) breaking my shortcode or b) is conflicting with the Divi theme and pagebuilder I’m using. Any assistance is greatly appreciated.

    Vimeo iframe portion of shortcode return value:
    <iframe src="'.$video_value.'" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen="" width="640" height="360" frameborder="0">

    The page I need help with: [log in to see the link]

  • The topic ‘Vimeo embed in my shortcode breaks the page’ is closed to new replies.