Skip to main content

qTranslate & RevSlider - Multilanguage - different slider per language

$output .= qtrans_use(qtrans_getLanguage(),    do_shortcode( get_post_meta( $post->ID, 'krown_custom_header_slider', true ) ) ,false);


qtrans_use(qtrans_getLanguage(),  THE_STRING_[EN]_[DE]  ,false);

Comments

Popular posts from this blog

How to fix WordPress 500 Internal Server Errorr after install or upload

When you move a WordPress instalation from one server to another, after you have all files in place, the database, and the database meta updates for the server address you must clear the PERMALINKS . Go to Permalinks -> select some option -> re select old options -> Click save . All pages should be working now . If you still have problems, check folder permissions or user server permissions with the apache service .

Remove Woocommerce Styles & Scripts on other pages

Remove WooCommerce styles and scripts. https://gist.github.com/gregrickaby/2846416   remove-woocommerce-styles-scripts.php <?php //* Do NOT include the opening php tag shown above. Copy the code shown below into functions.php /** * Manage WooCommerce styles and scripts. */ function grd_woocommerce_script_cleaner () { // Remove the generator tag remove_action ( 'wp_head' , array ( $ GLOBALS [ 'woocommerce' ], 'generator' ) ); // Unless we're in the store, remove all the cruft! if ( ! is_woocommerce () && ! is_cart () && ! is_checkout () ) { wp_dequeue_style ( 'woocommerce_frontend_styles' ); wp_dequeue_style ( 'woocommerce-general' ); wp_dequeue_style ( 'woocommerce-layout' ); wp_dequeue_style ( 'woocommerce-smallscreen' ); wp_dequeue_style ( 'woocommerce_fancybox_styles' ); wp_dequeue_style ( 'woocommerce_chosen_styles' ); wp_dequeue...