I'm using a list like this on one of my clients site.
But I encounter a strange issue. The query and filtering is working fine on every page and post.
EXCEPT on my landingspage it's going completely wrong; it lists all my posts with all the languages mixed.
The landingspage is a static page, and I'm quite sure it is because I setup my wordpress to display this static page as the front page instead of the list of posts it normally shows, that things are going wrong. It's just like with this setup Gengo doesn't know which language the page is in .
Anyone any idea on solving this?
Thanks in advance.
This is the php code to show the list, and I'm using Gengo2.5 alpha on WP2.5.1
<?php query_posts('showposts=3&cat=4'); ?>
<?php while (have_posts()) : the_post(); ?>
<a href="<?php the_permalink(); ?>" rel="bookmark" title="Read more about <?php the_title(); ?>"><img class="left" height="60" width="90" src="<?php echo get_option('home'); ?>/wp-content/media/<?php
$values = get_post_custom_values("Image"); echo $values; ?>" /></a>
<div class="description"><h4><a href="<?php the_permalink(); ?>" rel=”bookmark”>
the_title(); ?></a></h4></div><div class="clear"></div>
<?php endwhile; ?>