Enable support for WPML pages (Feature)
-
Hi!
I’m a little worried by the lack of updates for this plugin, and I’m beginning to regret suggesting my client purchase the PRO version… Especially because it looks like you de-listed this PRO plugin from your main website. (There are zero links to it anywhere on your website directly. Only from here)
Anyway… I have a feature fix for you, ready to go… WPML support!
I am running a site for a client that is running WPML. I have specific pages that I’ve disabled from being Copy Protected, but I wanted to get the translated versions of those pages in there as well.
So, for this to work… Edit your “includes\class-settings.php” file, around line 510 in the AJax function “get_posts()”, add a “suppress_filters” argument to your WP_Query so it looks like this:
$search_args = [ 's' => $search_q, 'post_status' => 'publish', 'ignore_sticky_posts' => 1, 'posts_per_page' => 10, 'post_type' => $search_type, 'suppress_filters' => true, ]; $search_results = new \WP_Query( $search_args );
I haven’t checked to see if this is the same location in your free version of the plugin, but the concept is the same.
But, for real, have you guys stopped working on this plugin? Is this plugin now abandoned?
- The topic ‘Enable support for WPML pages (Feature)’ is closed to new replies.