Forum Replies Created
-
AuthorPosts
-
January 29, 2016 at 5:27 PM in reply to: Using MetaBox Group with MB Term_Meta and programmatically writing MB Term_Meta #2235
Anh Tran
KeymasterHi,
1. Let me check the group extension with term extension again to see if I can replicate the bug.
2. In order to add data programmatically, the data must match the format of clone group. It should be:array( array( 'field_1' => 'value 1', 'field_2' => 'value 2', ... ), array( 'field_1' => 'value 1', 'field_2' => 'value 2', ... ), ... )Anh Tran
KeymasterI received the info. I also deleted the message cause it's a private data.
Just one question: is that a Multisite and you're a super admin?
Anh Tran
KeymasterCan you give me an admin account to look closer (via the contact page)? I couldn't replicate on my localhost and my websites.
Thanks
Anh Tran
KeymasterHmm, if the field is clone, the
rwmb_metafunction will display an unordered list of embed videos.Can you try with the development version on Github?
Anh Tran
KeymasterIt will show the embed HTML, for example: the video player if that's a Youtube URL.
Anh Tran
KeymasterHi Clement,
Currently it's not possible. I'm thinking about that and hopefully will make some improvements in the next version.
Anh Tran
KeymasterAre you the admin of the website?
Anh Tran
KeymasterI think it's possible to get gravity forms when register meta boxes. The hook
rwmb_meta_boxesfires atadmin_initand at that time everything is ready. You can use$wpdbto query the database to get the data you need and put it in theoptionsparameter.Anh Tran
KeymasterHi, why don't you just register all values when defining the field? What is your case when you need to fill the advanced select with custom values?
PS: I will add a search box to the forum ๐ Thanks for the idea.
Anh Tran
KeymasterHi Andy,
Are you using an old version of WordPress? The
get_term_metafunction is available in WordPress 4.4.0. Please update to the latest version.Anh Tran
KeymasterI've just updated the Show/Hide extension.
is_childis working as expected. Please update and check it.Thanks.
Anh Tran
KeymasterAh, I see. Probably a bug with the Show/Hide extension. I will fix it to support "live" change.
January 25, 2016 at 9:49 AM in reply to: Bought all extensions do I still add MB to functions? #2193Anh Tran
KeymasterHi,
That's not 100% true.
As you already bought all extensions, you have the MB Builder extension which allows you to create meta boxes and custom fields with UI. You don't need to code if you use it.
You also don't need to code if you use free extensions: MB Custom Post Type or MB Custom Taxonomy.
Other extensions require you to add custom code to your themes/plugins. Please follow the documentation of each extension for more details.
Anh Tran
KeymasterI see. In this specific case, the new post hasn't been a child yet, so both
excludeandhidecouldn't detect that. So the rules couldn't work.I will think more about this specific case between add new post and edit an existing post. This probably is the same as this problem.
Anh Tran
KeymasterHi,
Are you using both
excludeandhideat the same time? Ifexcluderule is there, then meta box is not outputted in the page and thus, thehiderule doesn't work. -
AuthorPosts