• hi,

    very good plugin.

    i use wpml with 2 languages when i use your plugin it show me the series above the post content with all languages

    example:
    it show me

    1 – french serie post (en)
    2 – série de post en français (fr)

    but i need when i use a website with fr (wpml) show me just
    1 – série de post en français (fr)

    or if i use a website with en (wpml) show me just
    1 – french serie post (en)

    thank you a lot.

    http://wordpress.org/plugins/wp-post-series/

Viewing 1 replies (of 1 total)
  • Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    I can’t tell you how to fix that. WPML duplicates posts for each languages. Here is the query I use, if you want to ask WPML for advice:

    $posts_in_series  = get_posts( array(
    			'post_type'      => 'post',
    			'posts_per_page' => -1,
    			'fields'         => 'ids',
    			'no_found_rows'  => true,
    			'orderby'        => 'date',
    			'order'          => 'asc',
    			'tax_query'      => array(
    				array(
    					'taxonomy' => 'post_series',
    					'field'    => 'slug',
    					'terms'    => $series->slug
    				)
    			)
    		) );
Viewing 1 replies (of 1 total)
  • The topic ‘problem with wpml’ is closed to new replies.