• Resolved chiedu19

    (@chiedu19)


    Hi Team, When I translate the pages, the menu disappears, both header and footer menu. And some pages are not found also when I click on the language. I have done all troubleshoots. Kindly visit https://lerestate.com/ to see the issues.

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support madalinaruzsa

    (@madalinaruzsa)

    Hi @chiedu19,

    First, navigate to your WordPress Dashboard, then go to Plugins > Installed Plugins, and check if you’re using TranslatePress Multilingual v2.8.3.

    If you’re not using version 2.8.3, please download it from the following link: TranslatePress-Multilingual 2.8.3, and install it on your site.

    Do you have JetSearch? Because it seams like JetSearch added some compatibility with TranslatePress and applied a filter

    //Translatepress Compatibility if ( class_exists( 'TRP_Translate_Press' ) ) { add_filter( 'trp_force_search', '__return_true' ); }

    This applies this filter on ALL queries basically braking queries entirely.

    The only posts that worked, were the posts that we indexed for search, basically posts that were accessed in a secondary language before installing JetSearch.

    To fix this

    • Create an empty plugin like this: https://gist.github.com/sareiodata/76f701e01db6685829db
    • Add the following code to the end of it:
      add_filter( 'trp_force_search', '__return_false', 99 );
    • Install this plugin via FTP (copy it inside wp-content/plugins) or create a zip archive with it and install it via the WordPress plugin upload functionality
    Thread Starter chiedu19

    (@chiedu19)

    Worked Perfectly. Thank you so much. Your assistance was golden.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Menu disappears when I translate and some pages are also not found.’ is closed to new replies.