[WordPress] 外掛分享: DynamicTags

WordPress 外掛 DynamicTags 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「DynamicTags」是 2020-08-13 上架。
  • 目前有 2000 個安裝啟用數。
  • 上一次更新是 2025-02-11,距離現在已有 82 天。
  • 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 有 9 人給過評分。
  • 論壇上目前有 1 個提問,問題解答率 0%

外掛協作開發者

rtowebsites |

外掛標籤

elementor | dynamic tags |

內容簡介

動態標籤是一個 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

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「DynamicTags」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.2.2 | 1.3.0 | 1.4.0 | 1.4.1 | trunk |

延伸相關外掛(你可能也想知道)

文章
Filter
Apply Filters
Mastodon