Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by Jurgen 3 years, 8 months ago.

Assigned support staff: Luis Sacristán.

Author Posts
March 27, 2017 at 12:56 pm #1240283

Jurgen

I am trying to: view my links in the 2nd language

URL of (my) website where problem appears:
- hidden link (French, json error)
- hidden link (Dutch, all OK)

I expected to see: text and logo's as in Dutch

Instead, I got: json errors

Steps to duplicate the issue: check both URLs to see the "difference" on the translated page

March 28, 2017 at 2:43 pm #1241496

Luis Sacristán
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hi Jurgen

Thank you for consulting WPML Support
I will be happy to help you with your ticket

I have tested Link View and it should worked with WPML. In order to debug the problem I’d like to replicate your site locally. For this I'll need to temporarily install a plugin called "Duplicator" on your site. This will allow me to create a copy of your site and your content. If you prefer to do it on your own, you can provide me with the snapshot following these directions:

If you already know how Duplicator works (http://wordpress.org/plugins/duplicator/), please skip the following steps and just send me the installer file and the zipped package you downloaded.

Please remember to enable the filters and exclude this:
+ wp-uploads
+ cache
+ media
+ archive
Excluding these things will help in keeping the snapshot size minimum

:: Duplicator instructions
hidden link

Send me both files (you probably want to use DropBox, Google Drive, or similar services, as the snapshot file will be quite big)

Once the problem is resolved I will delete the local site.

I am enabling private message for your next reply so that you can send me snapshot link and admin details of account you will create for me.
** IMPORTANT **
- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link
Thank you for your cooperation for debugging this issue.

Regards
Luis

March 29, 2017 at 9:51 am #1242165

Luis Sacristán
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Thanks for the files. Let me test locally to try to find what is going on with this plugin

Regards

March 29, 2017 at 11:57 am #1242305

Luis Sacristán
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hi Jurgen

It is a Link View bug, the shortcode shouldn't be formatted.

You can add this code to your functions.php to fix it:

add_filter( 'no_texturize_shortcodes', 'shortcodes_to_exempt_from_wptexturize' );
function shortcodes_to_exempt_from_wptexturize( $shortcodes ) {
    $shortcodes[] = 'linkview';
    return $shortcodes;
}

Regards
Luis

March 29, 2017 at 2:39 pm #1242474

Jurgen

Wooohoow, works like a charm 🙂
You rule!!