Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi there!

    Yes, that’s a known issue. There are no plans to add compatibility with Polylang for now, but here’s a workaround to make it work with WPP.

    I can’t seem to use the workaround with polylang. The WP just went blank if I use the:

    // WPML support, get original post/page ID
    if ( defined('ICL_LANGUAGE_CODE') && function_exists('icl_object_id') ) {
    	$wpml_options = get_option( 'icl_sitepress_settings' );
    	$id = icl_object_id( $id, get_post_type( $id ), false, $wpml_options['default_language'] );
    }
    Plugin Author Hector Cabrera

    (@hcabrera)

    Hi @ekajuan!

    What version of WPP are you using? With the latest release this workaround isn’t needed anymore.

    Ver 3.3.1

    I use 2 languages: English and Indonesia.

    In English site, it still shows the Indonesia posts.

    My work around is to assign the categories’ id for English posts.

    Plugin Author Hector Cabrera

    (@hcabrera)

    If there are no translations available in english for the indonesian posts, WPP will display them in that language.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not compatible with Polylang’ is closed to new replies.