Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterI think so. I did the same for Meta Box AIO (remove the vendor folder, clear cache and re-install).
August 10, 2018 at 12:00 PM in reply to: Adding The Event Calendar custom fields via + connector in Beaver Themer #10963Anh Tran
KeymasterHi Marge,
Your code seems okay to me. You don't need anything else except Meta Box + the Integrator. Let me check it again and get back to you soon.
Anh Tran
KeymasterHi DrecDroiD,
Gutenberg affects all plugins. In this case, both Conditional Logic and Show/Hide are affected.
August 10, 2018 at 11:45 AM in reply to: ✅Open Street Maps: binding of Latitude and Longitude, keeping the map in English? #10959Anh Tran
KeymasterHi Mauro,
We're working on the Geolocation to make it work with OSM. When it's done, you can bind data to fields.
Regarding the language, this is sadly the way it handles language. There's no way to change that :(. It shows language of the current being viewed country. You can see it on its homepage https://osm.org.
Anh Tran
KeymasterHi Mauro,
Unfortunately, it's not possible at the moment. There were some users asked for the same thing and it's on our plan.
Best,
AnhAnh Tran
KeymasterHi Bezzo,
You can easily hide the submit button with CSS.
This code below lets you enqueue a CSS file for the settings page:
add_action( 'admin_enqueue_scripts', function() { $screen = get_current_screen(); if ( 'your-screen-id' == $screen->id ) { wp_enqueue_style( 'your-file', 'http://url-to-your.css' ); } } );To get the screen ID of the settings page, you can use the Inspector plugin. The screen ID is shown in the "Help" tab, like this:
https://imgur.elightup.com/UAIRkbc.png
In your CSS file, you can simply enter this:
.wrap .submit { display: none; }If the process above is complicated, you can use a "quick and dirty" tip below:
When you register a meta box for the settings page, add a
custom_htmlfield like this:$meta_boxes[] = [ // Other fields [ 'type' => 'custom_html', 'std' => '<style>.wrap .submit { display: none; }</style>', ] ];It will output the
<style>to the page and hide the submit button.Anh Tran
KeymasterHello,
The Gutenberg plugin changes HTML markup and breaks the current code. We haven't updated the code for post format yet. Gutenberg can change the markup anytime until it's stable (merged into core). We'll keep working on that to make the conditional logic works.
Anh Tran
KeymasterHi Michael,
We're working on this feature. When it's done, you'll be able to copy & paste the options into a textarea. No need to enter each option one by one.
The tab requires MB Tabs extension. When you activated the extension, you can add tabs like in this screenshot:
https://imgur.elightup.com/pQSMp7c.png
And they will display like this:
August 8, 2018 at 3:19 PM in reply to: "std" => "" value dissapears on text when text_list or key_value is set to clone #10920Anh Tran
KeymasterHi Mauro,
Maybe Composer caches the packages. I always run these 2 commands together:
composer clear-cache && composer installAugust 8, 2018 at 2:30 PM in reply to: Adding The Event Calendar custom fields via + connector in Beaver Themer #10918Anh Tran
KeymasterHi Marge,
I've just tested with The Events Calendar plugin and I see all custom fields for events are showing in the Themer. Here is my screenshot:
https://imgur.elightup.com/K6Y6fAa.png
How did you set it up?
Anh Tran
KeymasterHi Thomas,
The background field saves details into an array. If you use the helper function
rwmb_meta()to get its value - you'll get an array.To get the generated CSS for the background, please use the function
rwmb_the_value().This is the sample code:
$bg = rwmb_meta( 'field_id' ); echo $bg['color']; // Output a single background attribute // Get CSS for background $css = rwmb_the_value( 'field_id', '', '', false ); echo $css;August 6, 2018 at 4:05 PM in reply to: Edit _Post custom field combine 2 field and add to a field #10898Anh Tran
KeymasterList of actions are available in the documentation.
To add small HTML and JS just below a field, you can use the
afterparam of the field. See field settings for more details.Anh Tran
KeymasterHey guys. Thanks a lot for your details. Let me check Jason's code first. Looks like it's more complicated than I thought.
August 6, 2018 at 3:13 PM in reply to: looking for action or filter to remove user profile shortcode configs #10894Anh Tran
KeymasterHi Dan,
Can you please give me more details on how the
$configcan include all username, password? I'm quite confused how$configis related to the validation banner. -
AuthorPosts