Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I will let you know where I started (work in progress):

    First I created some custom attributes and then I started to edit:

    wp-content/plugins/events-manager/templates/form/event-editor.php

    It has some sub-modules (if you want to edit more deeply) in the sub-folder “event”

    To be continued

    Can I update this?

    I found very useful to have the Recaptcha module displayed in the user language, based on the site language.
    I only improved a little the solution of nzapponi

    On
    admin/google-recaptcha-nocaptcha.php
    You can simply add on the top of the languages array:
    'auto' => __( 'Auto (site based)', 'google-nocaptcha-recaptcha-locale' ),

    On
    public/includes/contact-form-7/google-recaptcha-nocaptcha.php
    Find:

    if ( $language_code == "" ) {
    $language_code = "en";
    }

    And add this just after that:

    elseif ( $language_code == "auto" ) {
    $language_code = substr(get_bloginfo ( 'language' ), 0, 2);
    }

Viewing 2 replies - 1 through 2 (of 2 total)