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

My Shortcodes

外掛說明

Build custom shortcode elements or download and install shortcodes made by other My Shortcodes users.

Highly flexible shortcode builder environment. dedicated areas for template view, javascript input, custom PHP library, external/CDN css and javascript sources.
This enables you to render the page or posts with the requires scripts and styles to be placed where it belongs. not all in the shortcode replace area.

IMPORTANT: version 2 is not compatible with 1.9.2 exported .CE files. If you have exported and saved .ce shortcodes. Please import them before upgrading. once upgraded, the shortcodes will be converted. you can then export the converted elements to .MSC files for safe keeping.

on GitHub

Documentation

螢幕擷圖

  • You admin panel. Manage, edit, activate & export elements and shortcodes.
  • View a summary of your element for easy reference.
  • Element settings - with live preview.
  • Add external and WordPress provided librries for CSS and Javascript.
  • Clean editor with custom syntax hightlighting on built in tags like [loop] and [if] and your attriburtes in {{att}} tags.
  • Create dedicated widgets, with custom config panels for your attributes.

常見問題集

Please ask questions in the support forum.

Installation Instructions
  1. Upload my-shortcodes folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Navigate to the My Shortcodes menu item and start creating your own shortcodes.

使用者評論

2016 年 9 月 3 日
This plugin is so extremely essential to my website that I wouldn't be able to live without it! I was easily able to create dozens of shortcodes that dramatically shorten the length and complexity of my posts and pages so that editing them and adding new products is fast and simple. By creating multiple shortcodes that I stack into templates with blank areas designed for adding unique text and images I can create new pages with all the essential elements in a flash and make widespread changes to the stylistic coding that effects all uses of that shortcode but not the content itself. When these changes instantly take effect over thousands of individual affiliate products I am so grateful for the use of this plugin because it saves me hundreds if not thousands of hours manually updating each page.
閱讀全部 13 則使用者評論

參與者及開發者

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

參與者

將〈My Shortcodes〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

2.3

  • Updated for WP 3.9+

2.06

  • some bug fixes that where annoying me.

2.05

  • improved the rendering of the [if attribute][/if] short tags in html templates.

2.04

  • Swapped out the old MSC file for json import. This correct a bug that caused broken imports and extends compatibility with Caldera Engine.

2.03

  • improved cache cleanup

2.02b

  • Small fix for placing WordPress admin notices neatly as not to mess up the interface.

2.02

  • Fixed a bug that caused elements to revert to type “shortcode” on edit.

2.01

  • Fixed the shortcode inserter to not insert blank attributes
  • Added a check for attributes before attempting parsing
  • Added a check for confirming the existance of a cache file before attemting to clear it
  • Minor Bug Fixes

2.0

  • Complete rebuild of the core system
  • Complete editor overhaul to be inline with the more advanced Caldera Engine (pro version)
  • Added dedicated widget element types
  • Improved shortcode insert builder
  • Dramatic overhaul in the shortcode detection and element insertion on page renders.
  • Improved chaching of scripts and codes.

1.9.2

  • Added in a check to see if a cache file actually does exists prior to trying to delete it. sigh. sorry I missed this. But its fixed now.

1.9.1

  • CSS is now saved to a cache file and linked in the headers. Going to let it run for a while to see stability. Once no reported problems, I adding it to JavaScript as well.
  • Added a better instanceID. Using the shortcode multiple time on a page or post will each get a unique value for {{id}} dynamic tag. Great for giving elements a unique ID.
  • Added a check to not include code from the PHP tab multiple times. This should prevent the “Fatal error: Cannot redeclare” PHP error.
  • Took the jQuery document.ready() out of the javascript output to remove the jQuery requirement.
  • Unfortunately, I could not get Multi-site compatability in yet (not really complex, just a lot of restructuring.), but that is scheduled for the next update. Sorry 🙁

1.9

  • html is properly escaped before going into the code editor so using tags wont break it.

1.8

  • Fixed a bug that prevented CSS and JS from rendering if a page with a shortcode is placed as the home page.

1.7

  • Fixed a bug that messed up utf-8 characters.

1.6

  • Description text for inserting a shortcode without any attributes. changed to sound less like an error.
  • Corrected an error that prevented running shortcodes on the home page

1.5

  • Corrected a bug that prevented PHP from rendering on some pages.
  • Fixed a bug that allowed prevented the footer scripts from running.

1.4

  • Added correction to the attribute access in CSS and Javascript.

1.3

  • Improved the shortcode detection to load all scripts.
  • Added another screenshot that explains the rendering process.
  • Added a tab in admin that links to the explain screen.
  • Added PHP execution in javascript and CSS tabs. (Yup, dynamic CSS and javascript!).
  • Added an con to the admin menu item.

1.2

  • Added an insert shortcode button to the post editor.

1.1

  • Added attribute codes to javascript panel so you can use attributes in output scripts as well.
  • Fixed a bug that reverted the external javascript library to be placed in footer on edit.

1.0

  • Initial Release