Jump to content

Archived

This topic is now archived and is closed to further replies.

Keith Vaugh

Broken rev slider, images in canvas area when polylang activated

Recommended Posts

Keith Vaugh

Hi all

Trying to implement a multi-language site but when ever I activate polylang in DMS 2, the images that are added to the canvas areas, rev sliders etc... fail to load. Have check and the images are still referenced correctly, deactivating polylang again and they all appear

 

Any assistance and/or suggestions would be greatly appreciated. 

 

Thanks

 

Share this post


Link to post
Share on other sites
Danny

Hi,

 

Can you provide a link to the site in question please and make sure Polylang is active so we can see the issue first hand.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Keith Vaugh

No problem Danny. - http://www.etterhorses.com/etter2014

 

Have tried a number of things to resolve the issue, but can't seem to pin it down. All paths to the images are correct, and when polylang is deactivated it returns to normal. 

 

Also there is an option within polylang that allows for language settings on each image and if this is activated the images won't show unless in both languages. I have ensured that this is turned off. 

Share this post


Link to post
Share on other sites
Keith Vaugh

I haven't resolved this issue yet on the live site but have received a response from polylang developer on the issue:

 

"You should report this conflict to the theme author. Your images links have the language code in the url when they must not....."

 

On a local install when I strip out the [pl_site_url] from each field and replace it with the full url to the images, then all functionality is resorted. I am assuming if I was to do a search and replace in the .json file then all the errors could be resolved quickly, but want to ensure its OK to replace the [pl_site_url] on the live site. 

Share this post


Link to post
Share on other sites
Danny

I think you're going to need to speak to the Polylang support team, as this is an issue with Polylang. Basically, it is adding a language directory to your images path which is causing the 404.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Keith Vaugh

Thats what I though also, but when I contacted them, they'd bounced the ball back into the Pagelines court. 

 

On a local install I did a search and replace of all instances [pl_site_url] in the json file, with the full http://www... /wp-content... etc and imported the this. 

It sorts the problem out, but I'd prefer to be sure it won't cause other problems down the line... I have functionality on the local install of the site. 

Share this post


Link to post
Share on other sites
Danny

Hmm, the issue is related to the [pl_site_url] shortcode, thats odd. I'll bring this up with our developers and see if this is the case.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Keith Vaugh

Thanks Danny

Would appreciate that. Would like to try and get a fix ASAP

Share this post


Link to post
Share on other sites

  • Similar Content

    • Lisa Haran
      By Lisa Haran+
      Hi 
      I have a map here http://www.iloveoffset.com/maps/
      I want to add several pointer locations to the map, but when I do they do not appear.
      On this map there are 2 pointer locations and as you can there is only one visible.
      Earlier today I added 7 and could only see 4 so there is something odd going on.
      My theme is up to date
    • clj182
      By clj182+
      Hello,
      I've been having trouble unlocking the template section for past couple of weeks. When I try clicking nothing happens. 
      I've deleted my custom css and removed plugins. Im down to having only the following plugins:
      Akismet
      Contact Form 7
      DMS Professional Tools
      Pagelines Updater
      WooCommerce
      It was working fine before i have no idea what's going on with it.
    • flourishdesignstudio
      By flourishdesignstudio+
      My DMS 2 site http://www.heart-stone.com/ will not save any new custom css... I can still edit templates and publish those but any custom css that I enter never saves.
      All WP files, themes, and plugins are up to date. 
      Any thought about what might be causing this?
    • flourishdesignstudio
      By flourishdesignstudio+
      Is there a way to edit the custom CSS via FTP? I know I can edit the custom code in the Chrome editor but is there a file path I can use to find and edit the CSS directly from our FTP?
      Thanks in advance for the help!
    • nizami
      By nizami+
      Using navbar section with correctly configured WP menu to display main navigation at https://elenaangel.com. 
      All fine in desktop viewport. Menu displays twice in hamburger mode. How to fix this please? 

×