Site link: http://nuestrafrontera.org/wordpress/

I would like the feed of latest publish game titles to exhibit within the sidebar for those 3 languages, separated by language. So, for instance, under Recent Posts the sidebar might have "British" and so the latest 3 posts in British, then "EspaƱol" and also the latest 3 in The spanish language after which French. All in a listing within the column and showing up on all pages using the sidebar in most languages.

I'm while using most up to date version of Wordpress using the WPML wordpress plugin.

In my opinion the Wordpress widget for Recent Posts must be tweaked to get this done. This is actually the code (from wordpress-includes/default-icons.php):

class Wordpress_Widget_Recent_Posts stretches Wordpress_Widget Wordpress_Widget_Recent_Posts() operations = array('classname' => 'widget_recent_entries', 'description' => __( "The newest posts in your blog") )

    $this->WP_Widget('recent-posts', __('Recent Posts'), $widget_operations)

    $this->alt_option_title = 'widget_recent_entries'

    add_action( 'save_post', array(&lifier$this, 'flush_widget_cache') )

    add_action( 'deleted_post', array(&lifier$this, 'flush_widget_cache') )

    add_action( 'switch_theme', array(&lifier$this, 'flush_widget_cache') )

    

    function widget($args, $instance) wordpress_cache_get('widget_recent_posts', 'widget')

    if ( !is_array($cache) )

    $cache = array()

    if ( isset($cache[$args['widget_id']]) ) 

    doctor_start()

    extract($args)

    $title = apply_filters('widget_title', empty($instance['title']) ? __('Recent Posts') : $instance['title'])

    if ( !$number = (int) $instance['number'] )

    $number = 10

    else if ( $number < 1 )

    $number = 1

    else if ( $number > 15 )

    $number = 15

    $r = new Wordpress_Query(array('showposts' => $number, 'nopaging' => , 'post_status' => 'publish', 'caller_get_posts' => 1))

    if ($r->have_posts()) : ?>

    <?php echo $before_widget ?>

    <?php if ( $title ) echo $before_title . $title . $after_title ?>

    <ul>

    <?php  while ($r->have_posts()) : $r->the_publish() ?>

    <li><a href="<?php the_permalink() ?>" title="<?php echo esc_attr(get_the_title() ? get_the_title() : get_the_ID()) ?>"><?php if ( get_the_title() ) the_title() else the_ID() ?> </a></li>

    <?php endwhile ?>

    </ul>

    <?php echo $after_widget ?>

<?php

    wordpress_totally reset_query()  // Restore global publish data stomped through the_publish().

    endif

    $cache[$args['widget_id']] = doctor_get_flush()

    wordpress_cache_add('widget_recent_posts', $cache, 'widget')

    

    function update( $new_instance, $old_instance ) wordpress_cache_get( 'alloptions', 'options' )

    if ( isset($alloptions['widget_recent_entries']) )

    remove_option('widget_recent_entries')

    return $instance

    

    function flush_widget_cache() wordpress_cache_remove('widget_recent_posts', 'widget')

    

    function form( $instance ) area_id('title') ?>"><?php _e('Title:') ?></label>

    <input class="widefat" id="<?php echo $this->get_area_id('title') ?>" title="<?php echo $this->get_area_title('title') ?>" type="text" value="<?php echo $title ?>" /></p>

    <p><label for="<?php echo $this->get_area_id('number') ?>"><?php _e('Number of posts show:') ?></label>

    <input id="<?php echo $this->get_area_id('number') ?>" title="<?php echo $this->get_area_title('number') ?>" type="text" value="<?php echo $number ?>" size="3" /><br />

    <small><?php _e('(for the most part 15)') ?></small></p>

<?php