Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi Harrison,
This problem is the same as in MB Frontend Submission. To understand and resolve it, please read this docs.
Anh Tran
KeymasterHi Hazmi,
The statement is correct. However, I missed the code for switch field. The checkbox field works correctly. I've just push the fixes for the switch on Github.
Anh Tran
KeymasterYes, it's safe. In the code above, there's no code to remove the data. So it always there.
You should always backup the database before doing this.
Anh Tran
KeymasterHi Nick,
The fields uses either
<p>or no tags at all. It doesn't use only<br>tag.I've just tested with Themer's text module and it seems to always output
<p>tag, no matter what the data is. I'm wondering why don't you use the<p>tag.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. -
AuthorPosts