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

LBDesign Button Shortcode

外掛說明

This simple plugin allows you to add call-to-action buttons to post and page content via a shortcode.

Five button types/colors included:

  • Default
  • Primary
  • Action
  • Info
  • Warning

Three button sizes:

  • Default (medium)
  • Small
  • Large

Four styles:

  • Default
  • Rounded
  • Pill
  • Block

Shortcode formatting:

[lbdesign_button link=”” new_tab=”” type=”” size=”” style=”” custom_class=””]Button text[/lbdesign_button]

螢幕擷圖

  • These are the styles it comes with.

安裝方式

  1. Upload lbdesign-button-shortcode to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Add buttons to post and page content using the insert button on the WordPress editor

使用者評論

2017 年 10 月 20 日
Just started using and this has proved very useful. The shortcode allows for enough options to be flexible without being overwhelming. Built in styles look great and the ability to use a custom class is fantastic. Does exactly what it says it will and quite well.
2016 年 9 月 3 日
This plugin works well and adds the ability for users to create a link button in an easy and intuitive way. I am running it on multiple sites that I manage without any issues.
閱讀全部 2 則使用者評論

參與者及開發者

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

參與者

將〈LBDesign Button Shortcode〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.3.2

  • Adds a check so TinyMCE button only loads in admin

1.3.1

  • Added tags to readme.txt file

1.3

  • Added option for buttons to open in a new tab

1.2.1

  • Reordered the shortcode attributes to match the order in the TinyMCE pop-up

1.2

  • Bugfixes

1.1

  • Fixed undefined variable error when not using a full width button
  • Changed button shortcode name to prevent conflicts with other shortcodes

1.0

  • Initial launch of the plugin
  • Adds button shortcode
  • Add “Insert Button” button on post/page editor