Title: leuno's Replies | WordPress.org

---

# leuno

  [  ](https://wordpress.org/support/users/leuno/)

 *   [Profile](https://wordpress.org/support/users/leuno/)
 *   [Topics Started](https://wordpress.org/support/users/leuno/topics/)
 *   [Replies Created](https://wordpress.org/support/users/leuno/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/leuno/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/leuno/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/leuno/engagements/)
 *   [Favorites](https://wordpress.org/support/users/leuno/favorites/)

 Search replies:

## Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Twitter Feeds - A Tweets Widget or X Feed Widget] No tweets found for your selected feed sources.](https://wordpress.org/support/topic/no-tweets-found-for-your-selected-feed-sources/)
 *  Thread Starter [leuno](https://wordpress.org/support/users/leuno/)
 * (@leuno)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/no-tweets-found-for-your-selected-feed-sources/#post-17759647)
 * thx Joel,
   this is my testing environment[https://staging.menabo.cpanel.regsm.it/biosphere/news-2/](https://staging.menabo.cpanel.regsm.it/biosphere/news-2/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Filter Everything — WordPress & WooCommerce Filters] Filter- WPML + ACF](https://wordpress.org/support/topic/filter-wpml-acf/)
 *  Thread Starter [leuno](https://wordpress.org/support/users/leuno/)
 * (@leuno)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/filter-wpml-acf/#post-17417536)
 * ok I modify your script and now I have the correct language on the filter,
   now
   I need to change the slug, I need to translate Global filter prefixes and filter
   slug in second language, for example:
 * first language:menu/ingredienti-pecorino/
   second language:menu/ingredienti-pecorino-
   cheese (no page found)
 * In second language I need /ingredients-pecorino-cheese
 * How to make this?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Filter Everything — WordPress & WooCommerce Filters] Filter- WPML + ACF](https://wordpress.org/support/topic/filter-wpml-acf/)
 *  Thread Starter [leuno](https://wordpress.org/support/users/leuno/)
 * (@leuno)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/filter-wpml-acf/#post-17403131)
 * I try with this function:
 *     ```wp-block-code
       add_filter('wpc_terms_before_display', 'translate_acf_fields', 10, 2);
   
       function translate_acf_fields($terms, $filter) {
           $fields_to_translate = array('tipologia', 'regione', 'cucina', 'origine', 'stagioni', 'informazioni', 'ingredienti', 'e_ora_di', 'Formaggio');
           if (function_exists('get_field_object') && in_array($filter['e_name'], $fields_to_translate)) {
               $newTerms = [];
   
               foreach ($terms as $k => $term) {
                   $field_value = $term->name;
   
                   if ($field_value !== false) {
                       if (function_exists('icl_translate')) {
                           $current_language = apply_filters('wpml_current_language', NULL);
                           $field_value_translation = icl_translate('acf', $filter['e_name'], $field_value, $current_language);
                           $term->name = $field_value_translation;
                       }
                   }
   
                   $newTerms[$k] = $term;
               }
               return $newTerms;
           }
   
           return $terms;
       }
       ```
   
 * But filter is always in the first language (it), I hope you can help me.
   THX
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Filter Everything — WordPress & WooCommerce Filters] Filter- WPML + ACF](https://wordpress.org/support/topic/filter-wpml-acf/)
 *  Thread Starter [leuno](https://wordpress.org/support/users/leuno/)
 * (@leuno)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/filter-wpml-acf/#post-17402768)
 * “You need to create a custom field for each language and apply it to your products,
   so you can use in each filter set translation the needed custom fields like catgory_en,
   category_fr, and so on.”
 * I need to translate and apply to all my products?! I have 250 products this is
   a nightmare 😐
 * if I use wpc_terms_before_display hook how I can work with seo? I can change 
   also the slug?
    -  This reply was modified 2 years, 5 months ago by [leuno](https://wordpress.org/support/users/leuno/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Essential Addons for Elementor - Popular Elementor Templates & Widgets] Accordion, Anchor links & stiky header](https://wordpress.org/support/topic/accordion-anchor-links-stiky-header/)
 *  Thread Starter [leuno](https://wordpress.org/support/users/leuno/)
 * (@leuno)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/accordion-anchor-links-stiky-header/#post-17146322)
 * PERFECT!! thank you very much!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Essential Addons for Elementor - Popular Elementor Templates & Widgets] Accordion, Anchor links & stiky header](https://wordpress.org/support/topic/accordion-anchor-links-stiky-header/)
 *  Thread Starter [leuno](https://wordpress.org/support/users/leuno/)
 * (@leuno)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/accordion-anchor-links-stiky-header/#post-17137906)
 * sorry but my website is under maintenance mode.
   this is the problem: [https://ibb.co/Yb7dpJz](https://ibb.co/Yb7dpJz)
   this what I need: [https://ibb.co/vL646kX](https://ibb.co/vL646kX)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Max Mega Menu] hover effect](https://wordpress.org/support/topic/hover-effect-23/)
 *  Thread Starter [leuno](https://wordpress.org/support/users/leuno/)
 * (@leuno)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/hover-effect-23/#post-15161531)
 * sorry, this is my problem:
    I have insert fibosearch field in my megamenu, but
   when user go with mouse on result list div, MMM close because lost hover focus.

Viewing 7 replies - 1 through 7 (of 7 total)