Forum Replies Created
-
AuthorPosts
-
September 17, 2019 at 4:13 PM in reply to: ✅Private $user_id and $config causes bugs in rwmb_profile_before_save_user #16169
Anh Tran
KeymasterHi Cedric, it's fixed in version 1.4.2. Please update.
Anh Tran
KeymasterJust fixed this in the 1.1.2 version. Please update.
Anh Tran
KeymasterHi,
Regarding
std, I see you put it underquery_argswhich is wrong and set it empty. Can you try this code (I modified your latest code)?Regarding the taxonomy issue: if you want to use taxonomy, then you have to create the taxonomy first. I don't see any reason for date, author or post type should be taxonomies. This is a post I wrote about custom fields vs. custom taxonomies. Maybe it helps.
Anh Tran
KeymasterHi Charlin,
Just want to let you know that in recent versions of MB Conditional Logic, you're now able to set conditions for fields outside of the group. So, your conditions above will work (I've just tested)!
Anh Tran
KeymasterHi Ryan, I've just added
classparam to meta box settings, which allows you to set an unique CSS class.Anh Tran
KeymasterThanks for your feedback. I've just fixed it in version 1.0.7. Please update.
Anh Tran
KeymasterHi, you can do that with custom admin column. Please see the docs here:
https://docs.metabox.io/extensions/mb-admin-columns/#custom-admin-columns
Anh Tran
KeymasterHi,
I'm not really clear because the term gallery is used in both post types.
Where do you want the select field? In the gallery post type or in regular post?
Doesn't the
postfield allow you to select a specific post?Anh Tran
KeymasterHi,
1st and 2nd problem: I guess you're using Gutenberg, thus the
requiredparameter doesn't work, because WordPress submits values via Ajax. Until now, there's no solution for that yet.3rd problem: I see you miss
stdfrom my code, so of courses, fields are not filled.Regarding the filter: you might want to try Search & Filter plugin. It's free on wordpress.org.
September 14, 2019 at 11:07 AM in reply to: ✅How to remove Meta Box license key Notification when Extension is Bundled? #16125Anh Tran
KeymasterDone! Here you are. The class is
rwmb-activate-license.September 13, 2019 at 10:24 AM in reply to: ✅How to remove Meta Box license key Notification when Extension is Bundled? #16112Anh Tran
KeymasterHi Swami, how about adding a CSS class to the "Activate License" text? You can hide them with CSS.
Anh Tran
KeymasterHere is the code with
std:Regarding filtering results on the front end, please use a search & filter plugin like FacetWP. We support FacetWP via a free extension.
Anh Tran
KeymasterHi Ranadeep,
The extension validation is an add-on for the jQuery validation library and it's not included in Meta Box.
In order to use it, please download the
extension.jsfile from Github:https://github.com/jquery-validation/jquery-validation/blob/master/src/additional/extension.js
And enqueue it like this:
add_action( 'rwmb_enqueue_scripts', function() { wp_enqueue_script( 'jquery-validation-extension', 'url to the js file', '', '', true ); }Then you can use the extension rule.
Anh Tran
KeymasterHere you are:
<?php add_filter( 'rwmb_meta_boxes', function( $meta_boxes ) { $meta_boxes[] = [ 'title' => 'Test', 'geo' => [ 'api_key' => 'your_api_key', ], 'fields' => [ [ 'id' => 'address', 'type' => 'text', 'name' => 'Address', ], [ 'id' => 'administrative_area_level_1', 'type' => 'text', 'name' => 'State', ], [ 'id' => 'country', 'type' => 'text', 'name' => 'Country', ], ], ]; return $meta_boxes; } ); -
AuthorPosts