Forum Replies Created
-
AuthorPosts
-
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.
Anh Tran
KeymasterHi Blaine,
Could you please give more details on "add tabs using the groups functionality"? I'm not very clear about that.
Anh Tran
KeymasterHi,
The editor is still buggy when sorting. The WordPress JavaScript doesn't allow to change the DOM. We tried to reinit but didn't succeed for now. We'll check that later.
The fix for the remove button will be addressed soon 🙂
Anh Tran
KeymasterThe meta values are saved when you save the post as a draft. So they should be visible in the front end. How did you check that?
Anh Tran
KeymasterI have told @tannguyen, the developer of Conditional Logic to check it carefully. Please wait.
Anh Tran
KeymasterPlease try with require_once. Also which class the error says already declared?
Anh Tran
KeymasterDo you include the conditional logic multiple times in plugins?
-
AuthorPosts