WordPress.org

Forums

WP Tiles
[resolved] WP tiles and qTranslate (8 posts)

  1. BostiG
    Member
    Posted 1 year ago #

    HI,

    I use qTranslate for dual language site, but in WP tiles it shows me titles in both languages. Any ideas what to do?

    Thanks, Bosti

    http://wordpress.org/plugins/wp-tiles/

  2. Mike Martel
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Bosti, I have never used qTranslate, but will check out soon what happens exactly!

  3. BostiG
    Member
    Posted 1 year ago #

    Hi,

    Can you please check what's wrong? Here is example? Titles are double.

    Thanks,
    Regards

  4. BostiG
    Member
    Posted 1 year ago #

  5. Mike Martel
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Bosti,

    It's been a while in the making, but I just updated WP Tiles to version 0.5.8 which includes a fix for qTranslate. Can you please confirm that it's working?

    Thanks!

    Cheers,
    Mike

  6. BostiG
    Member
    Posted 1 year ago #

    Great, thank you. Works perfectly!

    Regards,
    Bosti

  7. BostiG
    Member
    Posted 1 year ago #

    HI again,

    What was the problem? It might help me with another plugin (WP Favorite Posts), but the same problem?

    Regards,
    Bosti

  8. Mike Martel
    Member
    Plugin Author

    Posted 1 year ago #

    Probably! It's a common problem with qTranslate (though hard to find on Google).. the title needs to be passed through the 'the_title' filter.

    So whenever a plugin uses $post->post_title, it ought to use apply_filters( 'the_title', $post->post_title ); instead.

    For what it's worth, the same goes for the content: apply_filters( 'the_content', $post->post_content );

    Cheers,
    Mike

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Tiles
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.