Skip to content Skip to sidebar

Waiting for author

Topic Tags: Compatibility

Overview of the issue

When using the Crafto Theme Builder to create template parts such as the Top bar, Header, and Footer, you might experience the following issue: even after translating these templates, the site continues to display them in the primary language on the frontend.

Workaround

Please, make sure of having a full site backup of your site before proceeding.

  • Open the …/wp-content/plugins/crafto-addons/includes/theme-builder/conditions/theme-builder-functions.php file.
  • Look for _crafto_theme_builder_template. You will find it in several queries.
  • In $query_args = [ replace:
    'fields'         => 'ids',
            
  • With:
    'fields'         => 'ids',
    'suppress_filters' => false,
            

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>