qTranslate X issue with Altair theme
-
Hi guys,
I really love this plugin! Just recently discovered there seems to be an issue with some part of the Altair theme. At the bottom of my tour pages, there are links to previous and next tour pages. But the name of these pages are shown as “[:de]name of the tour[:]”. How can I fix this?
Any ideas appreciated!
Code of this part of the page is:
<?php
$pp_tour_next_prev = get_option(‘pp_tour_next_prev’);
if(!empty($pp_tour_next_prev))
{
//Get Previous and Next Post
$prev_post = get_previous_post();
$next_post = get_next_post();
?>
<div class=”blog_next_prev_wrapper tour”>
<div class=”post_previous”>
<?php
//Get Previous Post
if (!empty($prev_post)):
$prev_image_thumb = wp_get_attachment_image_src(get_post_thumbnail_id($prev_post->ID), ‘thumbnail’, true);
if(isset($prev_image_thumb[0]))
{
$image_file_name = basename($prev_image_thumb[0]);
}
?>
<span class=”post_previous_icon”><i class=”fa fa-angle-left”></i></span>
<div class=”post_previous_content”>
<h6><?php echo _e( ‘Vorherige Reise’, THEMEDOMAIN ); ?></h6>
class=”post_prev_next_link” data-img=”<?php echo $prev_image_thumb[0]; ?>”<?php } ?> href=”<?php echo get_permalink( $prev_post->ID ); ?>”><?php echo $prev_post->post_title; ?>
</div>
<?php endif; ?>
</div>
<span class=”separated”></span>
<div class=”post_next”>
<?php
//Get Next Post
if (!empty($next_post)):
$next_image_thumb = wp_get_attachment_image_src(get_post_thumbnail_id($next_post->ID), ‘thumbnail’, true);
if(isset($next_image_thumb[0]))
{
$image_file_name = basename($next_image_thumb[0]);
}
?>
<span class=”post_next_icon”><i class=”fa fa-angle-right”></i></span>
<div class=”post_next_content”>
<h6><?php echo _e( ‘N?¤chste Reise’, THEMEDOMAIN ); ?></h6>
class=”post_prev_next_link” data-img=”<?php echo $next_image_thumb[0]; ?>”<?php } ?> href=”<?php echo get_permalink( $next_post->ID ); ?>”><?php echo $next_post->post_title; ?>
</div>
<?php endif; ?>
</div>
</div>
<?php
}
?>
</div></div>
</div>
- The topic ‘qTranslate X issue with Altair theme’ is closed to new replies.