Effortless Shortcode Insertion

Description

Effortless Shortcode Insertion is a lightweight WordPress plugin that allows you to create, manage, and insert custom shortcodes with ease. It includes a set of built-in shortcodes for common dynamic content and provides an intuitive interface to add your own.

Features:

Built-in shortcodes for current URL, page title, site info, user data, and more.
Add custom shortcodes via an admin interface.
Import/export shortcodes for easy migration.
Secure and sanitized inputs to ensure safety.
Translation-ready with support for multiple languages.

Arbitrary section

For support, please visit domclic.com or contact the author at daviddeflache@domclic.com.

Installation

Upload the effortless-shortcode-insertion folder to the /wp-content/plugins/ directory.
Activate the plugin through the ‘Plugins’ menu in WordPress.
Navigate to Settings > Effortless Shortcodes to manage your shortcodes.

FAQ

How do I use a shortcode?

Simply add the shortcode (e.g., [site_title]) to your posts, pages, or widgets where you want the content to appear.

Can I create my own shortcodes?

Yes! Go to Settings > Effortless Shortcodes and use the “Add New Shortcode” form to create custom shortcodes.

Are the shortcodes secure?

All inputs are sanitized and validated to ensure security and compatibility with WordPress standards.

Can I import/export shortcodes?

Yes, the plugin supports importing and exporting shortcodes in JSON format via the admin interface.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Effortless Shortcode Insertion” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.19

Removed wrong links

1.0.18

Renamed main plugin file to class-effortless-shortcode-insertion.php for PHPCS compliance.
Removed trailing whitespace in HTML form section.
Fixed equals sign alignment in save_shortcode method.
Replaced short ternary with full if-else in handle_shortcode method.

0.1.17

Fixed security warning for non-sanitized $_POST['shortcodes'].

0.1.16

Fixed security warning for non-sanitized $_POST['shortcodes'] by restructuring condition to avoid direct access before sanitization.
Ensured no sanitization warnings at line 316 or 318 for full PHPCS compliance.

0.1.15

Fixed security warning for non-sanitized $_POST['shortcodes'] by using isset for validation before access.
Ensured no direct superglobal access before sanitization for full PHPCS compliance.

0.1.14

Fixed security warning for non-sanitized $_POST['shortcodes'] by avoiding direct access in condition checks.
Improved input validation for submit_update to ensure PHPCS compliance.

0.1.13

Fixed security warnings for non-validated and non-sanitized $_POST['shortcodes'] input in save_shortcode method.
Added isset check for $_POST['shortcodes'] to prevent undefined index notices.

0.1.12

Fixed security warning for non-sanitized $_POST['shortcodes'] input before ! empty check in save_shortcode method.

0.1.11

Fixed security warning for non-sanitized $_POST['shortcodes'] input before is_array check in save_shortcode method.
Ensured early sanitization of shortcode data for full PHPCS compliance.

0.1.10

Fixed security warnings for non-sanitized $_POST['shortcodes'] input in save_shortcode method.
Improved early sanitization of shortcode data for better security compliance.

0.1.9

Fixed security warnings for non-sanitized inputs ($_POST['append_value'], $_POST['shortcodes'], $_FILES['import_file']).
Improved sanitization of form inputs for better security.

0.1.8

Fixed fatal error in handle_shortcode method causing site to break.
Resolved security warnings for non-sanitized and non-validated inputs ($_POST['shortcodes'], $_POST['elsci_nonce']).
Improved input validation and sanitization for better security.

0.1.5

Fixed security issues with input sanitization and validation.
Replaced parse_url with wp_parse_url for consistency.
Used gmdate instead of date for timezone-safe year display.

0.1.0

Initial release.