Support » Plugin: Newsletter » WPML compatibility

  • This is David from the WPML compatibility team. We received a few reports in our support forum about this plugin and I would like you provide you with more information to fix it:

    When we are using WPML with language added as a URL parameter, this plugin is generating incorrect URLs, ie: http://localhost/?lang=es?na=s

    Instead of using home_url('/') . '?na=s' you should be using add_query_arg function instead, which will preserve existing URL parameters:

    Like this: add_query_arg( 'na', 's', home_url( '/' ) );

    If you need a developer WPML subscription to test this, you can sign up to Go-Global at the following address and we will provide you one:

  • The topic ‘WPML compatibility’ is closed to new replies.