• nice plugin, to make it work fine with WPML i replaced the current code

    $posts[] = get_post($product_id->post_id);

    with this one:

    $langInfo = apply_filters( 'wpml_post_language_details', NULL, $product_id->post_id );
    		if(ICL_LANGUAGE_CODE == $langInfo['language_code']){
    			$posts[] = get_post($product_id->post_id);
    		}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Nice plugin, WPML support’ is closed to new replies.