Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #58265

    Hello,

    i must to insert different language in the footer, using the qTranslate-X plugin all the site works great but not the footer.
    The footer shows always the first language, how can i resolve this issue?

    Regards

    #58309
    Sakin
    Keymaster

    @carlo caccialanza: We haven’t make this theme compatible with qTranslate-X plugin. So, you might want to build child theme. For child theme and sample child theme, refer to http://catchthemes.com/blog/create-child-theme-wordpress/ and then add the following code in child theme functions.php file.

    if ( ! function_exists( 'catchresponsive_invalidcache' ) ) :
    /**
     * Template for Clearing WPML Invalid Cache
     */
    function catchresponsive_invalidcache() {
    	delete_transient( 'catchresponsive_featured_content' );
    	delete_transient( 'catchresponsive_featured_slider' );
    	delete_transient( 'catchresponsive_footer_content' );	
    	delete_transient( 'all_the_cool_cats' );
    } // catchresponsive_invalidcache
    endif;
    
    add_action( 'after_setup_theme', 'catchresponsive_invalidcache' );
    #58342

    Hi Sakin, thanks for your help!

    This function resolved my problem, despite the footer all other parts works great with qTranslate-X.

    Regards
    Carlo

    #58350
    Sakin
    Keymaster

    Thanks Carlo, we will make this theme soon compatible to qTranslate-X plugin.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Footer with qTranslate-X’ is closed to new replies.