Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 5 years, 7 months ago.

Assigned support staff: Minesh.

Author Posts
December 15, 2014 at 4:40 pm #528819


I installed wpml blog to my website. And in the site I need to show posts and pages content based on the language. I mean the same page or post will not have translated version. I want they to be independent.. How do I need to set the language switcher for this purpose?

December 16, 2014 at 6:31 am #529079


Hello and thank you for contacting WPML support!!

Can you please explain a little bit more as I didnt get you well. An example will be great to understand what you are exactly looking for.

However, You can use constant ICL_LANGUAGE_CODE in order to identify the current language and based on current language you can show your post/pages.

	if(ICL_LANGUAGE_CODE =='en'){
	}else if (ICL_LANGUAGE_CODE =='fr'){


The topic ‘[Closed] I want to show independent posts,pages and content per language. How to do that?’ is closed to new replies.