Recently I’ve bumped into a known issue that’s been causing many users annoyance in the support forum: Links for posts in the the WordPress default ‘Recent Posts’-widget all default to the same URL (usually site address URL) when users are running the WPML multilingual plugin with their X/Pro site.
Some encountered this problem with X, some with Pro, but in the end, the root cause lies with an issue between Cornerstone and WPML. I’ve worked with WPML to resolve the issue and would like to share it with anyone searching the forums:
Please follow this steps in order to solve the issue:
- Edit the file wp-content/plugins/cornerstone/includes/classes/components/class-wpml.php
- Disable this line:
add_filter( 'the_permalink', array( $this, 'filter_permalink' ) );- Save the changes.
Furthermore, I’d like to request a fix from Themeco devs working on Cornerstone to investigate the source of the incompatibility and look if there’s a fix to be made. Perhaps (for now) commenting out that line of code in the next Cornerstone update?
Thanks and good luck 