Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #27912
    KAORI
    Participant

    Hello,

    I have a question,

    Now..
    ・construct a multilingual site with Catcheverest pro theme
    ・I have a child theme for my customer
    ・WPML can only be valid the area “widget” and “page”
    ・I want to translate/valid “catcheverest_option” area (Headline,sub-headline, feautured slide )
    ・I found the comments below in the “catcheverest_wpml_invalidcache”

    if ( ! function_exists( ‘catcheverest_wpml_invalidcache’ ) ) :
    /**
    * Template for Clearing WPML Invalid Cache
    *
    * To override this in a child theme
    * simply create your own catcheverest_wpml_invalidcache(), and that function will be used instead.

    *
    * @since Catch Everest Pro 2.0
    */
    function catcheverest_wpml_invalidcache( $menu_item ) {
    delete_transient( ‘catcheverest_post_sliders’ );
    delete_transient( ‘catcheverest_page_sliders’ );
    delete_transient( ‘catcheverest_category_sliders’ );
    delete_transient( ‘catcheverest_image_sliders’ );
    delete_transient( ‘catcheverest_homepage_featured_content’ );
    delete_transient( ‘catcheverest_homepage_headline’ );
    delete_transient( ‘catcheverest_footer_content’ );
    delete_transient( ‘catcheverest_footercode’ );

    } // catcheverest_wpml_invalidcache
    endif;

    add_action( ‘after_setup_theme ‘, ‘catcheverest_wpml_invalidcache’ );

    I am sorry, I want concrete instructions; it means I’ll add my child theme “functions”file ?

    Awaiting for your advice !
    Kaori

    #27949
    Sakin
    Keymaster

    @KAORI: Which version Catch Everest Pro Theme you are using it. If you are using latest version of Catch Everest Pro theme then you don’t need to build child theme to add support for WPML plugin, see in their site http://wpml.org/theme/catch-everest-pro/ . The catcheverest_wpml_invalidcache function has already been added. I think you just need to work on String Translation from “WPML => String Translation”.

    Did you talked with WMPL support? Also check in you have any cache plugin installed which is blocking it.

    #27954
    KAORI
    Participant

    Dear Sakin

    Thank you for your supporting, happy to contact you..

    Now I’m using Ver.2.11 latest version I think!

    I talked and now contacting with WMPL support but not solved yet…
    As for the cache, I don’t have any plugin, so I asked about the ‘catcheverest_wpml_invalidcache’ if it has a possibility to block WPML translation. I’ve installed String Translation, but it works only for “widget”
    area…what do you think ?
    Regards
    Kaori

    #27964
    Sakin
    Keymaster

    @KAORI: Yes Version 2.1.1 if the latest version. Sorry but WPML said that it’s WMPL compatible. Can you post in your site URL and I might need to check in your admin section. So, I will contact you through email for faster correspondence.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘WPML Plugin unmatch??’ is closed to new replies.