[wordpress插件] Before You Are Dead Countdown在您倒数之前

wordpress 插件 文章 2020-03-03 00:50 542 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

The Before You Are Dead (BYAD) Countdown provides a simple widget witch displays a countdown timer with Days, Hours, Minutes, Seconds and optionally, Years.

在您死之前(BYAD)倒计时提供了一个简单的小部件,可以显示带有天,小时,分钟,秒和年(可选)的倒数计时器。

You can configure some settings: Final date, Final time in the day, Final date format, Your final words and Years display.

您可以配置一些设置:最终日期,一天中的最终时间,最终日期格式,您的最终单词和年份显示。

Plugin Features

插件功能

    • You can display the BYAD Countdown via:

    • 您可以通过以下方式显示BYAD倒计时:

        • a Widget
        • 小部件

        • a Shortcode
        • 简码

      • BYAD Countdown implements some filters to use with add_filter() function:

        BYAD Countdown实现了一些过滤器,可与 add_filter()函数一起使用:

          • byad_date_data > array( byadRegional, byadIcon) for jquery datepicker in admin.

          • byad_date_data >数组(byadRegional,byadIcon),用于管理员中的jquery datepicker。

            Useful for localization.

            对本地化很有用。

            Default in french.

            默认为法语。

            (see – byad-settings.php – around line 131).

            (请参见–第131行附近的 byad-settings.php ))。

            Check code example in help-

            help-中查看代码示例

            code.txt file.

          • code.txt 文件。

          • byad_title > filter for the widget title output.

          • byad_title >过滤器,用于输出小部件标题。

            (see – byad-countdown_widget.php – around line 25)

          • (请参见– byad-countdown_widget.php –第25行附近)

          • byad_timezone > to set timezone for date php functions.

          • byad_timezone >设置日期php函数的时区。

            Default: ‘Europe/Paris’.

            默认值:“欧洲/巴黎”。

            (see – byad-countdown_widget.php – around line 42)

          • (请参见– byad-countdown_widget.php –第42行附近)

          • byad_jsdata > to configure data passed to the main – byad-countdown.js – file displaying and activating your “last time of life”.

          • byad_jsdata >配置传递到主文件– byad-countdown.js –的数据,以显示并激活您的“生命的最后时刻”。

            (see – byad-countdown_widget.php – around line 53)

          • (请参见– byad-countdown_widget.php –第53行附近)

        • You can also:

          您还可以:

            • use your own css using this simple action hook: byad_stylesheet.
            • 通过以下简单的动作钩子使用自己的CSS: byad_stylesheet

            • use your own datepicker JS language file using this other action hook: byad_datepicker_lang.
            • 通过以下另一个操作钩子使用您自己的datepicker JS语言文件: byad_datepicker_lang

            • Check examples in

            • 中查看示例

              help-code.txt file.

            • help-code.txt 文件。

          Localizations

          本地化

          BYAD Countdown distributes with translations for the following languages:

          BYAD Countdown分发以下语言的翻译版本:

          * English

          *英文

          * Français

          *Français

          * Italiano

          * Italiano

          Don’t see your language on the list?

          列表中没有您的语言?

          There is a – byad-countdown-default.po – in the languages/ directory.

          在languages /目录中有一个– byad-countdown-default.po –。

          Use it with Poedit as a base .PO file for your language.

          将它与 Poedit 一起用作您语言的基本.PO文件。

          Save it as: byad-countdown-LANGCODE.po where LANGCODE is your language code (e.g. fr_FR).

          将其保存为:byad-countdown-LANGCODE.po,其中LANGCODE是您的语言代码(例如fr_FR)。

          If you create any, I’ll be glad to include it in the plugin.

          如果您创建了任何插件,我都会很高兴将其包含在插件中。

安装步骤

This section describes how to install the plugin and stay alive.

本节介绍如何安装插件并保持运行状态。

    1. Upload before-you-are-dead-countdown/ folder to the /wp-content/plugins/ directory.
    2. before-you-are-dead-countdown / 文件夹上传到 / wp-content / plugins / 目录。

    3. Activate the plugin through the – Plugins – menu in WordPress.
    4. 通过WordPress中的“插件”菜单激活插件。

    5. In the Plugins main page, click – Settings – under the plugin's name or go to the options panel under the – Settings > BYAD Countdown – and select the day of your death, your death date format, fill your last words, and

    6. 在“插件”主页上,单击–设置–在插件名称下,或转到–“设置”下的选项面板> BYAD Countdown –并选择死亡日期,死亡日期格式,填写您的遗言,以及

      choose to enable/disable Years display.

    7. 选择启用/禁用年份显示。

    8. Have fun before it’s to late!
    9. 早点玩吧!

下载地址
https://downloads.wordpress.org/plugin/before-you-are-dead-countdown.1.5.4.zip
-EOF-

AI助手支持GPT4.0