[wordpress插件] Coaching Staffs教练人员

wordpress 插件 文章 2020-03-26 12:00 0 23 全屏看文
评分
100
描述

The MSTW Coaching Staffs plugin manages coaching staff rosters for sports teams.

MSTW教练人员插件可管理运动队的教练人员花名册。

The plugin supports multiple coaches, staffs, and teams.

该插件支持多个教练,员工和团队。

It provides several views of staffs including coaches table (screenshot-1), a coaches gallery (screenshot-2), and single coach profiles (screenshot-3).

它提供了一些员工视图,包括教练表(屏幕截图1),教练库(屏幕截图2)和单个教练个人资料(屏幕截图3)。

Samples of all of the above displays are available on the Shoal Summit Solutions Plugin Development Site.

以上所有显示的示例都可以在 Shoal Summit Solutions插件开发站点上找到。

This plugin is designed to handle some challenges unique to high school coaching staffs, where coaches often coach two (or more) teams in different roles.

此插件旨在应对高中教练团队所特有的一些挑战,在这些挑战中,教练经常指导两个(或更多)不同角色的团队。

For example, one coach can be the Head Coach of the Junior Varsity team and the Offensive Line coach for the Varsity team.

例如,一名教练可以是少年校队的总教练和进攻队的校队教练。

That coach can be shown as the first coach on the JV staff and somewhere lower on the Varsity staff listings.

该教练可以作为合资公司员工的第一位教练,而在Varsity员工列表中则较低。

Here’s how to do it:

操作方法如下:

    1. Begin by adding the Coaches using the Coaching Staffs -> All Coaches -> Add New Coach admin page.

    2. 首先使用教练组->所有教练->添加新教练admin页面添加教练。

      (screenshot-4 and screenshot-5)

    3. (屏幕截图4和屏幕截图5)

    4. Next add the Coaching Staffs, using the Coaching Staffs -> Staffs admin page.

    5. 接下来,使用Coaching Staffs-> Staffs管理页面添加Coaching Staffs。

      (screenshot-6)

    6. (屏幕截图6)

    7. Finally add the Staff Positions, using the Coach Staffs -> All Staff Positions -> Add New Staff Position admin page.

    8. 最后,使用Coach Staffs-> All Staff Position-> Add New Staff Position管理页面添加职员职位。

      (screenshot-7 and screenshot-8)

    9. (屏幕截图7和屏幕截图8)

    It is important that you enter/add data in this order because the coach and staff must be entered before they can be associated with a staff position.

    按此顺序输入/添加数据很重要,因为必须先输入教练和职员才能将其与职员职位相关联。

    To display a staff table via the short code enter
        

    要通过短代码显示人员表,请输入
        

    [mstw-cs-table staff=staff-slug]

    [mstw-cs-table staff = staff-slug]

    on the TEXT or HTML tab, NOT the VISUAL tab, of a page, post, or text widget.

    在页面,文章或文本小部件的“文本”或“ HTML”选项卡上,而不是“视觉”选项卡上。

    You MUST provide a staff parameter or nothing will be displayed.

    您必须提供 staff 参数,否则将不会显示任何内容。

    Many other parameters are available, which you can read about on the Shoal Summit Solutions

    还有许多其他参数,您可以在 Shoal Summit Solutions 中进行阅读。

    site.

    现场。

    Looking the samples on my plugin development site is highly recommended.

    强烈建议在我的插件开发站点上查看示例。

    To learn how to install and use the single coach profile page and the coaching staff gallery page, please read the instructions on the Installation tab and on the Shoal Summit Solutions site.

    manuals / cs-plugin /“ rel =” nofollow“> Shoal Summit Solutions 网站。

    The plugin is internationalized and ready for translation.

    该插件已国际化,可以翻译了。

    I am happy to help translators.

    我很乐意帮助翻译人员。

    A default .pot file is in the /lang directory.

    默认的.pot文件位于/ lang目录中。

    NOTES

    注释

    The Coaching Staffs plugin is part of the My Sports Team Website (MSTW) framework.

    “教练职员”插件是“我的体育团队网站”(MSTW)框架的一部分。

    Others include Schedules & Scoreboards, Team Rosters, League Standings, MSTW CSV Exporter, and Game Locations and Game Schedules (both now deprecated).

    其他包括时间表和计分板,团队花名册,联赛排名,MSTW CSV导出器以及游戏位置和游戏时间表(均已弃用)。

    All are available on WordPress.org.

    都可以在 WordPress.org 上找到。

    Helpful Links

    有用的链接

安装步骤

All the normal installation methods for WordPress plugins work.

所有适用于WordPress插件的常规安装方法都可以使用。

See the installation manual page for details.

有关详细信息,请参见安装手册页

Upon installation make sure the WP default timezone is set correctly in the WordPress Settings->General screen.

安装后,请确保在WordPress设置->常规屏幕中正确设置了WP默认时区。

If you plan to use the coach profile pages (linked from the coaching staff table and/or the coaching gallery page), then you must copy the following page template from the coaching-staffs/theme-templates directory to your theme's main

如果您打算使用教练个人资料页面(从教练人员表和/或教练画廊页面链接),则必须将以下页面模板从coaching-staffs / theme-templates目录复制到主题的主页面

directory:

目录:

    1. single-coach.php
    2. single-coach.php

    If you plan to use the Coaches Gallery page, then you must copy the following page template from the coaching-staffs/theme-templates directory to your theme’s main directory:

    如果您打算使用Coachs Gallery页面,则必须将以下页面模板从coaching-staffs / theme-templates目录复制到主题的主目录:

      1. taxomony-staffs.php
      2. taxomony-staffs.php

下载地址
https://downloads.wordpress.org/plugin/coaching-staffs.0.3.zip
-EOF-