Dynamic Data
Use dynamic data everywhere in your site.
Dynamic Data is a WordPress Plugin for displaying dynamic data from post_meta, user_meta, and wp_options.
The usage is quite simple, just use the following code format:
{post_meta: meta_key}
{user_meta: meta_key}
{wp_option: meta_key}
Change meta_key
according to your needs.
General
Install
Step 1: Download
Download the plugin in Studio Inspirasi, so you will get the zip file of the recent plugin update.
Step 2: Upload & Install
Upload and Install the plugin to your WordPress by navigating to your wordpress dashboard menu in: Plugins
> Add New
> Upload Plugin
> Choose File
> Install Now
.
Step 3: Activate
After successfully install the plugin, click the Activate
link in the process.
Update
📣 Caution
Please backup your data before updating the plugin!
Step 1: Check Update
Navigate to your WordPress Dashboard Menu in: Plugins
> Installed Plugins
. If the update is exists, the Update Now
link will be displayed.
Step 2: Update Now
When you have backed up your site, and ready to install the update, click Update Now
link.
How to Use
The tutorial of "How To Use Dynamic Data" is here below:
Features
Post Meta
You can get the postmeta value by inserting custom post meta by using advance custom field, metabox, jetengine or anything as far as the data of custom field is being saved in prefix_postmeta
table. For example:
{post_meta: vehicle_type}
: Get the type of the current vehicle.{post_meta: vehicle_brand}
: Get the brand of the current vehicle.
User Meta
You can get the current user data that being saved in prefix_usermeta
table. For example:
{user_meta: job}
: Get the current user's job.{user_meta: hobby}
: Get the current user's hobby.
WP Option
You can get the data from prefix_options
table. For example:
{wp_option: blogname}
: Get the name of the blog.{wp_option: siteurl}
: Get the url of the site.
Use Cases
Dynamic Data developed and used by Studio Inspirasi to get the data from database easily using {like-this: code}
. Some of use case we have found:
- Query Loop: Using dynamic data in a query loop making it very easy to get the data based on every single loop.
- Single Template: Designing single template with dynamic data give us ability to show the details of the single post.
📂 Contribution
Interested in the plugin improvement? Email us on dev@studioinspirasi.com! From feature suggestions to bug fixes, all contribution are welcome.