- Create “custom shortcodes” easily and use them within WordPress posts
- Use any name for the created shortcode (ex:
- Use any kind of HTML as Shortcode content.
- Parameters can also added to HTML (ex:
<strong>%%mytext%%</strong> [sc name="testing" mytext="hello"])
- Visual editor for adding shortcode contents.
- Global tinyMCE button available in the editing toolbar for inserting created shortcodes.
- Globally disable the shortcode when not needed.
- Can disable the shortcode, showing it to admins.
An example usage
- Create a shortcode named “adsenseAd” in the Shortcoder admin page.
- Paste the adsense code in the box given and save it.
[sc name="adsenseAd"]in your posts and pages.
- Tada !!! the ad appears in the post.
- Using this idea, shortcodes can be created for frequently used snippets.
- You can also add parameters (like
%%id%%) inside the snippets, and vary it like
[sc name="youtube" id="GrlRADfvjII"]
- This plugin will be hugely useful to all !!!
DONATE: If you like this plugin, you can show your support by donating some amount.
Fix for WordPress 4.4 issue
Starting Shortcoder 3.4.1 the syntax for shortcoder is [sc name=”your shortcode”]. This is in effect to the shortcode API related changes made in WordPress core which made old the syntax unrecognizable. Version 3.4.1 automatically recognizes the old syntax only in posts where the shortcode is inserted directly and not in widgets or in drag and drop themes modules. Those areas need to be manually replaced from old
[sc:my_shortcode] to the new
[sc name="my_shortcode"] syntax. Please use the below resources for any queries.