Custom Fields
Re-Envisioned
Support MB Custom Table Custom Fields stored/mapped in custom table not available in Oxygen builder

  • Creator
    Topic
  • #28487
    Resolved Prabakaran Shankar
    Participant

    Hi,
    I have created custom fields in 3 different options.
    1. Mapped to the custom table created via phpadmin
    2. stored in the custom table via the provided options in the settings panel of custom fields
    3. without storing in the custom table

    The page designing via oxygen builder not shown the custom fields created via the option 1 and 2. however, option 3 shown and functioned well.

    Could you please help me with this issue?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #28489
    Prabakaran Shankar
    Participant

    Hello,
    Relation to the above query, I have created a shortcode via MB Views to display the custom fields stored in the custom table. If I use shortcode, the oxygen Builder displays the custom field data from the custom table.
    Then, I have to create an MB Views shortcode for concern custom fields to use in the oxygen page template.

    #28501
    Long Nguyen
    Moderator

    Hi Prabakaran,

    It looks like the Oxygen Builder does not support getting the field value from the custom table, just from the default table wp_postmeta of WordPress. You need to create a View to use the shortcode or create a custom function to get the field value from the custom table.
    https://docs.metabox.io/extensions/mb-custom-table/#getting-field-value

    You can also use the helper shortcode to show the field value in Oxygen Builder https://docs.metabox.io/shortcode/

    #28505
    Prabakaran Shankar
    Participant

    Thank you so much for your kind response.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.