issue with next article, prev article with qtranslate

Posted in: Newspaper
Post count: 5

Hello,

Everything seems to work fine with qtranslate except the prev article and next article button for each post.

The article title below the prev article & next article button will have all the language there

such as
< – Prev Article
<ENGLISH TITLE><GERMANY TITLE>

Post count: 3343

Hello,
Please use this in Theme-Options -> Translate

[:de]Text in german[:en]Text in english

Thanks

Post count: 5

Thx for your reply Marius, this is not what I meant as well

Right now it looks like this. It has all the language in english mode or germany mode.

The red text is in Germany. How do I make it only show up during qtranslate germany mode? and how do I make the english text to show up only in english mode?

http://s17.postimg.org/b47727s27/text1.jpg

Post count: 3343

Hello,
Please edit td_module_blog.php file like here: http://screencast.com/t/zRsu4nyw9

wp_specialchars(qtrans_useCurrentLanguageIfNotFoundUse
DefaultLanguage($prev_post->post_title))
wp_specialchars(qtrans_useCurrentLanguageIfNotFoundUse
DefaultLanguage($next_post->post_title))

instead of
$prev_post->post_title
$next_post->post_title

Thanks

  • This reply was modified 12 years by Marius.
Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.