
內容簡介
動態標籤是一個 Elementor 外掛,可添加一些有用的動態標籤。
此外掛需要 Elementor Pro,因為它使用動態標籤來設置比較條件。
它提供以下標籤:
文字標籤
Cookie (可以在所有設置的 Cookie 中進行選擇)
Session(可以在所有設置的 Session 鍵中進行選擇)
當前語言(從 WPML 或 Polylang 返回當前語言)
當前 URL(返回實際呼叫的 URL)
NumberPostsQuery(使用自定義查詢返回文章數量)
PodsExtended(支持 pods 中的是/否字段)
伺服器變量(返回 $ _SERVER PHP 變量的內容)
使用者/作者圖像(返回使用者/作者圖像 URL,如果找不到則返回 false)
使用者角色(返回當前使用者角色的逗號分隔列表)
WidgetContent(返回選定的 widget-id 的 widget 內容)
文章標籤
文章內容
文章父節點
文章狀態
文章類型
是/否標籤
評論允許嗎
當前使用者是否可以(例如檢查使用者是否可以編輯文章)
是否為文章作者
是否為 feed
是否為首頁
是否為主頁
文章是否位於該分類中
文章是否在列表中
是否為單一文章
外掛標籤
開發者團隊
原文外掛簡介
Dynamic Tags is an Elementor addon that adds some useful dynamic tags.
The plugin requires Elementor Pro since it uses Dynamic Tags to set the comparison conditions.
It provides the following tags:
Text-Tags
Acf Repeater (returns content of an acf-repeater field)
Cookies (you can select between all set cookies)
Session (you can select between all set session keys)
Current-Language (returns current language from WPML or Polylang)
Current-Url (returns the actually called url)
NumberPostsQuery (return number of posts with a custom query)
PodsExtended (supports yes/no fields of pods)
Server Vars (returns content of $_SERVER PHP-Variable)
User/Author Image (returns the user/author image-url or false if not found)
User Role (returns a comma-separated list of current user roles)
WidgetContent (returns content of a widget selected by widget-id)
Post Tags
Post Content
Post Parent
Post Status
Post Type
Yes/no tags
Are Comments allowed
Current User Can (can check, for example if user can edit_posts)
Is author of post
Is feed
Is Frontpage
Is Home
Is Post in category
Is Post in list
Is Singular
