该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.

屏幕截图

  • Widget on elementor

安装

  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