Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 496 through 510 (of 3,722 total)
  • Author
    Posts
  • in reply to: Frontend Submission - Google Maps - Custom Binding #48357
    PeterPeter
    Moderator

    Hello,

    This information is noted in the documentation https://docs.metabox.io/extensions/meta-box-geolocation/#field-group-settings

    If you have a Google Maps field in your field group, then you can set the Google API key once, either for the Geolocation extension (as above) or for the map field. No need to enter the same key for both of them.

    In this case, you can add the API key to the map field settings and use this 'geo' => true for the meta box settings. Also, the address field must start with address_xxx instead of location_address

    This code works properly on my local site

    add_filter( 'rwmb_meta_boxes', function ( $meta_boxes ) {
        $meta_boxes[] = [
            'title'      => 'Event details',
            'post_types' => 'page',
            'geo' => true,
            'fields'     => [
                // Map field.
                [
                'id'            => 'location_map',
                'type'          => 'map',
                'std'           => '51.5074,-0.1278,15',
                'address_field' => 'location_address',
                'api_key' => 'xxxxxxxx'
                ],
                // Address field.
                [
                'id'   => 'address_location',
                'name' => __( 'Address', 'text-domain' ),
                'type' => 'text',
                'placeholder'   => 'Enter address...',
                'desc'     => __( 'Enter the complete address.', 'text-domain' ),
                'required' => true,
                ],
                // Hidden field to store the city and country
                [
                'id'   => 'city_country',
                'type' => 'text',
                'binding' => 'locality + " " + country',
                'std'  => 'null',
                ],
                // Other custom fields....
            ],
        ];
    
        return $meta_boxes;
    } );
    in reply to: Metabox and Polylang fatal error #48356
    PeterPeter
    Moderator

    Thanks for sharing the details. I will forward it to the development team to check and fix this issue.

    Have a nice day!

    in reply to: Metabox and Polylang fatal error #48347
    PeterPeter
    Moderator

    Hello,

    Can you please share the full error trace in the debug log? If you know how to reproduce the issue with clear steps, please let me know how to do that. I will try to reproduce the issue on my demo site and investigate it.

    Refer documentation https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/

    in reply to: Frontend Submission - Google Maps - Custom Binding #48346
    PeterPeter
    Moderator

    Hello,

    I suggest you try steps below to troubleshoot the issue:

    1. Create a new field group, add a Google Map field and an address field; no need to use the Geolocation feature.
    2. Add your API key to the map field and check if the map field works properly.

    => If yes, you can try to add the API key to the map field in the field group that you use the Geolocation and recheck this.

    => If not, your API key isn't correct or some services are not enabled for using the Geolocation.
    https://docs.metabox.io/extensions/meta-box-geolocation/#geolocation-api

    in reply to: Divi not displaying oembed field #48345
    PeterPeter
    Moderator

    Hello Stephane,

    Thanks for reaching out.

    I can see the files under the folder /scripts/ are missing in the MB AIO plugin. Can you please install the single plugin MB Divi Integrator and see if it helps?
    https://metabox.io/plugins/mb-divi-integrator/

    in reply to: How to add relationship value to meta title? #48341
    PeterPeter
    Moderator

    Hello Keith,

    If you have any questions related to Slim SEO, please contact us here https://metabox.io/contact/
    Our support team will get in touch with you shortly.

    Thank you.

    PeterPeter
    Moderator

    Hello Max,

    The plugin Meta Box is now included in the Meta Box AIO source, so I think you don't need to use the snippet code to get the fallback function. If you prefer to use the custom code, you are welcome to add it to your site, but we won't support the custom code if it causes any issues there.

    I hope that makes sense.

    in reply to: ℹ️Missing Translations #48337
    PeterPeter
    Moderator

    Hello,

    Thank you for your contribution.

    The text Are you sure you want to remove %s? is ready for translation by using the gettext function of WordPress. You can use a translation plugin like Loco Translate to scan texts in the plugin and translate them as well.

    Let me know if it helps.

    in reply to: Getting value from Settings page #48336
    PeterPeter
    Moderator

    Hello Jeff,

    Thanks for reaching out.

    I see that there are some issues in your code and they are not related to the way to get the field value on a settings page.

    1. If enable_site_commenting is the field ID and website-info is the option name (not the settings page ID), you need to remove the $ character.

    2. No brackets in the if statement.

    3. Use an assignment variable instead of comparison operator

    $site_commenting_value = rwmb_meta( 'enable_site_commenting', ['object_type' => 'setting'], 'website-info' );
    
    if ( $site_commenting_value == 'Enabled' ) {
        RUN_THIS_CODE
    }

    If you are not able to complete the task, we offer a customization service with an extra fee. Please contact us here for more details https://metabox.io/contact/

    in reply to: Request for a refund #48330
    PeterPeter
    Moderator

    Hello,

    Thanks for reaching out.

    Regarding the refund policy, we will process refund requests within 14 days of the purchase date. Therefore, the latest date to request a refund is June 06.

    Let me know if you have any questions.

    in reply to: WYSIWYG code view is not visible #48326
    PeterPeter
    Moderator

    Hello,

    Thanks for the details. I'm not able to reproduce the issue on my site. So, for the next step, please share your site admin account by submitting this contact form https://metabox.io/contact/

    I will take a closer look.

    in reply to: Required Fields After Removing Cloned Block #48325
    PeterPeter
    Moderator

    Hello Ossama,

    Thank you for your feedback.

    I can reproduce the issue with the custom block on the editing page. I've escalated the issue to the development team to fix it as soon as possible.

    in reply to: WYSIWYG code view is not visible #48321
    PeterPeter
    Moderator

    Hello Stephen,

    Thanks for reaching out.

    If you activate the single plugin Meta Box, does the "Code" tab of the WYSIWYG field display content properly?

    PeterPeter
    Moderator

    Hello Dassels,

    Thanks for reaching out.

    That looks strange. I don't see the issue on my local site with the same subsite folder format. Please try to:
    - deactivate all plugins except Meta Box plugins, switch to a WordPress theme
    - check the file wp-config.php and see if there is any custom code that can affect the site URL, remove it

    Let me know how it goes.

    in reply to: Conditional Logic on taxonomies #48318
    PeterPeter
    Moderator

    Hello,

    I'm not sure what do you mean they are all in one custom field, in that field I have multiple (ungrouped) taxonomy field. How taxonomy fields are in one custom field? Is the custom field the group field?

    Can you please share the field group JSON file so I can understand what you are doing there?

Viewing 15 posts - 496 through 510 (of 3,722 total)