Skip Navigation


Topic Tags: Compatibility


When you add a Recent Posts widget in X theme, all the posts links in the widget redirects you to the same page.


You can resolve this issue by commenting out the filter below in the class-wpml.php file found in ../wp-content/plugins/cornerstone/includes/classes/components/:

//add_filter( 'the_permalink', array( $this, 'filter_permalink' ) );

4 Responses to “X Theme – All post links in the recent posts widget links to the same page”

    • Thanks for your comment!

      Yes, the modification described in this errata will be overridden in the next Cornerstone update. Hence, you will need to comment out the filter again after the update is completed.

      I know that this is not the most efficient way to resolve the issue! Hence, we are already in touch with the developers of X theme to resolve the issue permanently.

      Thanks for your patience!

  1. Hi,

    I have tried this solution but this does not seem to work (anymore)?

    Looking forward to a reaction, otherwise if necessary i will create a new ticket.

    Kind regards,

    Wim Peters