Advanced Excerpt with qTranslate
I’m a complete noob to WordPress so please be patient.
I’m implementing a bilingual site using qTranslate. It works fine, but search results are fetched the way I can’t accept.
The main language is polish, secondary is english.
While the_loop, and the_excerpt are working fine, bringing me correct data -search function combined either with the_content or the_excerpt (advanced excerpt has been applied as well) is not.
All I get is the beginning of the entry (unfortunately qTranslate concatenates bilingual posts into one entity and separates them with
<!--lang=='en'>alike tags), so I,m allways getting the polish content in the search results, but what is really weird, when click on the permalink, the content is displayed in correct language.
I’m just wondering how to make the_excerpt (or advanced excerpt) skipping the content in irrelevant language – is there a way to tune up mentioned functions?
I’d rather not to use WPML plugin .
- The topic ‘Advanced Excerpt with qTranslate’ is closed to new replies.