• Resolved Yahya Naveed

    (@yahyanaveed)


    This can’t be called as a CMS theme if one can’t even add a video in about or any other codable section. Any way to do it? I’ve tried everything, from using [wordpressYTPlugin][/wordpressYTPlugin] to <video>/<embed>/<object>/<iframe> tag. No use.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello there,
    In WordPress to add a video all you need to do is paste the video URL into the post editor but here you want to use a video in a section which is not support videos currently.
    Hopefully, they will provide this function in their next update.

    Hey,
    I have one solution for you just add the following code in your theme’s functions.php file

    $allowedposttags["iframe"] = array(
     "src" => array(),
     "height" => array(),
     "width" => array()
    );

    Now you will be able to add videos using <iframe> in about or any other text field section.
    Let me know if it works.

    Thanks

    Thread Starter Yahya Naveed

    (@yahyanaveed)

    Sorry for late reply, I was almost about to give up and switch to some other free alternative till I saw this. yes, its working on Chrome atleast. Thanks 🙂

    Glad I could help.

    Hello,

    I just noticed that I can’t add images in the post. The only image possible is the featured images.

    Do I have to add the code stated above for images too?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘How to add video?’ is closed to new replies.