Creating your first shortcode
Last updated
Last updated
Navigate to your shortcodes list: In your WordPress dashboard, go to Snippet Shortcodes > Your Shortcodes.
Create a new shortcode: Click Add via Full Editor in the top-right corner.
Name your shortcode: Enter a name — this will automatically generate the slug used in your shortcode.
Add your content: Use either the built-in WordPress editor or the HTML editor to add your desired content.
Save your shortcode.
Use your shortcode on a page: Copy the generated shortcode and paste it into the page where you want it displayed.