Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi,
I've just tried your code and it works for me. Here is my screenshot:
https://imgur.elightup.com/JdbBHX7.png
I think the problem might come from another part that has JavaScript error. Any JS error can breaks the execution of other JS, which might include the JS for the editors. Can you add these lines to
wp-config.phpand see what's in the console:define( 'WP_DEBUG', true ); define( 'SCRIPT_DEBUG', true ); define( 'CONCATENATE_SCRIPTS', false );October 4, 2018 at 4:51 PM in reply to: ✅Adding a Group causes an warning: Argument #2 should be an array #11533Anh Tran
KeymasterHi Purdue,
I guess the problem comes from the group settings. Please share the code of the meta box for debugging.
Anh Tran
KeymasterYes, please use:
MB_Custom_Table_Cache::get( $object_id, $table_name )It returns an array of key => value.
Anh Tran
KeymasterHi Cristian,
It's a PHP syntax that available in PHP 5.4. I think you're using an out-dated version of PHP (5.3 maybe). Let me try to fix and release a new version.
PS: New version is now available for download.
Anh Tran
KeymasterHi Ben,
I see you marked the topic as resolved. Did you figure it out?
Anh Tran
KeymasterHi Todd,
I've just checked and found a bug in the core plugin. Would you mind download the latest version on Github?
Thanks for the bug report!
Anh Tran
KeymasterHi Burak,
Seems like we haven't added support for JSON notation for query arguments. But the dot notation works. Please try to setup like this:
https://imgur.elightup.com/Nes8Qgr.png
Details about dot notation can be found in the documentation.
Anh Tran
KeymasterHi Max,
1) When we work on admin column for relationship at first, we thought it's a single relationship column, so we use singular form. The Admin Columns extension was made for multiple fields, so it's plural.
2) For relationships: it's not supported. Because the relationships are list of connections and will be unclear when we put something like sorting, search for those connections.
Anh Tran
KeymasterJust fixed it on your website and on Github. It's a bug caused by a previous commit for
post_type=any.Thanks for letting me know the bug!
Anh Tran
KeymasterHi Burak,
Currently, it's not supported yet. Let me try to figure a way to do it inside the plugin.
Anh Tran
KeymasterHi Burak,
You need MB Settings Page extension for that. Please follow this docs to create a settings page.
Anh Tran
KeymasterHi Max,
Your code seems to be correct. Would you mind sending me a temporary admin account to check?
Anh Tran
KeymasterHi Burak,
I've tried it. But there's something related to the creating the new terms in the back end when the form is submitted. I haven't resolved it yet.
Anh Tran
KeymasterHello,
Please try using the
post__not_inparameter. Set it as a key in a custom attribute, and in the value box, use JSON notation to specify an array, e.g.[14, 21, 44].Anh Tran
KeymasterHi Rob,
I've just updated the MB Revision to version 1.3.0 to supports showing labels for taxonomy_advanced, user and post field. Please update.
-
AuthorPosts