WordPress shortcodes are small pieces of code that can accomplish complex blogging tasks and contributes in making blogging easier for you. To create a shortcode, switch to html editor and type the shortcode enclosed in brackets like You can also attach attributes to shortcodes, like Shortcodes can also be used to embed content, like 1.