[wordpress插件] Christian Science Bible Lesson Subjects基督教科学圣经课目

wordpress 插件 文章 2020-03-23 07:40 473 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Display upcoming Christian Science Bible Lesson topics in any widget area on your site.

在您网站的任何小部件区域中显示即将举行的《基督教科学圣经课》主题。

Also includes shortcode and Spanish translation.

还包括简码和西班牙语翻译。

Bonus new feature: Embed CSPS Internet Radio player in your site.

新增功能:将CSPS Internet Radio播放器嵌入您的网站。

Widget Features:

小部件功能:

    • Select number of upcoming subjects to display (default is 3 weeks)
    • 选择即将显示的主题数(默认为3周)

    • Select whether to display 'more info' link to ChristianScience.com

    • 选择是否显示指向ChristianScience.com

    • Configure number of days in advance of Thanksgiving Day service to display explanatory message
    • 在感恩节服务之前配置天数以显示说明消息

    • Option to disable Thanksgiving Day message if desired
    • 根据需要禁用感恩节消息的选项

    Shortcodes:

    简码:

    Christian Science Bible Lesson topics shortcode

    基督教科学圣经课主题简码

    Insert [cs_subject_of_the_week] into any post or page to insert the default number of upcoming subjects

    在任何帖子或页面中插入 [cs_subject_of_the_week] ,以插入默认数量的即将到来的主题

    Optional shortcode parameters

    可选的简码参数

    [cs_subject_of_the_week weeks_to_display="3" display_more_info_link="1" thanksgiving_days_in_advance="30"]

      [cs_subject_of_the_week weeks_to_display =“ 3” display_more_info_link =“ 1” Thanksgiving_days_in_advance =“ 30”]

      • weeks_to_display – configure number of weeks in advance to display
      • weeks_to_display –提前配置显示周数

      • display_more_info_link – Set to ‘1’ to show more info link, ‘0’ to hide (Default)
      • display_more_info_link –设置为“ 1”以显示更多信息链接,设置为“ 0”以隐藏(默认)

      • thanksgiving_days_in_advance – Set to 0 to disable, or number of days in advance of Thanksgiving Day to show special message
      • thanksgiving_days_in_advance –设置为0以禁用,或设置为感恩节之前的天数以显示特殊消息

      CSPS Internet Radio embed shortcode

      CSPS网络广播嵌入了简码

      Insert [csps_internet_radio] in post or page to embed the player

      在帖子或页面中插入 [csps_internet_radio] 以嵌入播放器

      Optional shortcode parameters

      可选的简码参数

      [csps_internet_radio customize_player=false show_title_bar=true iframe_height="380" iframe_width="100%"]

        [csps_internet_radio Customize_player = false show_title_bar = true iframe_height =“ 380” iframe_width =“ 100%”]

        • customize_player – Default is false, load standard script directly from JSH site
        • customize_player –默认为false,直接从JSH站点加载标准脚本

        • show_title_bar – Include the standard title bar graphic for the player?

        • show_title_bar –是否包括播放器的标准标题栏图形?

          Default is true

        • 默认为true

        • iframe_height – height of embedded playlist iframe – Default is 380 (px)
        • iframe_height –嵌入式播放列表iframe的高度–默认值为380(px)

        • iframe_width – width of embedded playlist iframe – Default is 100%
        • iframe_width –嵌入式播放列表iframe的宽度–默认值为100%

安装步骤

    1. Unzip the ZIP file and drop the folder straight into your wp-content/plugins directory.
    2. 解压缩ZIP文件并将文件夹直接拖放到wp-content / plugins目录中。

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

    Use as a widget

    用作小部件

      1. Navigate to ‘Appearance’ -> ‘Widgets’
      2. 导航到“外观”->“小部件”

      3. Drag the ‘CS Bible Lesson Topics’ widget into a sidebar to display in that sidebar
      4. 将“ CS圣经课主题”小部件拖到侧栏中以显示在该侧栏中

      5. Configure widget if you’d like to change the default settings
      6. 如果要更改默认设置,请配置小部件

      Use as a shortcode

      用作简码

        1. Insert [cs_subject_of_the_week] into any post or page to insert the default number of upcoming subjects

          在任何帖子或页面中插入 [cs_subject_of_the_week] ,以插入默认数量的即将到来的主题

          Optional shortcode parameters

          可选的简码参数

          [cs_subject_of_the_week weeks_to_display="3" display_more_info_link="1" thanksgiving_days_in_advance="30"]

            [cs_subject_of_the_week weeks_to_display =“ 3” display_more_info_link =“ 1” Thanksgiving_days_in_advance =“ 30”]

            • weeks_to_display – configure number of weeks in advance to display
            • weeks_to_display –提前配置显示周数

            • display_more_info_link – Set to ‘1’ to show more info link, ‘0’ to hide (Default)
            • display_more_info_link –设置为“ 1”以显示更多信息链接,设置为“ 0”以隐藏(默认)

            • thanksgiving_days_in_advance – Set to 0 to disable, or number of days in advance of Thanksgiving Day to show special message
            • thanksgiving_days_in_advance –设置为0以禁用,或设置为感恩节之前的天数以显示特殊消息

          • Publish and view post or page to see output.

            发布和查看帖子或页面以查看输出。

        Use in Templates for Theme authors

        在主题作者的模板中使用

        You can use this plugin in your themes if you wish instead of using it as a widget.

        如果愿意,可以在主题中使用此插件,而不必将其用作小部件。

        Place into your theme to display list of upcoming subjects:
            

        放入主题以显示即将到来的主题列表:
            

        <?php if(function_exists('stp_getBibleLessonSubjects'))echo stp_getBibleLessonSubjects(3,true,30);

        ?>

        ?>

        Function parameters are ( weeks_to_display, display_more_info_link, thanksgiving_days_in_advance).

        功能参数为(weeks_to_display,display_more_info_link,thanksgiving_days_in_advance)。

        You can also call the function without parameters and the defaults will be used.

        您也可以不带参数调用该函数,并且将使用默认值。

        CSS Classes for adding custom styles

        用于添加自定义样式的CSS类

        Add the following declarations to your stylesheet if you’d like to further customize the output of this plugin:

        如果您想进一步自定义此插件的输出,请在样式表中添加以下声明:

        /* Enclosing div */

          / *包含div * /

        .stp_cs_bible_lesson_topics_widget { }

        .stp_cs_bible_lesson_topics_widget {}

        /* span surrounding date in outputted list */

        / *跨越输出列表中的日期* /

        .stp_cs_bible_lesson_topics_date { }

        .stp_cs_bible_lesson_topics_date {}

        /* span surrounding subject in outputted list */

        / *跨越输出列表中的主题* /

        .stp_cs_bible_lesson_topics_subject { }

        .stp_cs_bible_lesson_topics_subject {}

        /* class on enclosing li tag for more info link */

        / *包含li标签的类,以获取更多信息链接* /

        .stp_cs_bible_lesson_topics_more_info_link { }

        .stp_cs_bible_lesson_topics_more_info_link {}

        /* enclosing class for special Thanksgiving message */

        / *包含特殊感恩节消息的类* /

        .stp_cs_bible_lesson_topics_thanksgiving_message { }

        .stp_cs_bible_lesson_topics_thanksgiving_message {}

下载地址
https://downloads.wordpress.org/plugin/christian-science-bible-lesson-subjects.1.8.zip
-EOF-

AI助手支持GPT4.0