A bit confused by demo. Can users or admin simply add youtube link to display?

  • mark
    Senior Member 183 points
    February 6, 2020 at 2:48 pm

    On each listing to clarify? Not to add an image per se, just the youtube video link and it will display properly? Thannks in advance guys!

  • JamesD
    Super Guru 1,489 points
    February 7, 2020 at 1:12 am

    For single videos there is a [VIDEO] shortcode that can be used, however it uses the default listing video and the video id cannot be changed in the shortcode.

    The easiest/quickest way may be to create a custom shortcode to handle something like that. 😉

    Here are the available attributes for the VIDEO shortcode:

    • height
    • width
    • post_id
    • image
    • autoplay

    Example usage of it would be like…
    [VIDEO height='300' width='200' autoplay='true']

  • mark
    Senior Member 183 points
    February 7, 2020 at 11:31 am

    As always, thank you JamesD for your tremendous help and insight. It’s hard working folks like you that help take PP to a whole new level of understanding and deployment for users. Have a great day and thanks again for your consisteantly superior help! Mark:-)

Viewing 3 posts - 1 through 3 (of 3 total)

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes