Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi Jon,
Thank you for your feedback.
I've informed the development team to check this case. I will get back to you if there is any information.
May 18, 2021 at 6:00 AM in reply to: ✅Oxygen/WYSIWYG, Images, Video fields output to Array not an image or video #28247Long Nguyen
ModeratorHi Anthony,
Please update the new version of Meta Box 5.4 then you can embed a video in the WYSIWYG field and use the shortcode to show it.
Long Nguyen
ModeratorHi Harry,
You can generate the code by clicking on the button Get PHP Code in the Builder https://docs.metabox.io/extensions/meta-box-builder/#getting-php-code
Long Nguyen
ModeratorHi Erik,
Thank you for your additional information. I see that the WYSIWYG subfield in a cloneable group does not automatically add the
<p>tag when using the Classic editor. Please use the Block editor instead and re-create the content. I will escalate this case to the development team to check it.Long Nguyen
ModeratorHi,
- Text List (cloneable)
- Fieldset Text
- Group
will save data in a serialized array. You can see on the documentation
https://docs.metabox.io/fields/text-list/#data
https://docs.metabox.io/fields/fieldset-text/#dataYou can also read more on this article to choose the custom fields or custom taxonomies for query posts.
https://metabox.io/custom-fields-vs-custom-taxonomies/Long Nguyen
ModeratorHi Harry,
Can you please share the code that creates the custom fields? I will check it on my end.
May 17, 2021 at 9:04 PM in reply to: ✅Access Selected Taxonomy on Insert/Update from Frontend #28231Long Nguyen
ModeratorHi,
Can you please share the code that creates meta boxes and custom fields? The field taxonomy set post-term like category or tag so it will not work as a subfield in group or block.
If you want to access the selected taxonomy ID, you can use the variable
$_POST['field_id']. See more here https://docs.metabox.io/extensions/mb-frontend-submission/#general-hooksMay 17, 2021 at 6:17 PM in reply to: ✅Fatal error: Uncaught Error: Class 'MBBParser\Arr' not found #28229Long Nguyen
ModeratorHi,
Please update the new version of Meta Box AIO 1.13.11 or MB Builder 4.1.5 to fix this issue.
Long Nguyen
ModeratorHi,
It looks like you have a cloneable group with subfields title and content. I've tried to reproduce these fields on my local site but still cannot see the issue. The
<p>tag displays on the frontend as well. Please share your site credentials via this contact form https://metabox.io/contact/, I will check it out.Long Nguyen
ModeratorHi,
candidateis a post object so if you want to get the post URL, you can use the WordPress function get_the_permalink()2. Candidate Link: {{ mb.get_the_permalink( candidate.ID ) }} <br/>The fields in the list Insert Fields would not work if you use the custom query (get_posts). Use the WordPress functions base on the post ID instead.
Long Nguyen
ModeratorHi Stephen,
This is not the way of the extension MB Include Exclude works. If you set a meta box shows when the page/post has the template abc123.php, it will show in the backend (admin area) if you select the template here https://share.getcloudapp.com/QwuEpooy
If you want to show a meta box and custom fields on the frontend form only, you can check if the admin area does not load.
function my_custom_meta_boxes( $meta_boxes ){ if( !is_admin() ) { $meta_boxes[] = array ( ... ); } return $meta_boxes; }May 16, 2021 at 4:07 PM in reply to: ✅How to create a bullet point list or list using custom post types #28216Long Nguyen
ModeratorHi Mohammed,
Thank you for reaching out.
You can use the field type WYSIWYG to create a bullet point list or text_list to create a list.
To display field value on the frontend, please follow the documentation https://docs.metabox.io/displaying-fields/
Long Nguyen
ModeratorHi Erik,
So please share the full code that you are using to show the field value, I will try to reproduce the issue on my end.
May 15, 2021 at 4:40 PM in reply to: ✅How to Display the list of Meta Box Custom Posts in Gutenberg? #28206Long Nguyen
ModeratorHi Vojkan,
Thank you for reaching out.
There is an extension MB Blocks that helps you to create a custom block with coding. If you are familiar with the code, you can create your own block to show a grid of post type.
https://docs.metabox.io/extensions/mb-blocks/Or you can use another plugin, such as https://wordpress.org/plugins/display-post-types/
Long Nguyen
ModeratorHi,
All the field values (meta) are stored in the database and assigned to a post. See more here https://wordpress.org/support/article/custom-fields/
But it's very hard to query by value in a serialized string. You can read the query by meta value on the documentation https://developer.wordpress.org/reference/classes/wp_query/#custom-field-post-meta-parameters
-
AuthorPosts