Metabox Group Skin - Elementor Template

Support MB Elementor Integrator Metabox Group Skin - Elementor Template

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #36845
    KaraKara
    Participant

    Hello -

    I have a front-end form that collects social media URLs in a sub-group. I need to display these in a CPT and so created a MetaBox Group Skin.

    I can't find any documentation on the MetaBox Group Skin, so I'm assuming I'm doing something wrong - any ideas?

    Here's what I've done:

    1. Edit the CPT template in Elementor
    2. Add the MetaBox Group widget
    3. Type: Sub-group
    4. Object Type: Post
    5. Group: Social Media
    6. Select "Create/Edit a Group Skin
    7. Note: When I *don't* select a skin, I can see a list the URLs on the page, but they are not clickable.

    Then, I create the skin:

    1. Add New Template: Type: MB Group Skin / Name: "Social Media" --> Create Template
    2. Add Social Icons widget
    3. Add Facebook Icon
    4. For the link, choose Dynamic Content > Meta Box Field > Under "Social Media Group", choose "Facebook Profile"
    5. Repeat for remaining social media links
    6. Save Template with no conditions
      (Note: I also tried saving with the condition to show on the CPT, same result)
    7. Then go back to the CPT, select the new skin to display the MB Group with, and hit save.

      Result: If I try to show using the skin, nothing shows on the front end.
      If I add the skin using the Elementor Shortcode, it displays the skin, but the URLs return "Array"

      Note: If I add the the Meta Box group widget in the CPT and do not select a skin, the URL text does show up on the front-end, but they are not clickable. It just says "Array"

      Thank you for your help.

    #36861
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Please notice that the helper function rwmb_meta() or integrator supports showing raw URL (text) on the frontend as a link to click.

    To show the URL field value in a button/link, you need to assign it to the attribute href of the <a> tag to make it clickable. Just like

    <a href="<?php echo rwmb_meta( 'field_url_id' ) ?>">Button Link</a>

    #36862
    KaraKara
    Participant

    Hi Long - thanks for that, but I'm not totally following.

    How do I assign it when creating a MetaBox group skin?

    I'm specifically trying to use the Social Media Widget from Elementor
    Screenshot: https://tinyurl.com/2fmlps87

    #36889
    Long NguyenLong Nguyen
    Moderator

    Hi,

    It looks like the subfield URL value is not added to the link field of Elementor. I will inform the development team to consider supporting this case in future updates.

    Meantime, please use the URL as a top field to get the link dynamically.

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