• Resolved miquelpontes

    (@miquelpontesgmailcom)


    Hello,

    My website (https://opistobranquis.info/en) works quite well on desktop browsers. I installed “WP Mobile Detect” plugin to override a CSS problem with Jetpack Mobile theme that caused another plugin (Flexible maps) doing funny things with on map markers. I disabled Jetpack Mobile Theme, and right after installing “WP Mobile Detect” that problem solved, but a new one appeared.

    I use Google Custom Search function provided by the plugin “WP Google Search”. I see the “WP Mobile Detect” with the Bluesteel mobile theme has its own search box as the first option in the drop down menu. Well, typing anything in this box (i.e. janolus) to search for something in my web site (from a mobile phone) renders a 404 error (and as I have a 404 redirection to the home page, there you go). This very same search in any desktop shows you the correct results.

    I tried disabling WP Google Search plugin and let the default wordpress search work, but I got the same results: Search does not work when my website is displayed with the mobile theme.

    Any ideas? Thank you very much for your time.

    https://www.ads-software.com/plugins/wp-mobile-detect/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jesse Friedman

    (@professor44)

    So you’re using a plugin to hook in and remove the traditional search box provided by your theme? If so either your theme isn’t properly calling the search hook or the plugin isn’t replacing it correctly. It sounds to me like your theme is using the basic search box when on mobile and your search plugin can’t find and replace it. This unfortunately doesn’t have much to do with my plugin, something that has to be sorted about between your theme and search plugin’s compatibility.

    You could use my plugin to write a function to replace the theme search box on mobile but that’s getting messy. Have you reached out to the theme developer?

    Thread Starter miquelpontes

    (@miquelpontesgmailcom)

    Thanks for your indications Jesse. I’ll investigate this path…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Search not working in mobile theme (it does on desktop theme)’ is closed to new replies.