Skip Navigation

Resolved by author

Overview of the issue

There are currently 2 open issues with Crocoblock JetSmartFilters plugin:

  1. The Search filter label is not showing its translation
  2. The Visual filter is not showing at all on the translated page

Workaround

For both issues we have workarounds that have been shared with the author.

For the Search filter label issue:

  1. Make a full backup of your site before proceeding.
  2. Open your /wp-content/plugins/jet-smart-filters/includes/widgets/search.php file.
  3. Just after line 897 and before line 899 add the following:
    		if ( class_exists('sitepress') ) {
    			$settings['filter_id'] = apply_filters('wpml_object_id', $settings['filter_id'], 'post', true);
    		}
    
  4. The Search filter label translation should be visible now.

For the Visual filter issue:

  1. Go to WPMLSettingsCustom Fields Translation and click Show system fields.
  2. Make the custom field _source_color_image_input translatable.
  3. Go back to your filter and add a small change on it so its translation needs to be updated.
  4. Switch to the WordPress editor and open the filter translation.
  5. Add the categories manually.

2 Responses to “Crocoblock JetSmartFilters - Issues with Search and Visual Filters”

  1. Hi,

    In the meantime the problem still exists or is back again. Also the fix that is provided above can not be applied anymore because the code in the meantime has changed. Is there a different way or new way we can create a workaround? Crocoblock don’t think there is an issue and don’t want to fix it.

    Thanks a lot!

Leave a Reply

Please stay on topic and be respectful to others. If you need help with issues not related to this post, use our Support Forum to start a chat or submit a ticket.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>