Forum Replies Created
Viewing 5 posts - 1 through 5 (of 5 total)
-
AuthorPosts
-
December 14, 2021 at 8:18 AM in reply to: โ WP crash after upgrade MB Custom Post Types & Custom Taxonomies to v2.3.0 #32582
flim
ParticipantHi,
It is all good now. Thank you so much!
flim
ParticipantMany thanks ๐
flim
ParticipantI can use a different id now. Thank you.
I am new to WordPress and Meta Box, I wonder if I have some data input before, after change the metabox id, will those data become leftover in the database? If so, how to remove the previous id and data?
flim
ParticipantThis is how I create the field, I want to change the id "feature_list" to "highlight_features" but not work.
add_filter( 'rwmb_meta_boxes', 'highlight_features_register_meta_boxes' ); function highlight_features_register_meta_boxes( $meta_boxes ) { $prefix = ''; $meta_boxes[] = [ 'title' => 'Highlight Features', 'id' => 'highlight_features', 'post_types' => 'product', 'context' => 'normal', 'fields' => [ [ 'type' => 'wysiwyg', 'name' => 'Feature', 'id' => $prefix . 'feature_list', //'id' => $prefix . 'highlight_features', <-- not work ], ], ]; return $meta_boxes; }flim
ParticipantI have found the solution here.
Use a regular select when setting Custom Taxonomy of a Custom Post Type
In addition, I also check "Whether to display a column for the taxonomy on its post type listing screens." in order to show the Job Type column in Career listing screen.
-
AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)