[wordpress插件] CGM Event CalendarCGM活动日历

wordpress 插件 文章 2020-03-21 09:50 475 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Add an event calendar to your website!

将活动日历添加到您的网站!

Great for fitness centers, community centers, organizations of any size.

非常适合健身中心,社区中心,任何规模的组织。

Create event categories for easy sorting.

创建事件类别以方便排序。

More info:

更多信息:

    • View a demo here: http://www.creativegraymatter.com/calendar

      在此处查看演示:http://www.creativegraymatter.com/calendar

    • For more information check out http://www.creativegraymatter.com/blog/wordpress-events-calendar

      有关更多信息,请访问http://www.creativegraymatter.com/blog/wordpress-events-calendar

安装步骤

Download, Upgrading, Installation:

下载,升级,安装:

Install

安装

    1. Unzip the cgm_calendar.zip file.

    2. 解压缩 cgm_calendar.zip 文件。

    3. Upload the the cgm_calendar folder (not just the files in it!) to your wp-contents/plugins folder.

    4. cgm_calendar 文件夹(不仅仅是其中的文件!)上传到您的 wp-contents / plugins 文件夹。

      If you’re using FTP, use ‘binary’ mode.

    5. 如果您使用的是FTP,请使用“二进制”模式。

    Activate

    激活

      1. In your WordPress administration, go to the Plugins page
      2. 在您的WordPress管理中,转到“插件”页面

      3. Activate the CGM Calendar plugin and a subpage for CGM Calendar will appear

      4. 激活CGM日历插件,将出现CGM日历的子页面

        in your Settings menu and also as its own menu.

      5. 在“设置”菜单中,也可以作为自己的菜单。

      Display

      显示

      There are three ways to show the calendar on your site.

      有三种方法可以在您的网站上显示日历。

        1. Go to Settings -> CGM Calendar and change the settings to what to you.

        2. 转到“设置”->“ CGM日历”,然后将设置更改为您想要的设置。

          Set the page name to the url you want to display the calendar and visit http://www.yoursiteurl.com/pagename and it will appear.

          将页面名称设置为要显示日历的URL,然后访问http://www.yoursiteurl.com/pagename,它将出现。

          No page or post creation required

        3. 无需页面或帖子创建

        4. Add the short code [cgm-event-calendar] to your page or post content you wish to display the calendar
        5. 在页面上添加短代码[cgm-event-calendar]或发布您希望显示日历的内容

        6. Use the php function call to display the calendar where you wish.
        7. 使用php函数调用将日历显示在您想要的位置。

        To display upcoming events

        显示即将发生的事件

          1. Go to Settings -> CGM Calendar and set the Calendar URL to the full url where the calendar resides.

          2. 转到“设置”->“ CGM日历”,然后将“日历URL”设置为日历所在的完整URL。

            Default would be http://www.yoururl.com/calendar

          3. 默认值为http://www.yoururl.com/calendar

          4. Modify the List Format setting if desired.

          5. 根据需要修改“列表格式”设置。

            Note that you will still need to wrap any list in a ul/ol when called.

          6. 请注意,调用时,您仍需要将任何列表包装在ul / ol中。

          7. Use the function echo cgm_list_upcoming_events(array(‘num_events’ => 5, ‘tag_id’ => ‘1,2’));

          8. 使用函数echo cgm_list_upcoming_events(array('num_events'=> 5,'tag_id'=>'1,2')));

            and change the num_events to how many you want to show and the tag_id list to the tagged events, or remove it to show all.

          9. 并将num_events更改为要显示的数量,并将tag_id列表更改为已标记的事件,或者将其删除以显示所有事件。

          10. You may also use the short code [cgm-upcoming-events num_events=10 tag_id=1,2] to display the list.
          11. 您还可以使用短代码[cgm-upcoming-events num_events = 10 tag_id = 1,2]来显示列表。

          If you wish, you can override the default css and print view template by copying the files, calendar.css and print_view.php to the base of your template directory.

          如果愿意,可以通过将calendar.css和print_view.php文件复制到模板目录的底部来覆盖默认的CSS和打印视图模板。

          Notice

          通知

          Make sure your time zone is set correctly under Settings -> General or the calendar will be effected

          确保在“设置”->“常规”下正确设置了您的时区,否则日历将生效

          If you find any bugs or have any ideas, please mail me.

          如果您发现任何错误或有任何想法,请给我发邮件。

          ryan at creativegraymatter dot com

          ryan at creativegraymatter dot com

下载地址
https://downloads.wordpress.org/plugin/cgm-event-calendar.0.8.5.zip
-EOF-

AI助手支持GPT4.0