[wordpress插件] BNS HelpersBNS助手

wordpress 插件 文章 2020-03-08 07:20 612 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

A collection of shortcodes and helper functions to provide some additional output and compatibilities.

一组简码和辅助函数,以提供一些额外的输出和兼容性。

The current version of BNS Helpers includes the following:

BNS Helpers的当前版本包括以下内容:

    • 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
    • 打开BNS登录(https://wordpress.org/plugins/bns-login)中的 dashicons 选项,替换其文本输出

    • Adds the [ child_pages ] shortcode to provide a list of child-pages of the current page
    • 添加 [child_pages] 简码以提供当前页面的子页面列表

    • Adds the [ dropdown_child_pages ] shortcode to provide a drop-down list of child-pages of the current page
    • 添加 [dropdown_child_pages] 简码以提供当前页面的子页面的下拉列表

    • Adds the [ tool_tip ] shortcode to provide easy hover effect balloon text wrapped by the shortcode
    • 添加 [tool_tip] 简码,以提供由简码包裹的轻松悬停效果提示文字

    Copyright 2015 Edward Caissie (email : edward.caissie@gmail.com)

    版权所有2015 Edward Caissie(电子邮件: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,
      

    它遵循GNU通用公共许可证版本2的条款,
      

    as published by the Free Software Foundation.

    由自由软件基金会发布。

    You may NOT assume that you can use any other version of the GPL.

    您可能不会假定您可以使用任何其他版本的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.

    GNU通用公共许可证以获取更多详细信息。

    You should have received a copy of the GNU General Public License
      

    您应该已经收到了GNU通用公共许可证的副本
      

    along with this program;

    与该程序一起;

    if not, write to the Free Software
      

    如果没有,请写信给免费软件
      

    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

    美国,马萨诸塞州波士顿,富兰克林街51号,基金会基金会,邮政编码02110-1301

    The license for this software can also likely be found here:
      

    此软件的许可证也可以在以下位置找到:
      

    http://www.gnu.org/licenses/gpl-2.0.html

    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

    使用最新版本的Opus Primus(https://wordpress.org/themes/opus-primus)作为基准来捕获屏幕截图

安装步骤

This section describes how to install the plugin and get it working.

本节介绍如何安装插件并使其正常工作。

    1. Go to the “Plugins” menu in the Administration Panels (“dashboard”).
    2. 转到“管理面板”(“仪表板”)中的“插件”菜单。

    3. Click the ‘Add New’ link.
    4. 点击“添加新”链接。

    5. Click the “Upload” link.
    6. 点击“上传”链接。

    7. Browse for the bns-helpers.zip file on your computer;

    8. 浏览计算机上的bns-helpers.zip文件;

      upload;

      上载

      and, install accordingly.

    9. 然后相应地安装。

    10. Activate.
    11. 激活。

    — or –

    —或–

      1. Go to the “Plugins” menu in the Administration Panels (“dashboard”).
      2. 转到“管理面板”(“仪表板”)中的“插件”菜单。

      3. Click the ‘Add New’ link.
      4. 点击“添加新”链接。

      5. Search for BNS Helpers.
      6. 搜索BNS助手。

      7. Install.
      8. 安装。

      9. Activate.
      10. 激活。

      Please read this article for further assistance: http://wpfirstaid.com/2009/12/plugin-installation/

      请阅读本文以获取更多帮助:http://wpfirstaid.com/2009/12/plugin-installation/

      Usage

      用法

      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:

      有关可用参数的更多详细信息,请查看与短代码相关的以下功能:

        • [ child_pages ] – https://developer.wordpress.orgeference/functions/wp_list_pages/
        • [child_pages] – https://developer.wordpress.orgeference/functions/wp_list_pages/

        • [ dropdown_child_pages ] – https://developer.wordpress.orgeference/functions/wp_dropdown_pages/
        • [dropdown_child_pages] – https://developer.wordpress.orgeference/functions/wp_dropdown_pages/

        • [ dropdown_child_pages ] (advanced) – https://developer.wordpress.orgeference/functions/get_pages/
        • [dropdown_child_pages] (高级)– https://developer.wordpress.orgeference/functions/get_pages/

        The [ tool_tip ] shortcode has one parameter character which is set to an exclamation mark (!) as the default.

        [tool_tip] 简码具有一个参数 character ,该参数默认设置为感叹号(!)。

        An example usage is: [ tool_tip character=?]This is the tool tip text![ /tool_tip ] (with no spaces inside the square brackets)

        用法示例为: [tool_tip character =?]这是工具提示文本![/ tool_tip] (在方括号内没有空格)

下载地址
https://downloads.wordpress.org/plugin/bns-helpers.0.3.zip
-EOF-

AI助手支持GPT4.0