Question regarding WPML support

Hi there,

I use BeTheme on my site (http://www.fordvancouverdealers.ca) along with the WPML plugin to display translations of my site in multiple languages, so I have the following versions of the site:

I am trying to add different advertising tags for each language, and have reached out to WPML support for help on this.  They've given me the following snippet of code, and asked me to request support from BeTheme on where to insert the code.  So my question is, where should I insert this code?

$current_lang = apply_filters( 'wpml_current_language', NULL );
if( $current_lang == 'zh-hans' ){
//advertising code for chinese simplified
}elseif( $current_lang == 'zh-hant' ){
//advertising code for chinese traditional
}elseif( $current_lang == 'en' ){
//advertising code for English
}


Thanks for your help!
Emma

Comments

Sign In or Register to comment.