Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorThe argument
publicshould be set totrueorfalse. You can create a test taxonomy with the tool Online Generator and combine it with your code https://metabox.io/taxonomy-generator/November 11, 2022 at 5:46 PM in reply to: ✅Metabox breaks when adding additional fields in Field Group #39071Peter
ModeratorGreat.
Let me know if you have any questions.Peter
ModeratorHello there,
Yes, you can use the existing table for a new custom post type. When creating the custom fields for the post type, please use the field IDs that match with the column name in that table. You can read more on the documentation https://docs.metabox.io/extensions/mb-custom-table/#using-existing-tables
Peter
ModeratorHello Yasmine,
If you want to display a list of users on the frontend with Elementor page builder, you can create a field
userfor a post and select some users. It works like other select fieldspostandtaxonomy.If you want to display a list of users by coding, please use the WordPress function get_users().
Peter
ModeratorHello Macky,
The field
textareadoes not save the line breaks to the database, you have to add the HTML tag<br>or newline character\nto display the line breaks on the frontend.Peter
ModeratorHello Arno,
Please generate the PHP code from the builder and add the code to the file functions.php in the theme/child theme folder to create the custom taxonomy and deactivate all plugins (including Meta Box plugins) and recheck this issue. Let me know if the issue is resolved.
Peter
ModeratorYou can access the field value on submitted through the global variable $_POST. For example:
$_POST['field_id']Peter
ModeratorHello Pat,
There is no option to update the relationship field automatically, you need to manually select it. Or if you are familiar with coding, you can follow this documentation to know how to create relations programmatically https://docs.metabox.io/extensions/mb-relationships/#creating-connections-programmatically
Peter
ModeratorHello Eddie,
The shortcode supports displaying the term meta value on the frontend, not the term name or taxonomy title. It is different. The term meta works like the post meta, add some additional information for the term. Please read more on the documentation https://docs.metabox.io/extensions/mb-term-meta/
If you want to display the term name in a loop while using Elementor, please contact Elementor support for further assistance.
Peter
ModeratorHello Mike,
Can you please deactivate all plugins except Meta Box, MB extensions, switch to a standard theme of WordPress (2022) and recheck this issue? And please share the code that creates the custom fields on your site, I will check it on my site.
Peter
ModeratorHello Piotr,
There is no option to add a column to the frontend dashboard. If you are familiar with coding, you can follow this topic to create a custom frontend dashboard on your own https://support.metabox.io/topic/duplicate-dashboard-shortcode
the post list in the dashboard is just created by a WP query.November 10, 2022 at 7:49 AM in reply to: ✅Unable to view any information on user profile page #39041Peter
ModeratorI got the issue. You need to assign the field group to the Users instead of Posts to make it works, screenshot https://monosnap.com/file/maXzxqqXyFAx7DNbF9JTuFEfXf1vns
Peter
ModeratorHello Macky,
The function wp_insert_post() requires inserting the post title and content to the post. It is the requirement of a WordPress function so there is nothing we can do with Meta Box.
If you want to update/create the field value of a post, please take a look at the function update_post_meta() and refer to this topic https://support.metabox.io/topic/error-while-inserting-field_id-in-rwmb_after_save_post/#post-37979
November 9, 2022 at 9:39 PM in reply to: Populate a WP GRIDBUILDER grid with Advanced Image field #39030Peter
ModeratorHello AnLip,
WP GridBuilder officially supports the integration with Meta Box to display the field value. Please check it here https://docs.metabox.io/compatibility/
So I recommend contacting WP GridBuilder support to ask for further assistance.November 9, 2022 at 9:35 PM in reply to: Getting Label of a Select field inside a cloneable Group #39029Peter
ModeratorHello,
I see you've created another topic with the same question https://support.metabox.io/topic/getting-label-of-select-field-on-a-group
Please use the helper function rwmb_get_field_settings() to get the field settings and use the for loop to get subfield settings.
-
AuthorPosts