A collection of shortcodes and helper functions to provide some additional output and compatibilities.
The current version of BNS Helpers includes the following:
- Allows Text Widgets to parse shortcode structures
- Turns on the
dashicons
option in BNS Login (https://wordpress.org/plugins/bns-login) replacing its text output
- Adds the
[ child_pages ]
shortcode to provide a list of child-pages of the current page
- Adds the
[ dropdown_child_pages ]
shortcode to provide a drop-down list of child-pages of the current page
- Adds the
[ tool_tip ]
shortcode to provide easy hover effect balloon text wrapped by the shortcode
This section describes how to install the plugin and get it working.
- Go to the "Plugins" menu in the Administration Panels ("dashboard").
- Click the 'Add New' link.
- Click the "Upload" link.
- Browse for the bns-helpers.zip file on your computer; upload; and, install accordingly.
- Activate.
-- or -
- Go to the "Plugins" menu in the Administration Panels ("dashboard").
- Click the 'Add New' link.
- Search for BNS Helpers.
- Install.
- Activate.
Please read this article for further assistance:
http://wpfirstaid.com/2009/12/plugin-installation/
用法
The "child-pages" shortcodes will work as is without any additional parameters in any page.
For additional details of what parameters are available, please have a look at the following functions relevant to the shortcode:
The
[ tool_tip ]
shortcode has one parameter
character
which is set to an exclamation mark (!) as the default.
An example usage is:
[ tool_tip character=?]This is the tool tip text![ /tool_tip ]
(with no spaces inside the square brackets)
Copyright 2015 Edward Caissie (email : edward.caissie@gmail.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2,
as published by the Free Software Foundation.
You may NOT assume that you can use any other version of the GPL.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
The license for this software can also likely be found here:
http://www.gnu.org/licenses/gpl-2.0.html
Screenshot Source
Screenshots were captured using the latest version of Opus Primus (
https://wordpress.org/themes/opus-primus) as the baseline