Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter itoshkova

    (@itoshkova)

    Hi @kharisblank,
    You are right. I updated php version and now is okay.

    Thanks

    Thread Starter itoshkova

    (@itoshkova)

    First I created template in Loco for parent theme and translated the string there.

    After that I followed the steps in the article you provided on your website:
    Child themes

    You recommend using this code to load my translation files:

    function twentyseventeen_child_setup() {
        $path = get_stylesheet_directory().'/languages';
        load_child_theme_textdomain( 'twentyseventeen-child', $path );
    }
    add_action( 'after_setup_theme', 'twentyseventeen_child_setup' );

    When i used this code – the translations from the parent theme disappear.

    Thread Starter itoshkova

    (@itoshkova)

    Hello,
    Thank you for your response.
    I am working locally at the moment.

    I have:
    <div class=”fasteners”>
    <h4>Винтове, Гайки, Шайби</h4>
    [checkbox checkbox-958 use_label_element “Винтове, самонарезни, самопробивни, резбоформиращи|1” “Секретни (осигурителни) винтове|2″]
    </div>

    Output:
    <div class=”fasteners”>
    <h4>Винтове, Гайки, Шайби</h4>
    <p>
    <span class=”wpcf7-list-item”>
    <label>
    <input type=”checkbox” name=”checkbox-958[]” value=”Винтове, самонарезни,
    самопробивни, резбоформиращи”>
    <span class=”wpcf7-list-item-label”>Винтове, самонарезни, самопробивни,
    резбоформиращи</span>
    </label>
    </span>
    <span class=”wpcf7-list-item last”>
    <label>
    <input type=”checkbox” name=”checkbox-958[]” value=”Секретни (осигурителни) винтове”>
    <span class=”wpcf7-list-item-label”>Секретни (осигурителни) винтове</span>
    </label>
    </span>
    </span>
    </p>
    </div>

    The value have to be 1 and 2, but it is like the label.

    Тhe developers of the Meridian One theme have a mistake in the code. In template-parts folder -> home folder -> contact.php file -> 51 and 67 rows have to be only echo do_shortcode( $shortcode ), not echo do_shortcode( esc_html( $shortcode ) ).

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