Media Shortcodes

Avada has several built in short codes to manage your media. Youtube and Vimeo videos can be used all throughout the site and are all fully responsive. Images and videos can open in a lightbox, and you can use Soundcloud for all your audio files. All of this is easily accessed via built-in shortcodes.

Youtube Shortcode

The Youtube Shortcode allows you to display videos from Youtube by simply entering the video ID. This shortcode is fully responsive and allows you to indicate the width and height it will display in. This shortcode also gives you the option to autoplay the video, and to add additional API parameters.

Lightbox Shortcode

  • title – the custom description text that will be displayed inside the lightbox.
  • href – The URL path of the image, video or website you want to open in the lightbox.
  • data-rel – Must stay as prettyPhoto for the lightbox to work.
  • src – The URL path of the small image that will trigger the lightbox.
  • alt – The custom alternative title text that will show up in the lightbox.
  • class – Add a custom class to the wrapping HTML element for further css customization.
  • id – Add a custom id to the wrapping HTML element for further css customization.

Youtube Shortcode

  • id – The id of the video you want to insert. For example, the Video ID for http://www.youtube.com/LOfeCR7KqUs is LOfeCR7KqUs.
  • width –  Accepts a pixel value or a percentage to set the width. For example, 1px, or 50%. Leave Blank for full width.
  • height –  Accepts a pixel value or a percentage to set the height. For example, 1px, or 50%. Leave Blank for full width.
  • autoplay – Can be one of these values: yes, or no. This will enable or disable autoplay.
  • api_params – An additonal vimeo video paramter option.
  • class – Add a custom class to the wrapping HTML element for further css customization.

Join The 100,000+ Satisfied Avada Users!

BUY AVADA NOW!