# How to Add Shortcode to WordPress

> To add a shortcode in WordPress, navigate to Pages, edit your chosen page, and click the add icon. Search for and select the Shortcode block, enter your code into the block, and click Save to preserve your changes.

Canonical: https://livedemo.ai/tutorials/how-to-add-shortcode-to-wordpress/
Apps: WordPress
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a2ec5d673bd5aa8e60d6b/preview?step=1

## Steps

1. Navigate to your 'Pages'.
2. Choose your preferred page and click the ellipsis icon. Select 'Edit'.
3. Click the add icon located at the upper left side of your site.
4. Go to the search bar and search for 'Shortcode'.
5. Select 'Shortcode' and add it to your site.
6. Once you have added your shortcode block, enter the code.
7. Click 'Save' to save changes.
