Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi pza,
Unfortunately, the post fields are displayed outside of the meta box wrapper
div. It's not possible to move the fields into the tab unless using JavaScript. But that's kind of a hack and various depends on your meta box config.Anh Tran
KeymasterHi,
Have you tried to get help from Astra team? It's likely a theme issue.
Anh Tran
KeymasterHi AJ,
A good API is not available at the moment. But you can use jQuery or vanilla JS to change the field values.
Anh Tran
KeymasterHi JacquesSpijkers,
I understand. It's sad to see you go. I've issued the refund for you. Thanks for trying Meta Box.
Anh Tran
KeymasterIf you have to clone the field, then the only solution is using
taxonomy_advancedfield.July 18, 2019 at 8:46 AM in reply to: ✅The select field, which would show the list of values from specified type #15396Anh Tran
KeymasterThat's very creative. I'd suggest adding the index of the section (
$keyin your code) to generate the ID, to make sure it's unique.July 18, 2019 at 8:15 AM in reply to: Metabox switch not saving when in Metabox grouping on MB settings page #15395Anh Tran
KeymasterWhat do you mean "can this be fixed"? It's the default behavior of the MB Group, to prevent saving empty values. It's not a bug.
Anh Tran
KeymasterYes, it's true. Taxonomy field when saving will set the post terms. So, it can't be cloned. Only the taxonomy advanced field, where the term IDs are saved, can be cloned.
Anh Tran
KeymasterHi,
Front-end style is very much affected by your theme style. Please make sure your theme has the following code:
wp_head()in yourheader.phpfilewp_footer()in yourfooter.phpfile
These functions will help the plugin and WordPress output necessary CSS/JS. But they still don't guarantee of the styling. And in that case, you need to update the CSS of your theme.
Anh Tran
KeymasterHi Ryan,
There's no support for meta box CSS class. But each meta box will have a auto-generated ID. You can inspect and see it.
Anh Tran
KeymasterHi, you can use the hook rwmb_after_save_post to update the user meta after a post/user is updated.
July 17, 2019 at 11:57 AM in reply to: Metabox switch not saving when in Metabox grouping on MB settings page #15380Anh Tran
KeymasterHi,
Here is a video that I created for testing:
https://www.loom.com/share/e519722638ed4cb299106b56ee83be8f
Just a note that if you clone a group and if all the child fields have no values, then that clone won't be save. That might be the case.
Anh Tran
KeymasterHi FED,
Here is the video I recorded with your code:
https://www.loom.com/share/2c4fe91c390c4faab2a638454a06df90
As you see, the switch field works. I tested with Gutenberg (WordPress 5.2.2) and also tested with the classic editor (with Disable Gutenberg plugin activated). There's also no errors in the console.
July 17, 2019 at 11:24 AM in reply to: ✅Registration: username as email, duplicated fields, avatar, visibility issue #15378Anh Tran
KeymasterHi Mauro,
This is a great feedback. I'll make the change and update the plugin soon.
Anh Tran
KeymasterHi, at the moment there's no params to delete files when a post is permanently deleted from the Trash. However, WordPress has a hook
delete_post(https://codex.wordpress.org/Plugin_API/Action_Reference/delete_post) to let you do custom actions. In this case, you can get the post files and delete them. -
AuthorPosts