(+84) 463.28.7979

Auto Embeds

WordPress is so rich that I still am learning things it can do. Automatic embedding of media is one. For media residing on various sites, you only need to include the ULR to that site to have it display in your posts. There is also an [ embed ] shortcode that lets you control the size. The full reference to supported sites and other info is found on the WP Embeds page.

The following video uses the ‘embed’ shortcode to specify a size, and then simply the YouTube share url:

The code to do that is simply:


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>