Nid yw’r ategyn hwn wedi cael ei ddiweddaru ers 3 ryddhad mawr. Efallai nad yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio gyda fersiynau mwy diweddar o WordPress.

Dynamic Shortcode

Disgrifiad

Dynamic Shortcode is a 100% FREE plugin that allows users to make any shortcode asynchronous in one simple step, meaning it won’t block the WordPress page render at all. Dynamic Shortcode has a simple and user friendly interface, making it extremely easy to use.

Dynamic Shortcode can either replace every occurence of a given shortcode without your intervention (currently in beta, the feature is called Dynamic Replace), or you can change every shortcode yourself in one simple step:

  • Find an occurence of your shortcode, and replace your shortcode’s name with wp_dynamic and add a parameter named shortcode with your shortcode’s name as a value. For example:

    [myShortcode]

    becomes

    [wp_dynamic shortcode=”myShortcode”]

But wait! That’s not all: You can even add custom placeholders for each individual shortcode. Placeholders are displayed when Dynamic Shortcode is loading a shortcode asynchronously.

Dynamic Shortcode is packed with tons of other useful features.

For each individual shortcode on your site, here’s everything Dynamic Shortcode can do for you:

  • Make any already existing shortcode asynchronous automatically or in a single step

  • Add custom placeholders for when your Dynamic Shortcode is loading your shortcode

  • Run a validation function before executing your shortcode when making the asynchronous call

  • Choose which GET parameters to ignore when doing the asynchronous call

  • Choose which POST parameters to ignore when doing the asynchronous call

  • Choose which shortcode attribute to ignore when doing the asynchronous call

Lluniau Sgrin

  • Dynamic Shortcode – Shortcodes
  • Dynamic Shortcode – Placeholders
  • Dynamic Shortcode – Global Settings
  • Dynamic Shortcode – Keep It Alive
  • Dynamic Shortcode – Notice
  • Dynamic Shortcode – Help

Gosod

  1. Upload the plugin files to the /wp-content/plugins/dynamic-shortcode-ajax directory, or install the plugin through the WordPress plugins screen directly.

  2. Activate the plugin through the ‘Plugins’ screen in WordPress

  3. Use the Shortcodes admin menu to configure and use the plugin

Cwestiynau Cyffredin

Where is the menu located?

Go in your wp-admin page. Look at the admin menu on your left, you should see a tab “Shortcodes” with the Dynamic Shortcode logo.

If I use the Dynamic Replace setting, will it break my site?

Dynamic Replace will not permanently change your html pages: it works by replacing the shortcodes dynamically before each page load. Thus, it will not overwrite your html pages in any way.

Does Dynamic Shortcode sanitize, validate and/or escape my data?

Dynamic Shortcode act as a black box proxy: It takes the very state of the request while it tries to call the original shortcode, saves it, then reload it when the AJAX call is made to execute the original shortcode. Since Dynamic Shortcode is a black box proxy, it does not alter the original request in any way. While make sure that no PHP remote code execution occur while the parameters are sent through the Dynamic Shortcode proxy, it is your responsibility to validate, escape and sanitize any parameter sent to your shortcode. It is also your your responsibility to make sure that the web request is legitimate.

Adolygiadau

There are no reviews for this plugin.

Contributors & Developers

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

Cyfranwyr

Translate “Dynamic Shortcode” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.