[wordpress插件] Bhutanese Calendar不丹日历

wordpress 插件 文章 2020-03-04 16:30 514 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin adds monthly Bhutanese calendar from year 1900 to 2099. Bhutanese calendar data extracted from Open Source Bhutanese

此插件添加了从1900年到2099年的不丹月度日历。不丹日历数据摘录自开源不丹语

Calendar software.

日历软件。

Due credit to the database developer E Henning.

应归功于数据库开发人员E Henning。

Features

功能

    1. Adds monthly Bhutanese Calendar on Widget, Pate/Post or directly onto WordPress template file
    2. 在小部件,Pate / Post上或直接在WordPress模板文件上添加不丹月度日历

    3. Calendar data available from year 1900 to 2099
    4. 从1900年到2099年的日历数据

    5. You can navigate to any specific month
    6. 您可以导航到任何特定月份

    7. Shows the name of Bhutanese year and month (and of course date)
    8. 显示不丹年份和月份的名称(当然还有日期)

    Future Development

    未来发展

      1. Display Bhutanese calendar for a year
      2. 显示不丹日历一年

      3. Add Bhutanese holidays
      4. 添加不丹假期

      5. Conversion between Bhutanese and Western Calendar date
      6. 不丹和西历之间的转换

      (All these features available on bhutanesecalendar.com)

      (所有这些功能都可以在 bhutanesecalendar.com 上获得)

安装步骤

You can either install it automatically from the WordPress admin, or do it manually:

您可以从WordPress管理员自动安装它,也可以手动进行:

    1. Unzip the archive and put the bhutanese-calendar folder into your plugins folder /wp-content/plugins/.
    2. 解压缩档案并将 bhutanese-calendar 文件夹放入您的插件文件夹 / wp-content / plugins /

    3. Activate the plugin from the Plugins menu.
    4. 从“插件”菜单中激活插件。

    Usage

    用法

    After installing the Plugin, go to Settings page and choose colors options to match your theme.

    安装插件后,转到“设置”页面,然后选择颜色选项以匹配您的主题。

    Or you can leave the default colors.

    或者,您可以保留默认颜色。

    Then you can display the calendar through three different ways:

    然后您可以通过三种不同的方式显示日历:

      1. Widget: on your WordPress Dashboard, check Appearance -> Widget.

        小部件:在您的WordPress仪表板上,检查外观->小部件

        You will see a widget called Bhutanese Calendar Widget.

        您将看到一个名为不丹日历微件的微件。

        Simply drag it to your widget area, tick the options and viola!

        只需将其拖动到您的小部件区域,勾选选项和中提琴即可!

      2. Use Shortcode: You can use Shortcode [bhutanese_calendar_month] to show the calendar on Posts/Pages.

        使用简码:您可以使用简码 [bhutanese_calendar_month] 在帖子/页面上显示日历。

        Optionally, pass arguments “year”, “month”, “navi” and “links” to the Shortcode.

        可选地,将参数“年”,“月”,“导航”和“链接”传递给简码。


        Eg [bhutanese_calendar_month year=”true” month=”true” navi=”true” link=”true”].


        例如 [bhutanese_calendar_month year =“ true” month =” true” navi =“ true” link =“ true”]

      3. Directly on WordPress template: You can also directly paste code
        onto any

        直接在WordPress模板上:您也可以直接将代码
        <?php bhutanese_calendar_month(true,true,true,true);?> 粘贴到任何

        template.

        模板。

下载地址
https://downloads.wordpress.org/plugin/bhutanese-calendar.1.1.1.zip
-EOF-

AI助手支持GPT4.0