Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi Thomas, here is the video tutorial:
Please pay attention to the text I wrote in the video :).
Hope you like it.
AnhAnh Tran
KeymasterHi Mauro,
It's great to see you done that. I'd love you to contribute to the osm-frontend.js file. It's used in the frontend. Maybe just make it works with array of locations.
Anh Tran
KeymasterHi Thomas,
I think the problem is where you put the code that gets the image. For the template that doesn't have header background, you should perform a simple check like this:
$images = rwmb_meta(...); if ( $images ) { $image = reset( $images ); echo $image; }Anh Tran
KeymasterHi, Thomas. I hide the logout link, cause it's not really useful. Do you really need it? I can put it in the Quick Links section if you want.
Anh Tran
KeymasterHi Thomas,
I'll create a tutorial and video to demonstrate how those helper functions work and what is the difference between them. Please wait a little.
Thanks,
AnhAnh 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 install -
AuthorPosts