Using built-in shortcodes

WordPress core contains set of built-in shortcodes mainly focused on adding various content types to posts and pages. The content creators can use these shortcodes directly on posts, pages, or any supported location without the need for any modifications. Let’s take a look at the existing shortcodes:

  • Audio: It used for embedding and playing audio files
  • Caption: It used for adding captions to content. Mainly used for images
  • Embed: It used for embedding content from different sites supported by WordPress
  • Gallery: It used for displaying image galleries by passing the image ID's
  • Video: It used for embedding and playing video files
  • Playlist: It used for displaying collection of audio and video files

As you can see, ...

Get WordPress Development Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.