Solid Dynamics Plugin
Helpful utilities for Elementor, Jet Engine, and beyond.
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.
Installation
- Download, unzip, and upload the plugin folder to
/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Screenshots
Custom Callback Dynamic Tag using the wp function wp_get_post_parent_id
.
Custom Menu Dynamic Tag
The various Dynamic Tag options
Changelog
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