search with the_content or the_excerpt brings the default language only (1 post)

  1. maciejewski
    Posted 3 years ago #

    I'm just implementing a new website using WP and qTranslate.
    Plugin works really well, but there's one issue with search results.
    Been already searching the internet, but no help found.
    As long as I know multilanguage posts are acting as single entities in the database,yet separated with <!--current.lang=='en/es'--> alike tags.
    And this feature causes a problem while fetching search results.
    Works perfectly fine with the_loop , and The_content, and even the_excerpt functions, but when one of these functions is combined with the search I always get results in the main language which is set to polish.
    Just wondering what is the reason of this behavior?
    Does the search spoil language tags? Any ideas how to tune it up?
    Also - once the permalink is chosen, WP redirects me to the content in the proper language.
    Any help will be appreciated.


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.