• Resolved thegrbteam

    (@thegrbteam)


    Is your plugin only useful for the custom fields that you create with your plugin? Or can it also be used to display custom fields that already exist?

    We’re looking for a nice solution to display custom field data in Elementor widgets which I see you plugin does, but is it only for the custom fields your plugin has created?

    Thanks in advance!!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @thegrbteam

    Since you are using Elementor you probably already can like any custom field you want right? Or doesn’t Elementor support custom fields manually?

    In any case, we didn’t create the integration code included in Elementor Pro. Please contact their support on this issue!

    Cheers, Jory

    Thread Starter thegrbteam

    (@thegrbteam)

    Hi Jory,
    Thanks for the reply, I appreciate it. I think maybe the mention of Elementor has made this more complicated. Let me try ask it in a different way please:

    We have a custom field created by another plugin, let’s just call it “Location”. That plugin offers no way to display the value for this easily within a page builder.

    Does your plugin let users display custom fields in the frontend that have been created by other plugins? Or, can it only display new custom fields created by your plugin? I thought plugins like yours maybe had a feature that if a custom field already exists there might but be some option to add it into your plugin so we can take better control of it like display it in the frontend in some post design we are creating.

    If so, please can you direct me to any docs you have on that?

    Many thanks!

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @thegrbteam

    Since Pods doesn’t have context for fields (metadata) used by external plugins it’s not really possible to use it in a display context. Of course you can display the raw information of a field but unless that raw information is already sufficient I doubt this is very helpful. For example, that “location” you mention from another plugin could be stored as geodata (lat/lng) and would then just be rendered as raw coordinates instead of a nicely formatted location.

    Besides the above, Pods in it’s core is a content creation tool which lets you add custom fields and configs to your installation. The display part can be done custom through PHP or using our build-in templates component. Alternatively you can use our blocks to show Pods fields and even templates.

    So in short, WordPress doesn’t really have “fields”, it has “metadata” which are raw values that contain the information for a plugin to use it as a field.
    In many cases the raw value is fine, because it’s text, but for relational data, dates, currencies, etc. some context for this field is required.

    Elementor, however, does supports dynamic tags to some degree. And for some plugins even checks the context for these tags so it knows how to display (use) the data.

    What is it you are trying to do exactly? I might be able to help you better if I know a bit more context. For example, are you trying to display something through a shortcode? A block? An Elementor module? Something else?

    Let me know!

    Cheers, Jory

    Thread Starter thegrbteam

    (@thegrbteam)

    Hi Jory, thank you for the detailed reply!

    What were are trying to do is have a way to display content/meta from custom post types into a Elementor template (or really just any page). How that was actually done e.g. a shortcode didn’t really matter.

    We can see this works for Custom Post Types you create with your plugin, but we are looking for a solution that does it for Custom Post Types that already exist, from other plugins, where they don’t give you an easy way to display the custom meta in that post type.

    We have since solved this! We have now added support for WP Job Manager in Elementor and everything has started working.

    Thanks again and all the best, Dan

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display Existing Custom Fields?’ is closed to new replies.