Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
It would be too complicated to create the admin columns for the custom models. If you are familiar with coding, you can find some filter hooks in the file
wp-content/plugins/mb-admin-columns/src/Model.phpHope that helps.
Long Nguyen
ModeratorHi,
It is not possible for now. I will inform the development team to create an action hook to show something in that box.
September 24, 2021 at 10:19 AM in reply to: Automatically Add Tags Taxonomy in Post from Custom field's value #30930Long Nguyen
ModeratorHi,
The post tags save the tag ID (term ID) in the database, like the taxonomy field. So it is not possible to add text to the tag like that.
You can add the text when outputting the post tag on the front end.
September 24, 2021 at 10:07 AM in reply to: Get Image Src (URL) from Text Field and Set Featured Image #30929Long Nguyen
ModeratorHi,
If you follow those topics to set the featured image based on the image URL, you can use the helper function
rwmb_meta()to get the Meta Box field value.$value = rwmb_meta( 'app_img_link' );Please read more on the documentation https://docs.metabox.io/fields/text/#template-usage
Long Nguyen
ModeratorHi,
Thanks for the feedback.
I will inform the development team to cover this issue in the next update.
September 24, 2021 at 9:33 AM in reply to: Select Advanced with select2 ption Tags = true not saving data #30927Long Nguyen
ModeratorHi,
The field
select_advanceddoes not support adding a new option value if it does not exist. You can use the fieldtaxonomyortaxonomy_advancedto create a new term when submitting a post. Please read more on the documentation
https://docs.metabox.io/fields/taxonomy/
https://docs.metabox.io/fields/taxonomy-advanced/Long Nguyen
ModeratorHi Will,
Let me answer your questions.
-
You can use the Meta Box action hooks
rwmb_{$meta_box_id}_after_save_postorrwmb_{$field_id}_after_save_fieldto run a public APIaddfunction to add value for an object. Please read more on the documentation
https://docs.metabox.io/actions/
https://docs.metabox.io/extensions/mb-custom-table/#add -
Currently, the plugin does not support modifying the Submit button. You can try to use a translation plugin to translate the button text.
-
Please use the setting
capabilityto control access to the model based on capability. Please read more here https://docs.metabox.io/extensions/mb-custom-table/#step-1-register-a-model -
It is not supported. I will inform the development team to support changing the item ID by a field value in the heading.
Long Nguyen
ModeratorHi Will,
The new version of MB Admin Columns 1.6.0 supports showing admin columns for the custom fields in the custom model page. It will be included in the next release of MB AIO.
September 23, 2021 at 3:09 PM in reply to: Is there a way to populate posts / fields importing from Google Sheets / Excel? #30910Long Nguyen
ModeratorHi Keith,
There is an article that shows you how to import posts and custom fields (simple field) from Google sheets and WP All Import. Please find it here https://metabox.io/create-and-import-project-portfolio/
Long Nguyen
ModeratorHi Jeremie,
If you are using the Builder to create the post type and generate PHP code to add to the file functions.php, you need to add a backslash character before the single quote. Like this
'add_new' => esc_html__( 'Add Ne\'w', 'your-textdomain' ),All the features of the Builder are the post types. For example, the feature
Post Typesis the post typemb-post-typeand it is stored in the database like other post types.Long Nguyen
ModeratorHi,
Thanks for your feedback.
I will inform the development team to support an attribute to remove the link to relationship items.
September 23, 2021 at 12:41 PM in reply to: How to store more than one value in a text field? #30907Long Nguyen
ModeratorHi,
The
textfield is used to store the text value only. If you want to be able to select, please use the fieldselectorcheckbox_list.
https://docs.metabox.io/fields/select/
https://docs.metabox.io/fields/checkbox-list/Long Nguyen
ModeratorHi,
Because the helper function
rwmb_meta()is executed after the action hookrwmb_meta_boxesso it will not work. If you want to retrieve user meta when register meta boxes and custom fields, please use the function get_user_meta().And the function should return an array of
'value' => 'Label'pairs. Please read more here https://docs.metabox.io/fields/select-advanced/#settingsLong Nguyen
ModeratorHi,
It's not possible to copy PHP code to the builder to edit. But you can export the field group to a
jsonfile then change some parameters and re-import it to the builder. Please read more here https://docs.metabox.io/extensions/meta-box-builder/#export--importLong Nguyen
ModeratorHi,
You are using the main query in Insert Field tab > Query > Main query: Loop
https://docs.metabox.io/extensions/mb-views/#main-query{% for post in query.posts %} ... {% endfor %}that means this query only applies to the type: Archive to show the list posts of the archive post type page. And it does not work for a single post or a single page.
If you want to show a list of
animalposts on a single page, you can use the custom query. Please read more here https://docs.metabox.io/extensions/mb-views/#custom-query -
-
AuthorPosts