Free delivery across India · Handcrafted marble home décor · GST invoice with every order
WordPress plugin
Shortcoder Pro
Shortcoder Pro adds editing and management utilities to Shortcoder’s WordPress shortcode workflow. Save HTML, JavaScript, CSS, or other supported code as a named shortcode, then insert it in posts, pages, or another location that works with shortcodes. When the page is displayed, WordPress replaces the shortcode with its saved content. Update the shortcode once to change that content wherever it is used.
Shortcoder Pro adds editing and management utilities to Shortcoder’s WordPress shortcode workflow. Save HTML, JavaScript, CSS, or other supported code as a named shortcode, then insert it in posts, pages, or another location that works with shortcodes. When the page is displayed, WordPress replaces the shortcode with its saved content. Update the shortcode once to change that content wherever it is used.
Tools for editing and managing snippets
- Custom editor: Edit shortcode content with the block editor or page builder add-ons such as Elementor and WPBakery.
- WPML translation: Translate shortcode content with WPML for multilingual processes.
- Revisions: Keep revisions of shortcode content.
- Locate shortcode: Search posts and pages to find where a shortcode is used.
- Extra footer code: Include additional code in the footer when a shortcode is used on a page.
These tools can help when a website reuses promotional blocks, embedded code, styled sections, scripts, or other snippets across multiple pages. Search for a shortcode’s placements before changing shared content, and use revisions or WPML translation where they fit the workflow.
Create a shortcode and place it
In the Shortcoder administration area, create a shortcode, give it a name, add its content, and save it. Then insert it in a post or page with a shortcode such as [sc name="my_shortcode"].
A custom parameter can vary part of a saved snippet for various placements. Add a placeholder such as %%id%% to the snippet, then supply its value when using the shortcode, for example [sc name="youtube" id="GrlRADfvjII"]. This keeps the rest of the snippet in one saved location.
In the block editor, use the Shortcoder block or toolbar button to select and insert a shortcode inline. The placement must support WordPress shortcodes for the saved content to appear. Shortcode content supports HTML, JavaScript, and CSS; PHP code is not supported.
