Pular a navegação

Open

Topic Tags: Compatibility

Overview of the issue

If you are using Avada theme, you may encounter an issue where the portfolio tag filter in secondary languages displays only a limited number of tags compared to other languages.

Workaround

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

  • Open …/wp-content/themes/Avada/includes/lib/inc/class-fusion-multilingual.php file.
  • Look for the map_terms() method.
  • Replace:
    				$translated_id   = apply_filters( 'wpml_object_id', $term->term_id, $cpt, true );
    
  • With:
    				$translated_id   = apply_filters( 'wpml_object_id', $term->term_id, $taxonomy, true );
    

Deixar uma Resposta

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.

Você pode usar estas tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>