Syntax of shortcodes created by shortcoder
Shortcodes created by shortcoder follow the standard WordPress shortcode syntax. They have the name
sc and a
name attribute. The
name attribute is used to identify the shortcode content to execute.
If custom parameter placeholders are used in shortcode content, then the custom parameters can be used as attributes for the shortcode to replace the placeholder with the value in the content as provided in the shortcode.
[sc name="your-shortcode-name" param1="value" param2="value"]
- You can install the plugin via WordPress administration page or by uploading the
- Navigate to WordPress plugin administration page and activate the plugin.
- Shortcoder will be activated and the shortcoder administration page link will be on the left navigation bar below "Comments" page.
Creating and using shortcodes
- To create or edit shortcodes, navigate to shortcoder administration page which can be seen on the main left navigation menu.
- In the shortcode create/edit page, enter the desired name of the shortcode. This is used to identify the shortcode and it is the one provided as value for the shortcode
nameattribute. Allowed characters are alphabets, numbers, hyphens and underscores.
- Enter the content of the shortcode in the content box. Please see below note for the shortcode content.
- In "shortcode settings" panel you can configure various shortcode settings.
- You can finally create/edit the shortcode by clicking "Publish" on the top right side panel.
- This shortcode can now be used in posts/pages/widgets or places where shortcode can be executed like
- While editing posts/pages the "Insert shortcode" toolbar icon can be seen in the classic editor and shortcoder block in Gutenberg editor to select and insert shortcode within the post editing page itself.
Buy me coffee !
If you like this work and found this useful buy me a coffee ! your donation will motivate me to develop and support this work.