Utilizing Dynamic Tags in JupiterX for Dynamic Content
Dynamic content is a powerful feature in JupiterX that allows you to pull content from different sources dynamically, based on the page or post being viewed. Dynamic tags make this function even more versatile, letting you insert content that updates automatically according to specific criteria. In this article, we’ll explore the various dynamic tags available in JupiterX and how you can utilize them to make your website more interactive and personalized.
Understanding Dynamic Tags
Dynamic tags in JupiterX enable you to dynamically display content such as post details, archive information, site information, user data, WooCommerce product details, and more. The availability of dynamic tags depends on the context in which they are used, meaning you'll only see the tags applicable for a particular dynamic content field.
Here’s a detailed overview of the dynamic tags categories offered by JupiterX and their functions:
POST
- Post Custom Field: Pulls from custom fields tied to the current post.
- Post Excerpt: Displays the summary of the current post.
- Post ID: Reveals the unique WordPress ID of the current post.
- Post Terms: Shows taxonomy terms (categories, tags, etc.) of the current post.
- Post Time: Reflects the publication time of the post.
- Post Title: Outputs the title of the current post.
- Post URL: Provides the direct link to the current post.
Note: The display of 'Post Time' may be influenced by page caching. To ensure the correct time displays, you might need to adjust your cache plugin settings.
ARCHIVE
- Archive Description: Exhibits the description of the current archive.
- Archive Meta: Displays meta information for the current archive.
- Archive Title: Indicates the title of the current archive.
- Archive URL: Links to the current archive page.
SITE
- Page Title: Shows the title of the current page.
- Site Tagline: Outputs the tagline of the site.
- Site Title: Reveals the title of the site.
- Current Date Time: Displays the current date and time.
- Request Parameter: Uses data transferred through GET, POST, or Query Vars Requests.
- Shortcode: Displays output from a dynamic shortcode.
- User Info: Exhibits information about the current user.
- Site URL: Offers the URL of the site.
- Internal URL: Shows internal links related to content, taxonomy, media, or the author.
ACTIONS
- Popup: Activates or closes a popup when an element is clicked.
MEDIA
- Featured Image Data: Shows data related to the post's featured image.
AUTHOR
- Author Info: Displays information about the post's author.
- Author Meta: Outputs meta information about the author.
- Author Name: Shows the author's name.
- Author URL: Links to the author's page.
COMMENTS
- Comments Number: Reflects the number of comments on the post.
WOOCOMMERCE
- Product Price: Showcases the price of the product.
- Product Rating: Displays the product's rating.
- Product Sale: Indicates if the product is on sale.
- Product Short Description: Portrays the product's short description.
- Product SKU: Reveals the SKU of the product.
- Product Stock: Shows the stock status of the product.
- Product Terms: Lists taxonomy terms for the product.
- Product Title: Displays the product's title.
ACF
- ACF Field: Incorporates content from an Advanced Custom Fields field.
How to Use Dynamic Tags
To utilize dynamic tags, follow these steps:
- Edit the page or post where you wish to add dynamic content.
- Select the widget that requires dynamic tag functionality.
- Within the widget’s settings, click on the dynamic tag icon (database symbol) next to the field you want to be dynamically populated.
- Choose the appropriate dynamic tag from the list provided.
- If needed, enter specific details such as the custom field key or the meta key to match the content source.
By strategically using these dynamic tags, you can automate a considerable portion of your website's content population. This not only makes the site more engaging and current but also reduces the need for manual updates, which can save you time and ensure consistency.
In conclusion, JupiterX's dynamic tags feature is a potent tool that can revolutionize the way you manage content on your website. Whether you’re showcasing real-time information or tailoring content for each user, dynamic tags enable an interactive and personalized experience that keeps your website fresh and relevant.