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

Genesis Shortcodes

外掛說明

This file creates all the shortcodes used throughout a site. While there is an array of shortcodes that are packaged with Genesis, this plugin provides a few more shortcodes that are used for the purpose of developing sites and migrating sites. It also enables code to execute shortcodes in the text widget. Contains the following shortcodes: [post_field], [child] or [child_url], [wpurl], [url], [site_url], [uploads], [genesis_comments], [genesis_email] or [email], [genesis_email_link] or [email_link], [genesis_modified_date] or [modified_date], [genesis_avatar] or [avatar], [plugin_info], & content columns shortcodes.
[post_field], [child_url], [wpurl], [url], [uploads],

Plugin Info Shortcode:
* e.g., [plugin_info slug=”wordpress-seo” data=”banner” ]
* e.g., [plugin_info slug=”genesis-shortcodes” data=”tags” ]
* e.g., [plugin_info slug=”genesis-shortcodes” data=”author” ]
* e.g., [plugin_info slug=”genesis-shortcodes” data=”author_profile” ]
* e.g., [plugin_info slug=”genesis-shortcodes” data=”contributors” ]
* e.g., [plugin_info slug=”genesis-shortcodes” data=”requires” ]
* e.g., [plugin_info slug=”genesis-shortcodes” data=”tested” ]
* e.g., [plugin_info slug=”genesis-shortcodes” data=”rating” ]
* e.g., [plugin_info slug=”genesis-shortcodes” data=”num_ratings” ]
* e.g., [plugin_info slug=”genesis-shortcodes” data=”downloaded” ]
* e.g., [plugin_info slug=”genesis-shortcodes” data=”last_updated” ]
* e.g., [plugin_info slug=”genesis-shortcodes” data=”added” ]
* e.g., [plugin_info slug=”genesis-shortcodes” data=”homepage” ]
* e.g., [plugin_info slug=”genesis-shortcodes” data=”short_description” ]
* e.g., [plugin_info slug=”genesis-shortcodes” data=”download_link” ]
* e.g., [plugin_info slug=”genesis-shortcodes” data=”donate_link” ]
* e.g., [plugin_info slug=”genesis-shortcodes” data=”sections” ]
* e.g., [plugin_info slug=”genesis-shortcodes” section=”description” ]
* e.g., [plugin_info slug=”genesis-shortcodes” section=”installation” ]
* e.g., [plugin_info slug=”genesis-shortcodes” section=”screenshots” ]
* e.g., [plugin_info slug=”genesis-shortcodes” section=”changelog” ]
* e.g., [plugin_info slug=”genesis-shortcodes” section=”faq” ]

MultiSite Shortcode:

  • e.g. [site_url]
  • e.g. [site_url site=”1″]
  • e.g. [site_url site=”1″ scheme=”admin”]
  • e.g. [site_url site=”1″ path=”/sample/”]
  • e.g. [site_url site=”{optional_ID}” path=”/path/relative/to/site/url” scheme=”http|login|login_post|admin”]

Content Columns Shortcodes

  • e.g. [one_half_first]CONTENT[/one_half_first][one_half]CONTENT[/one_half]
  • e.g. [one_third_first]CONTENT[/one_third_first][one_third]CONTENT[/one_third]
  • e.g. [two_thirds_first]CONTENT[/two_thirds_first][two_thirds]CONTENT[/two_thirds]
  • e.g. [one_fourth_first]CONTENT[/one_fourth_first][one_fourth]CONTENT[/one_fourth]
  • e.g. [two_fourths_first]CONTENT[/two_fourths_first][two_fourths]CONTENT[/two_fourths]
  • e.g. [three_fourths_first]CONTENT[/three_fourths_first][three_fourths]CONTENT[/three_fourths]
  • e.g. [one_fifth_first]CONTENT[/one_fifth_first][one_fifth]CONTENT[/one_fifth]
  • e.g. [two_fifths_first]CONTENT[/two_fifths_first][two_fifths]CONTENT[/two_fifths]
  • e.g. [three_fifths_first]CONTENT[/three_fifths_first][three_fifths]CONTENT[/three_fifths]
  • e.g. [four_fifths_first]CONTENT[/four_fifths_first][four_fifths]CONTENT[/four_fifths]
  • e.g. [one_sixth_first]CONTENT[/one_sixth_first][one_sixth]CONTENT[/one_sixth]
  • e.g. [two_sixths_first]CONTENT[/two_sixths_first][two_sixths]CONTENT[/two_sixths]
  • e.g. [three_sixths_first]CONTENT[/three_sixths_first][three_sixths]CONTENT[/three_sixths]
  • e.g. [four_sixths_first]CONTENT[/four_sixths_first][four_sixths]CONTENT[/four_sixths]
  • e.g. [five_sixths_first]CONTENT[/five_sixths_first][five_sixths]CONTENT[/five_sixths]

IMPORTANT:
You must have Genesis installed. Click here to learn more about Genesis

Special Thanks

I owe a huge debt of gratitude to all the folks at StudioPress, their themes make life easier.

And thanks to the various individuals who helped me through the beta testing.

安裝方式

  1. Upload the entire genesis-shortcodes folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Begin using!

常見問題集

Do you have future plans for this plugin?
  • If you have suggestions or want to add any shortcodes, please feel free to contact me

使用者評論

There are no reviews for this plugin.

參與者及開發者

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

參與者

將 Genesis Shortcodes 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

0.5

  • Added email shortcode to protect emails from spam ([genesis_email email=”my@email.com”]).
  • Added modified date shortcode ([genesis_modified_date format=”F j, Y”]).

0.4

  • Fixed [one_half_first] to appear with first instead of last, props Joe Banks
  • Added last column shortcodes for the OCD though not needed

0.3

  • Added [site_url] for MS

0.2

  • Initial Release

0.1

  • Private Beta