
內容簡介
Easy Classes提供了自定義的文章類型,用於教師和課程,並使用大量自定義類別來自動生成所有已發佈課程的時間表。在時間表中,同一時間最多可有兩個課程。
您可以自由地創建課程、日期、教師、時間等等。
有關自動生成的時間表
使用方法:
在管理面板的時間表頁面,您只需要為不同的課程選擇顏色,然後保存更改。
然後生成時間表代碼,複製並粘貼到頁面或帖子的“文本”編輯器(而不是視覺編輯器)。保存帖子/頁面並顯示它:時間表出現了(其外觀可能因您的主題而異)。
顏色:
任何有效的HTML顏色都可以使用!您現在可以輸入值,例如#FF6857,'MediumOrchid',rgb(255,0,0),它們都可以使用。
如果您不知道HTML顏色,沒問題,插件提供了150種顏色名稱供您選擇。
您可以按照提供的顏色名稱撰寫,也可以不在開頭使用大寫。不使用大寫,它只會要求您確認,然後點擊確定即可。有效。
請注意,任何未在提供的150種顏色中找到的顏色名稱均會在確認後被允許。因此,如果某種顏色未出現,請正確輸入,可能是由於錯誤拼寫引起的。
排序非英語版星期幾:
目前只有法語版本的插件翻譯可用,因此,如果您輸入非英語或非法語的日期,您可能會注意到它們在時間表中未按正確順序顯示。
現在,在時間表管理面板的“日期”下,您可以按照自己的喜好對它們進行排序。如果日期已經正確排序,則不要使用此功能。
避免錯誤/不顯示:
時間表僅會使用您所創建的(標題、日期、時間、教師、教室),但為了正確生成,您的課程需要至少有:
標題(不會引起錯誤,但沒有標題,時間表就沒有意義)
起始時間,比結束時間小
結束時間,比起始時間大
如果起始時間大於結束時間,則不會顯示該課程。
如果起始時間等於結束時間,課程將顯示在您所選擇的起始時間的方塊中。
例如,您已檢查了“08:00”的起始時間,該課程將在“08:00 /下一個註冊的小時”時顯示
如果您已檢查了結束時間但沒有開始時間,課程將整天顯示,直到結束時間。
如果您已經檢查了開始時間但沒有結束時間,該課程將不會顯示。
如果您根本沒有勾選時間,該課程也不會顯示。
感謝使用此插件,我希望您會喜歡並能更好地管理您的網站。
外掛標籤
開發者團隊
原文外掛簡介
Easy Classes provide custom post types for teachers and classes, with a lots of custom categories used to automatically
generate a schedule with all the published classes. There can be up to 2 classes present at the same hours on the schedule.
You create as you wish the classes, the days, the teachers, the times etc.
ABOUT THE AUTOMATICALLY GENERATED SCHEDULE
USING IT :
On the schedule page in the administration, all you have to do is choosing the colours for the different classes and save your changes.
Then generate the schedule code, copy it, and paste it into a page or post in the “text” editor (not the visual). Save the post/page and
display it : the schedule appears (its look can differ depending on your theme).
COLOURS :
Any valid HTML colour will work ! You can now enter values like #FF6857, ‘MediumOrchid’, rgb(255,0,0), they will all work.
If you don’t know HTML colours, no problem, 150 colours name are provided with the plugin in order for you to choose one.
You can write the colours names provided with or without capital at the beginning. Without capital it will only ask you to confirm, click ok. It works.
Be careful of mistakes, any name not found in the 150 colours provided is allowed after a confirmation.
So if a colour doesn’t appear, enter it again properly, it may be caused by a typo.
ORDERING NON ENGLISH DAYS :
Only a french translation for the plugin exists by now, so, if you enter non-english or non-french days, you may notice they don’t appear in the right order in the schedule.
You can now order them just as you like under “Days” at the top of the schedule admin panel. Don’t use it if the days are already properly ordered.
AVOIDING ERRORS / NOT DISPLAYING :
The schedule will only use what you have created (title,day,hours,teacher,room), but to be correctly generated, your classes need
to have at least :
a title (doesn’t cause errors, but without the title the schedule won’t make any sense)
a starting hour, smaller than the ending hour
an ending hour, bigger than the starting hour
If the starting hour is bigger than the ending hour, the class won’t be displayed.
If the starting hour is equal to the ending hour, the class will display in the box with the starting hour you’ve checked.
For e.g. you’ve checked “08:00” for both hours, the schedule will display the class at “08:00 / next hour registered “
If you’ve checked an ending hour but not a starting one, the class will be displayed all through the day until the ending hour.
If you’ve checked a starting hour but no ending one, the class won’t be displayed.
Neither will it be displayed if you have checked no hour at all.
Thanks for using this plugin, I hope you’ll enjoy it and that it will help you managing better your site.
