Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Vad

    (@vadym1)

    And need too multilingual:

    • Social Links – need links for each language
    • Call us: Phone Number
    • Mail us: Email Address
    • Site header logo
    • Default Blog Page – Other Slider Shortcode
    • Default Blog Page – Banner Text

    I am create:

    • main-page-en
    • main-page-ru

    And I am edit main pages and add “Other Slider Plugin Shortcode” – work!
    But when I am edit blog page, and add “Other Slider Plugin Shortcode” – no work.

    And need in “Child theme” add folder “languages”
    Child theme download:
    https://www.templatesnext.org/i-excel/
    https://www.templatesnext.org/icreate/wp-content/uploads/2016/02/i-excel-child.zip Why need in Child theme .js files?

    I am translate and add (but no work Child theme):
    \i-excel-child\languages\ru_RU.mo
    \i-excel-child\languages\ru_RU.po

    Work only Mother theme (but need child):
    \i-excel\languages\ru_RU.mo
    \i-excel\languages\ru_RU.po

    • This reply was modified 7 years, 4 months ago by Vad.
    • This reply was modified 7 years, 4 months ago by Vad.
    • This reply was modified 7 years, 4 months ago by Vad.
    • This reply was modified 7 years, 4 months ago by Vad.
    Thread Starter Vad

    (@vadym1)

    \i-excel-child\functions.php

    
    <?php
    	
    	/*
    	*
    	*	i-excel Functions - Child Theme
    	*	------------------------------------------------
    	*	These functions will override the parent theme
    	*	functions.
    	*
    	*
    	*/
    	
    add_action( 'wp_enqueue_scripts', 'iexcel_child_enqueue_styles' );
    function iexcel_child_enqueue_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    }
    
    // Add lang in Child theme
    add_action('after_setup_theme', 'iexcel_child_set_text_domain');
    function iexcel_child_set_text_domain(){
    		load_theme_textdomain( 'i-excel', get_stylesheet_directory() . '/languages' );
    }
    

    I added this code, it works.

    • This reply was modified 7 years, 4 months ago by Vad.
    Thread Starter Vad

    (@vadym1)

    No work:

    I added this code, it works.

    This code work:
    \i-excel-child\functions.php

    
    <?php
    	
    	/*
    	*
    	*	i-excel Functions - Child Theme
    	*	------------------------------------------------
    	*	These functions will override the parent theme
    	*	functions.
    	*
    	*
    	*/
    	
    add_action( 'wp_enqueue_scripts', 'iexcel_child_enqueue_styles' );
    function iexcel_child_enqueue_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    	
        // Add lang in Child theme
        load_theme_textdomain( 'i-excel', get_stylesheet_directory() . '/languages' );
    }
    
    Thread Starter Vad

    (@vadym1)

    Thread Starter Vad

    (@vadym1)

    When editing pages, you can add your own shortcode slider. I made a slider for each language.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘slider multilingual’ is closed to new replies.