[WordPress] 外掛分享: Solid Dynamics

首頁外掛目錄 › Solid Dynamics
WordPress 外掛 Solid Dynamics 的封面圖片
80+
安裝啟用
尚無評分
183 天前
最後更新
問題解決
PHP 7.0+ v1.12.0 上架:2021-06-16

內容簡介

此外掛提供了「Solid Dynamics」區段下的多個動態標籤:

Custom Callback:呼叫任何 PHP 函數,並將目前的文章作為第一個參數傳遞。
Menu:傳回特定選單的逗號分隔文章 ID。
Parent Meta:根據輸入的 meta key 取得父文章的 meta 值。
List Pluck:從 list(來源為 meta 或 option)的每個項目中取出 field,然後使用 sep 連接。

此外掛還提供了幾個設定,在「設定」>「Solid Dynamics」下:

一般:

停用 404 網址猜測。

Elementor:

隱藏在編輯頁面上的「回到 WordPress 編輯器」按鈕。
隱藏 Hello Elementor 主題的頁面標題。
使用 main#content 包裝內容。
使淡入入場動畫更加微妙。

貢獻

代碼被管理在 GitHub 上,並同步到 WordPress 的 Solid Dynamics SVN 存儲庫 中。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.12.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Solid Dynamics」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Elementor Widget Usage
Solid Dynamics provides an Admin Page called, “Widget Usage” under the “Solid Dynamics” menu that shows the individual posts in which a widget is used. Currently, the Elementor Element Manager only shows the total number of usages of a widget. We’re always wondering where those widgets are being used, and “Widget Usage” is the answer to that question.
Elementor Custom CSS Info
A Solid Dynamics Admin Page called, “Custom CSS Usage” shows two types of custom CSS. First, at the top of the page is shown the total lines of custom CSS in the Elementor site settings. Second, in a table below is shown the pages that have widget with custom CSS under the Advanced tab.
Elementor Dynamic Tags
Solid Dynamics also provides several dynamic tags under the “Solid Dynamics” section in Elementor:

Custom Callback: Call any php function. The current post is passed as the first argument.
Menu: Returns comma-separated post ids of a specific menu.
Parent Meta: Retrieves the meta value of the parent post based on the entered meta key.
List Pluck: Pluck field off each item in list (src meta or option), and join with sep.
Post Field: Retrieves custom post field by name.
Post Type Label: Retrieves post type label.

Elementor Display Conditions
Solid Dynamics also provides several display conditions for Elementor:

Solid Dynamics Macro: access post or user data, e.g. post|post_content, user|user_email, or call any function function|get_current_user_id. The result can be checked directly or compared against a value.

Settings
Solid Dynamics also provides several general use and Elementor specific settings under the menu Solid Dynamics. All settings have to be opted in to. Activating the plugin does not activate any of the settings. Activating the plugin does automatically make the dynamic tags listed above available.
General Settings:

Disable 404 permalink guessing.
Disable the enumeration of users using the rest API. Disables /wp-json/wp/v2/users and /wp-json/wp/v2/users/:ID
Add a sortable column of registration dates to the Users page

Elementor:

Hide the “Back to WordPress Editor” button from the edit page.
Hide the page title from the Hello Elementor theme.
Wrap content with main#content.
Make fade in entrance animations more subtle.

Contributing
The code is managed on github, and synced to WordPress’ Solid Dynamics SVN repo.

延伸相關外掛

文章
Filter
Mastodon