
內容簡介
這個輕量級的外掛「Add infos to The Events Calendar」為 The Events Calendar Free Plugin 提供了一個短碼區塊,能夠在單一事件中添加圖片版權、特定類別的事件連結及主辦單位網站連結,增強事件資訊的呈現。
【主要功能】
• 提供短碼功能以顯示事件資訊
• 自動建議 The Events Calendar 類別路徑
• 支援在文章中使用短碼
• 自動顯示圖片版權文字
• 允許連結至外部網站或內部連結
外掛標籤
開發者團隊
② 後台搜尋「Add infos to The Events Calendar」→ 直接安裝(推薦)
原文外掛簡介
The lightweight plugin “Add infos to the events calendar” provides a shortcode block (image copyright, button with link to events with a special category, link to the website of the organizer) to single events for The Events Calendar Free Plugin (by MODERN TRIBE)
The path to The Events Calendar (TEC) categories is automatically suggested during installation. To be on the safe side, however, you should check this by going to the relevant event after using the shortcut and checking that the links are executed correctly.
As a rule, the short code (description and examples see below) should be one of the last lines of a single event. However, the short code can also be used in principle in posts. In this case, you should usually not use the option “vl”, because this option refers to events, unless you want to link to a specific category in a contribution on events, for example.
Automatically displays the text from “Caption” (see Media, image details) in italics by default for an event or a post. A copyright notice should be entered in this field.
Attention
If the plugin is deleted, the shortcode remains in the posts and events. In this case use a plugin to delete the shortcodes, e.g. Shortcode Cleaner Lite (see wordpress.org). However, there is no guarantee that all shortcodes will be deleted correctly.
Shortcode – Options
link = link e.g. to organizer
vl = list of events
il = e.g. used for internal link
Call Examples
[fuss link=”https://externer_link.de” vl=””] –> always shows picture credits, then more info with the link to external website and at vl=”” the link to “more events”.
[fuss vl=””] –> always shows picture credits, but no link to external website and at vl=”” the link to “more events”.
[fuss] –> always shows picture credits, but no link to external website.
[fuss link=”https://externer_link.de” vl=”nature”] –> always shows picture credits, then more info with the link to external website and at vl=”Nature” the link to “more events: nature”.
(of course the category must exist in The Events Calendar (this is checked by a function). If the category does not exist, the event list will be shown.)
[fuss vl=”” il=”http://internal_link.de/example”] –> always shows picture credits, but no link to external website and at vl=”” the link to “more events” and at il=”http://internal_link.de/example” the link to another external or internal webesite.
