Forum Replies Created
-
AuthorPosts
-
February 3, 2020 at 8:09 AM in reply to: ✅Getting the entire options array, deleting the entire options array #18104
Anh Tran
KeymasterHi,
All the option is stored in a single option in the WP database. So you can just use
get_optionanddelete_optionfunctions to get and remove them. Just note that you need to pass theoption_name, not settings page ID.Anh Tran
KeymasterHi guys, sorry for not following up the thread. I think the solution above should work. Please let me know if you have any trouble with that.
February 1, 2020 at 3:23 PM in reply to: ✅Beaver Themer Field Connecter Not Working with Users #18090Anh Tran
KeymasterHi, I've just updated the plugin on Github to support post author's and user's custom fields. Please try it and let me know if you need anything.
Anh Tran
KeymasterHi,
I think "matches" is a many-to-many relationship, and you can use the plugin to create that relationship between users.
February 1, 2020 at 9:55 AM in reply to: ✅Beaver Themer Field Connecter Not Working with Users #18085Anh Tran
KeymasterHi, user meta is not supported yet. It's in our list of task and we'll do it soon.
Anh Tran
KeymasterHi Spencer, I've tried network activate the plugin and don't see that error. I guess you install both the AIO plugin (which has Elementor Integrator extension activated) and the separated Elementor Integrator extension. If that's the case, please delete the individual Elementor Integrator extension.
Anh Tran
KeymasterThank you for your kind words and your feedback. We keep improving the plugin and will try our best to make it more useful for you!
Anh Tran
KeymasterHi Nick, I've just updated AIO. Please try again.
Anh Tran
KeymasterThe latest version is 1.2.6. It's already available since October last year.
If you use Composer to update, please delete the vendor folder, clear Composer cache and run
composer installagain. For details, please see this docs.January 31, 2020 at 11:33 AM in reply to: ✅One-to-many relationship on "bay_mb_relationships" #18072Anh Tran
KeymasterHi,
If you want to force only one connection from one side of a relationship, please set
'max_clone' => 1to the field on that side, like this:add_action( 'mb_relationships_init', function () { MB_Relationships_API::register( array( 'id' => 'workout_to_workout_exercises', 'from' => array( 'object_type' => 'post', 'post_type' => 'workout', 'field' => array( 'max_clone' => 1, // Limit to 1 connection only. ), ), 'to' => array( 'object_type' => 'post', 'post_type' => 'workout_exercises', ), ) ); } );Anh Tran
KeymasterHi Kevin,
I've just tested and found that the
wp-load.phpfile loads everything and thus, runs all necessary actions, including theinit. That means when including that file, theinitaction is already fired, and meta boxes are registered. When switching to another site in the network, we simply switch the options/configure/themes, etc. and the actions are not triggered again.I'm not sure if there's a way to change that behavior. I don't have a solution for that at the moment. I'm very sorry.
Anh Tran
KeymasterHi Archimidis, I've just checked with WPML and found that if you select the fields as "Copy", it will work well. I have made a video to demo it: https://www.loom.com/share/f18133cb6bcb46658599aa8060f66237.
Please check that if that's your setup. If you have a different setup, please let me know.
Anh Tran
KeymasterHi Archimidis, I'm working on it right now.
Anh Tran
KeymasterHi Kevin,
The meta boxes are added to the registry at
inithook with priority = 20. Can you try to run the code after that?Anh Tran
KeymasterHi Pascal,
The tabs extension works for top-level fields only. It doesn't support for sub-fields in groups (yet). I've added this as a note and will consider to work on it.
-
AuthorPosts