[wordpress插件] BNS Theme DetailsBNS主题详细信息

wordpress 插件 文章 2020-03-08 08:30 485 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

This plugin can be used to display the recent download count of a theme, as well as various other details such as the author and when it was last updated.

此插件可用于显示主题的最新下载次数,以及各种其他详细信息,例如作者和上次更新时间。

It also includes a link to the WordPress Theme repository if it exists.

它还包含到WordPress主题存储库的链接(如果存在)。

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

*版权所有2014-2015爱德华·凯西(电子邮件: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

安装步骤

    1. Go to ‘Plugins’ menu under your Dashboard
    2. 转到仪表板下的“插件”菜单

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

    5. Search for BNS Theme Details
    6. 搜索BNS主题详细信息

    7. Install.
    8. 安装。

    9. Activate through the ‘Plugins’ menu.
    10. 通过“插件”菜单激活。

    11. Place the BNS Theme Details widget appropriately in the Appearance > Widgets section of the dashboard;

    12. 将BNS主题详细信息小部件适当地放置在仪表板的“外观”>“小部件”部分中;

      or use the default [ bns_theme_details ] shortcode (without the spaces) in a page or post.

    13. 或在页面或帖子中使用默认的 [bns_theme_details] 短代码(不带空格)。

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

    阅读本文以获取有关插件安装的更多帮助:http://wpfirstaid.com/2009/12/plugin-installation/

    /** —- */

    / ** --- * /

    Shortcode Usage:

    简码用法:

      • [ bns_theme_details ] – this is the default (less the spaces) which will display the current active theme on the site (provided it is hosted on the WordPress repository).
      • [bns_theme_details] –这是默认设置(减去空格),它将在网站上显示当前活动主题(前提是该主题托管在WordPress资源库中)。

      Shortcode parameters (and their defaults):

      简码参数(及其默认值):

        • title => __return_null() … returns nothing
        • title => __return_null()…什么也不返回

        • theme_slug => wp_get_theme()->get_template() … uses the current theme;

        • theme_slug => wp_get_theme()-> get_template()…使用当前主题;

          the theme name can also be used in place of its slug provided they are similar

        • 如果主题名称相似,也可以使用主题名称代替

        • use_screenshot_link => true … displays main screenshot
        • use_screenshot_link => true …显示主屏幕截图

        • show_name => true … displays the theme name
        • show_name => true …显示主题名称

        • show_author => true … displays the author name
        • show_author => true …显示作者姓名

        • show_last_updated => true … displays when the theme was last updated
        • show_last_updated => true …显示上一次更新主题的时间

        • show_current_version => true … displays the current theme version
        • show_current_version => true …显示当前主题版本

        • show_rating => true … displays the current “star” rating of the theme
        • show_rating => true …显示主题的当前“星级”评分

        • show_number_of_ratings => true … displays the number of ratings the theme has received
        • show_number_of_ratings => true …显示主题已收到的评分数量

        • show_description => true … displays theme description (this is false by default in the widget section)
        • show_description => true …显示主题描述(默认在小部件部分为false)

        • show_downloaded_count => true … displays the total download count
        • show_downloaded_count => true …显示总下载次数

        • use_download_link => true … displays a download link pointing to the current version of the theme in the WordPress Theme repository
        • use_download_link => true …显示指向WordPress主题存储库中主题的当前版本的下载链接

        • show_changelog => true … displays the contents of the theme’s changelog.txt file if it exists
        • show_changelog => true …显示主题的 changelog.txt 文件(如果存在)的内容

下载地址
https://downloads.wordpress.org/plugin/bns-theme-details.0.4.1.zip
-EOF-

AI助手支持GPT4.0