Post-Thumb Forum » Troubleshootings

Post Thumb and localization plugins

(6 posts)

  1. nlx
    Member

    I have installed Language Switcher (1,15) because i want to have my site with french and english. This plug is based on Polyglot.

    I want to translate my categories wich is pretty much simple to do, same method for title, texts…

    replace the categry :
    'red'

    by
    '[lang_en] red [/lang_en] [lang_fr] rouge [/lang_fr]

    and it works.

    … But it doesn't works with Post-thumb where the categorie appear like :
    '[lang_en] red [/lang_en] [lang_fr] rouge [/lang_fr]

    and note just 'red' or 'rouge'

    Posted 2 years ago #
  2. nlx
    Member

    OOps

    by 'category' in fact i mean TITLE

    sorry :/

    Posted 2 years ago #
  3. You need to go through the post-thumb code and wrap the bits that output the title in this:

    apply_filters('the_title', PUT_HERE_BITS_THAT_OUTPUT_TITLE)

    Thats all. You find more info on that on the language switcher homepage.

    Posted 2 years ago #
  4. nlx
    Member

    after i 've updated the plugin to the very last version, titles don't display anyore btw !

    Posted 2 years ago #
  5. nlx
    Member

    Can you be more specific ? where do i need to put that code ? i'm a newbie…

    Posted 2 years ago #
  6. nlx
    Member

    where is that code ? in the post-thumb.php ?

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in to post.