Linux 软件免费装
Banner图

ClearCode Shortcode Library

开发者 mflynn
cngann
Clear_Code
bmcswee
更新时间 2014年9月24日 18:44
PHP版本: 2.5 及以上
WordPress版本: 4.0
版权: GPLv2 or later
版权网址: 版权信息

标签

shortcodes tool permalink link title tools tab tabs utility background slide hover utilities spoiler toolkit sliders clear

下载

1.1.1 1.2 1.3 1.4 1.5 1.6 2.0 2.1 2.2 2.3.1 2.3.2 2.3.3 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.8 3.8.01 3.8.02 3.8.03 3.8.04 3.8.05 3.8.06 3.8.07 3.9 4.0 1.1 2.3 3.7

详情介绍:

Shortcodes used by ClearCode in their WordPress sites. How to read this guide There are so many different shortcodes in this plugin that it's impractical to list out all of the seperate use-cases that are available The following shortcode declaration is an annotated guide describing how to read this documentation Shortcode: [SHORTCODE_NAME] This is the base shortcode that is being described Parameters -- A list of the different parameters (eg: [SHORTCODE_NAME PARAMETER1="VALUE" BOOLEAN1="Y"]) Short Codes Shortcode: [splits] Parameters Shortcode: [one_half] Parameters Creates an element that is one-half of it's container's width. Required Parent: [splits] Shortcode: [one_third] Parameters Creates an element that is one third of it's container's width. Required Parent: [splits] Shortcode: [two_thirds] Parameters Creates an element that is two thirds of it's container's width. Required Parent: [splits] Shortcode: [one_fourth] Parameters Creates an element that is one fourth of it's container's width. Required Parent: [splits] Shortcode: [two_fourths] Parameters Creates an element that is two fourths of it's container's width. Required Parent: [splits] Shortcode: [three_fourths] Parameters Creates an element that is three fourths of it's container's width. Required Parent: [splits] Shortcode: [one_fifth] Parameters Creates an element that is one fifth of it's container's width. Required Parent: [splits] Shortcode: [two_fifths] Parameters Creates an element that is two fifths of it's container's width. Required Parent: [splits] Shortcode: [three_fifths] Parameters Creates an element that is three fifths of it's container's width. Required Parent: [splits] Shortcode: [four_fifths] Parameters Creates an element that is four fifths of it's container's width. Required Parent: [splits] Shortcode: [clear] Parameters Creates an element that does clear:both Shortcode: [more] Parameters Aliases Shortcode: [tabs] Parameters Creates a tabbed area. Shortcode: tab Parameters Creates a tab Required Parent: [tabs] Shortcode: [slider] Parameters Creates a slider container Shortcode: [slide] Parameters Makes a slide. Required Parent: [slider] Shortcode: [hover] Parameters Creates an area that toggles between two different content ares on hover Shortcode: [on] Parameters designates the content displayed when there is no hover. Required Parent: [hover] Shortcode: [off] Parameters designates the content displayed when there is hover. Required Parent: [hover] Shortcode: [background] Parameters creates a div with a background you set Shortcode: [flashcard] Parameters click to rotate from [front] to [back] Shortcode: [front] Parameters Front side of the FlashCard Required Parent: [flashcard] Shortcode: [back] Parameters Back side of the FlashCard Required Parent: [flashcard] Shortcode: [linkmap] Parameters Image map replacement using divs. Use one image for the background, then alter that image for all of the hover changes. Create a [maplink] for each clickable area in the image. A clickable area in a linkmap Required Parent: [linkmap] Shortcode: [link] Parameters Get a link Shortcode: [title] Parameters Get the title for a page/post/etc... in your WordPress install Shortcode: [buttons] Parameters Designate a area that holds buttons Shortcode: [button] Parameters Create a div that's a button so jQuery can be used on it Full Examples Splits [splits] [one_fourth first="Y"] Hello [/one_fourth] [one_fourth] World! [/one_fourth] [one_fourth last="Y"] I am Mike [/one_fourth] [/splits] Tabs [tabs] [tab title="Tab 1"] Content [/tab] [tab title="Tab 2"] Content 2 [/tab] [/tabs] Link & Title This will contain a link to the page whose id is 5 and it's title: [link id="5"][title id="5"][/link] Future Plans Known Issues

安装:

  1. Upload cngann-shortcodes to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress

屏幕截图:

  • A tab shortcode in action
  • More link closed
  • More link open
  • 50/50 split

升级注意事项:

3.3 Bug-fix for the severe error that was happening in 3.0 - 3.2 You'll want the background shortcode... trust me

更新日志:

4.0 Added better documentation Added a "How to read" section to the documentation. Better format for documenting the required parent shortcode for shortcodes that require them. Spell checked the Documentation. 3.8.07 Added fifth splits 3.6 Fixed background display bug 3.4 3.3 3.0 2.3 2.2 2.0 1.6