Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterSorry, that was a typo mistake. I've just updated the plugin with the fix. Please re-download it.
Thanks
AnhAnh Tran
KeymasterHi @Unce,
The custom fields for terms are displayed when you editing a term. Currently the plugin doesn't support show custom fields in the Add new page.
Anh Tran
KeymasterJust updated the extension with fix. Please download and try it.
Anh Tran
KeymasterLet me check that.
Anh Tran
KeymasterAre you using old version of the Meta Box plugin? This class is available since 4.8.0.
Anh Tran
KeymasterJust sent you an email 🙂
Anh Tran
KeymasterCan you provide some details on that? I’m not clear about it.
Anh Tran
KeymasterYou can use this snippet:
$post_type = get_post_type(); $meta = array( '' => 'Choose Meta Field', ); $meta_boxes = RWMB_Core::get_meta_boxes(); foreach ( $meta_boxes as $meta_box ) { if ( $post_type != $meta_box['post_types'] && ! in_array( $post_type, $meta_box['post_types'] ) ) { continue; } foreach ( $meta_box['fields'] as $field ) { if ( ! empty( $field['id'] ) ) { $meta[$field['id']] = $field['name']; } } }Anh Tran
KeymasterEmail sent.
Anh Tran
KeymasterI’m still working on the extension. It supports basic fields and have no fancy yet (like live refresh). I can send you the beta version for testing.
Anh Tran
KeymasterIf you’re editing a published page and then click Preview then you can’t see the meta values unless you set “autosave” true for the meta box.
The thing here is WordPress auto saves post title and post content so you can preview them while edit (there must be a “save” action so you actually see the changes) and by default, Meta Box turns the autosave = off so you don’t see it. Setting “autosave” true fixes the problem.
Anh Tran
KeymasterI couldn’t find any bug with both plugins. They seem to work fine on my localhost. Do you have a test site that I can login to check?
Anh Tran
KeymasterJust updated the plugin with the fix 🙂
Anh Tran
Keymaster@paralexmedia: Thanks for your editing. I'm changing the visibility of Meta Box methods and this works on the dev version on Github. I will release Meta Box new version which is compatible with this soon.
Anh Tran
KeymasterHi Blaine,
It looks like a kind of GUI builder for fields and tabs. Currently, there is no way to do that within the Tabs extension. However, you can try the MB Builder extension which helps you to create fields (and tabs) dynamically.
-
AuthorPosts