這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Dynamic Shortcode Widget for Elementor

描述

Dynamic Shortcode Elementor provides an easy to use interface for managing attributes for your shortcode.

What is Dynamic Shortcode Widget

Why you have to use your custom shortcodes so confused like [MyShortcode name=”John Doe” slogan=”"Simplicity is king"”]

With Dynamic Shortcode Widget for Elementor plugin you can just copy the shortcode name, attributes and its data to manage them all.. And now you can input your content in textarea or select your image from the media gallery. Also, you are no longer to concern about the html escape in your shortcode start from today.

You may find more on Github

Limits

This plugin does not support enclosing shortcode!

Privacy and GDPR

This plugin does not collect or process any personal user data.

螢幕截圖

安裝

  1. Put the plugin folder into [wordpress_dir]/wp-content/plugins/
  2. Go into the WordPress admin interface and activate the plugin
  3. Optional: go to the options page and configure the plugin

常見問題

How to create a custom shortcode

function custom_shortcode( $atts ) {
$attributes = shortcode_atts( array(
'name' => 'world'
), $atts );
return '<h1>Hello ' . $attributes['name'] . '!</h1>';
}
add_shortcode( 'helloworld', 'custom_shortcode' );

How to use the shortcode

Shortcode: [helloworld]
Outputs “Hello world!”

Shortcode: [helloworld name=”Bob”]
Outputs “Hello Bob!”

評價

2023年11月23日
Thank you for creating this! It works perfectly with Elementor CMS, which is exactly what I needed. My client has asked me to create some customized layouts and widgets. I was feeling overwhelmed at the thought of creating them individually. Fortunately, I finally discovered this plugin. You are a genius! Keep up the great work!
閱讀全部1個評價

貢獻者及開發者

“Dynamic Shortcode Widget for Elementor” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

修改日誌

0.3.0

  • Added WYSIWYG option for the type of input fields

0.2.1

  • Escape only with qoute characters instead of html

0.2.0

  • Added URL option for the type of input fields

0.1.0

  • Plugin announced
  • Options for the type of input fields