该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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:

  • 默认值
  • 功能
  • 信息
  • 警告

Three button sizes:

  • Default (medium)
  • 大尺寸

Four styles:

  • 默认值
  • Rounded
  • Pill
  • 屏蔽

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. 通过WordPress的的“Plugins”菜单激活插件
  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” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

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