Jump to content

- - - - -

Polylang Code In Pagelines Framework Outdated

polylang framework code

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1 janpeeters†



  • DMS Subscriber†
  • 308 posts

Posted 21 November 2012 - 09:23 AM

Hi Pagelines,

I'm using Polylang to translate my site. It works mostly well. After the last update to Polylang 0.9.5 my website looked garbled. Contacting the dev about this he answered the following. Maybe this is interesting for you too. I deleted the mentioned code completely and it worked well. But maybe to be backward compatible it should be the replaced code. I know that I might have to delete the code again if Pagelines gets updated any day soon.
Anyway, I thought I let you know.


------Chouby wrote-------

In Pagelines code, there is an attempt to be compatible with Polylang :) However, it does not seem to work as expected.
In file includes/class.render.css.php (line 349 in 3.7.9):

Please Login or Register to see this Hidden Content

should be replaced by:

Please Login or Register to see this Hidden Content

or even completely removed (Polylang supports the equivalent function of WPML 'icl_get_home_url' since 0.9.4)
Changing this may solve the issue.

#2 catrina



  • Members
  • 12345 posts

Posted 21 November 2012 - 03:28 PM

Thanks for letting us know!

#3 Simon_P



  • Administrators

  • 8388607 posts

Posted 26 November 2012 - 07:26 PM

Removed the code, so it should use icl_get_home_url() in 2.3.6