Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi Paul,
The Oxygen builder is not fully compatible with Meta Box to show the field image in the builder. You can use the helper shortcode
[rwmb_meta id="field_id" size="thumbnail"]or create a custom shortcode/function to show the field image.Refer to this topic https://support.metabox.io/topic/settings-page-image-output-stuck-in-150x150-configuration/
Long Nguyen
ModeratorHi Laurent,
When outputting value for show image, you can use the second argument
array( 'size' => 'medium' )in the helper function.Get more details on the documentation https://docs.metabox.io/fields/single-image/#template-usage
Long Nguyen
ModeratorHi Aaron,
It is possible that there is a conflicting plugin activated on your site. Please follow the step Debugging Information here and let me know how it goes.
Long Nguyen
ModeratorHi Laurent,
I've created a short video to show a demo case, show lyrics with time on the frontend by using Meta Box custom fields.
https://www.loom.com/share/d1943a8ebf324c1495beaf44ed86aa4eHere are steps to do:
- Create a cloneable group with two subfields Text
- Add the field value: time and lyrics to a song
- Add the code to the template file which displays the single song
- Style the text with some CSS code<?php $lyrics = rwmb_meta( 'lyrics' ); echo '<div class="lyric-wrapper">'; foreach ( $lyrics as $lyric ) { echo '<div class="lyric-time">' . $lyric['lyric_time'] . '</div>'; echo '<div class="lyric-content">' . $lyric['lyric_content'] . '</div>'; } echo '</div>'; ?> <style> .lyric-time { opacity: 0.5; } .lyric-content { font-style: italic; color: red; } </style>Get more details on the documentation https://docs.metabox.io/extensions/meta-box-group/.
You need to have a basic knowledge about coding to do more advanced cases and use all features/options of Meta Box.
Long Nguyen
ModeratorHi,
Please refer to this topic to know how to query posts by custom taxonomy https://support.metabox.io/topic/display-recent-post-from-the-terms/
Long Nguyen
ModeratorHi Aaron,
The extension MB Include Exclude helps you to load meta boxes based on the condition. If you change the template of the page, you need to save and reload the page to show meta boxes.
You can use other extensions like MB Conditional Logic or MB Show Hide to show/hide meta boxes based on the condition, remember the meta boxes always loaded when using these extensions.
June 7, 2021 at 11:21 AM in reply to: ✅Website (wordpress) slows down dramatically when I enable Metabox plugin #28749Long Nguyen
ModeratorHi David,
Thank you for reaching out.
Can you please create a staging site and share the credentials via this contact form https://metabox.io/contact/. I will help you to check the issue.
June 6, 2021 at 9:22 PM in reply to: ✅Visual Builder: Conditionaly Hide/Show while Selcet Key = 0 #28744Long Nguyen
ModeratorHi,
Thank you for your feedback.
I've escalated this issue to the development team to fix it in the next update.
June 6, 2021 at 8:48 PM in reply to: ✅wyswig editor cutom field in text mode on gutenberg page #28743Long Nguyen
ModeratorHi,
I do not see the issue on my local site, screen record https://share.getcloudapp.com/DOuqGL70.
Please try to switch to the tab Text and re-check this issue.
June 6, 2021 at 7:29 PM in reply to: ✅Can a frontend submission generate related child posts? #28742Long Nguyen
ModeratorHi jkarel,
Do you mean to select a post parent when creating a post on the front end? Like this https://share.getcloudapp.com/mXur7NYo
June 6, 2021 at 7:07 PM in reply to: ✅Custom Post Type Post - Show in nav menus - not working #28741Long Nguyen
ModeratorHi,
You can also check the post type Boats is enabled in the Screen Options tab https://share.getcloudapp.com/5zuY5RYk
Long Nguyen
ModeratorHi,
Thanks for your feedback.
I've escalated this issue to the development team to check it and get back to you later.
Long Nguyen
ModeratorHi Quint,
Can you please share the code that creates the meta box and custom fields?
Long Nguyen
ModeratorHi,
Add attribute
target="_blank"is a good way, thanks Didou. On my local site, both ways are worked. Screen record https://www.loom.com/share/956524cf111e4be186b9da75fd9d6e50Not sure what's wrong with your site but you can go on this way.
Long Nguyen
ModeratorHi Jorge,
Follow the documentation of the File Advanced field to know how to show file information https://docs.metabox.io/fields/file-advanced/#template-usage
You need to create a for loop to show the file info, here is the sample code
{% for post in posts %} {% set files = mb.rwmb_meta( 'descarga_archivo', '', post.ID ) %} {% for item in files %} <a href="{{ item.url }}">{{ item.name }}</a> {% endfor %} {% endfor %} -
AuthorPosts