Effortless Shortcode Insertion

外掛說明

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.

安裝方式

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.

常見問題集

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.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Effortless Shortcode Insertion〉的開發相關工作。

參與者

將〈Effortless Shortcode Insertion〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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.