
Solid Dynamics
by soliddigital on WordPress.org

Custom Callback Dynamic Tag using the wp function wp_get_post_parent_id
.
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
: Pluckfield
off each item inlist
(src
meta or option), and join withsep
.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 functionfunction|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.