Using dynamic data in loop builder with Custom Post Types (CPT)

Hi there,

I recently purchased Betheme and love how fast the builder performs. I am also loving the loop builder.

What I am trying to understand is how to use dynamic data within the loop builder for sections and wraps. After searching your support forums and the web, there is little documentation on custom fields and dynamic data.

My question is:

Is it possible to use Toolset to create my own Custom Post Type and feed that data into the loop builder, if so, how do I do that?

I am trying to achieve:

  • A custom post type using Toolset (a supported plugin). Not the default WordPress "Post" type.
  • Insert any data I set in the post in a loop. Even if that means using {postmeta:meta_key}.
  • Something similar to your demo here: https://themes.muffingroup.com/be/toolset/ which states it was built with Toolset.

I have purchased and installed Toolset but when creating my own custom post types, I found it difficult to find the data by tag or category in a loop builder. In fact, nothing would appear no matter how I configured it.

Custom Post Types:

What I didn't realise is Betheme has custom post fields with the default "Posts" type for WordPress. It took me a while to find this even after watching your videos and downloading demos. I was then able to create a post with my own fields.

The issue here is that creating lots of different types of posts and only using categories and tags to separate them can make it difficult to use and search as it's all stored under one post type "Posts". It would be ideal if we could create our own custom post types.

For anyone looking to add custom data to a post:

  • Go to posts in Wordpress, and create a new post.
  • In the post, select the menu (3 dots) top right.
  • Then go to Preferences then to Panels and make sure Custom fields is selected.
  • Go back to the post, scroll down and you'll see custom fields such as "mfn-page-items".
  • Add a new field and title anything you like such as "mfn-new-image-background"
  • Add an Image URL to the field value and save.
  • Add the post to a category of your choice or create a new category. I created "Sliders".


Now go to your page in the builder, find the loop and:

  • Set the query to "Posts"
  • Set Post type to "Post"
  • Set the category to your new category, mine was "Sliders"
  • You can now use the dynamic data in your loop builder but for anything that is not available in the default selection, you can use the post meta option to insert dynamic data. For example, {postmeta:meta_key}. As per above, I would use {postmeta:mfn-new-image-background}


Comments

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.