Site icon Catch Themes

WPML Plugin unmatch??

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
Exit mobile version