How to query the custom fields by language?


For each post, there is a custom field name “Function”, the key/value pair is like this:

Key : Functions
Value : <!--en-->Nourishing Yin and invigorating the vital essence of kidneys.<!--:--><!--tw-->滋陰補腎。<!--:-->

The problem is if I simply use get_post_meta , it return string of both language, how can I get the value based on the language?

I am using qTranslate right now, Thanks.


>>> Share a link to this question, just copy and paste the code bellow on your web page <<<

<a href="">

How to query the custom fields by language?</a>
, , , user3538235 5 months 0 Answers 48 views 0

Leave an answer