Hey Lucian,
onlinegames.cat, just open any post:
example: http://www.onlinegames.cat/los-sims-freeplay-trucos-iphoneipadandroid/
As you can see, in the Next / Prev button in the final of the post, there is 2 languages, in this case, spanish and catalan.
Luis
Hi,
Please add this lines:
get_the_title($prev_post->ID)
get_the_title($next_post->ID)
..like this in the td_module_blog.php file: http://screencast.com/t/vRMvyuFfg
Thanks
Hi,
Here you can modify the code in version 6 of the theme – http://screencast.com/t/s2zx66Jnkp
Thanks!
Hi Alin, thank you for your reply.
Didnt work.
if (!empty($next_post) or !empty($prev_post)) {
$buffy .= ‘<div class=”td-block-row td-post-next-prev”>’;
if (!empty($prev_post)) {
$buffy .= ‘<div class=”td-block-span6 td-post-prev-post”>’;
$buffy .= ‘<div class=”td-post-next-prev-content”><span>’ .__td(‘Previous article’, TD_THEME_NAME) . ‘</span>’;
$buffy .= ‘ID)) . ‘”>’ . get_the_title($prev_post->ID) . ‘‘;
$buffy .= ‘</div>’;
$buffy .= ‘</div>’;
} else {
$buffy .= ‘<div class=”td-block-span6 td-post-prev-post”>’;
$buffy .= ‘</div>’;
}
$buffy .= ‘<div class=”td-next-prev-separator”></div>’;
if (!empty($next_post)) {
$buffy .= ‘<div class=”td-block-span6 td-post-next-post”>’;
$buffy .= ‘<div class=”td-post-next-prev-content”><span>’ .__td(‘Next article’, TD_THEME_NAME) . ‘</span>’;
$buffy .= ‘ID)) . ‘”>’ . get_the_title($next_post->ID) . ‘‘;
$buffy .= ‘</div>’;
$buffy .= ‘</div>’;
}
$buffy .= ‘</div>’; //end fluid row
and i get

