這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Solid Dynamics

外掛說明

This plugin provides several dynamic tags under the “Solid Dynamics” section:

  • 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.

This plugin also provides several general use and Elementor specific settings at Settings > 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:

  • 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

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.

螢幕擷圖

  • Custom Callback Dynamic Tag using the wp function wp_get_post_parent_id.
  • Custom Menu Dynamic Tag
  • The various Dynamic Tag options

安裝方式

  1. Download, unzip, and upload the plugin folder to /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Solid Dynamics〉的開發相關工作。

參與者

將〈Solid Dynamics〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.5.0

  • Feature: add Disable Users REST API

1.4.0

  • Feature: add Post Field dynamic tag.

1.3.4

  • Fix fatal error on get_class call.

1.3.3

  • Add support for term and user meta to list pluck tag.

1.3.2

  • Add support for wp_options to list pluck tag.

1.3.0

  • Feature: add settings: Disable 404 permalink guessing; Hide the page title from the Hello Elementor theme; Wrap Elementor content with main#content; Make Elementor fade in entrance animations more subtle.

1.2.0

  • Feature: add settings page with option to remove elementor’s “back to wp editor” button.

1.1.3

  • Bug fix: Do not try to load JetEngine if plugin is not preseent

1.1.2

  • Bug fix: Escape custom callback output with wp_kses_post since it could include html.
  • Bug fix: Escape the menu output with esc_html since it should only be comma-separated ids.

1.1.0

  • Feature: Add menu dynamic tag.

1.0.0

  • Feature: Initial release