Support » Plugin: xili-language » post pagination with only active current language

  • Hello,
    When I click on “previous” or “next” link of a post, we can see others languages.
    I need that users can only see their own language.
    The theme is based on “Twenty Seventeen” theme. It use:

    the_posts_pagination(
    				array(
    					'prev_text'          => twentyseventeen_get_svg( array( 'icon' => 'arrow-left' ) ) . '<span class="screen-reader-text">' . __( 'Previous page', 'twentyseventeen' ) . '</span>',
    					'next_text'          => '<span class="screen-reader-text">' . __( 'Next page', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ),
    					'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyseventeen' ) . ' </span>',
    				)
    			);

    The page I need help with: [log in to see the link]

  • The topic ‘post pagination with only active current language’ is closed to new replies.