• Resolved lmh

    (@srslylisa)


    I added search to my nav menu and a menu item changed its apostrophe to a question mark. Not the diamond question mark character, just regular ?

    I’m on latest version on SearchWP Modal, latest version of WP, and PHP 7.4.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Pavlo

    (@pavloopanasenko)

    Could you please right click on the menu item with a question mark and click “Inspect” in your browser and take a screenshot?
    Sharing a screenshot of the HTML might help us solve the issue for you.
    Here’s an example of the screenshot: https://a.supportally.com/YAph1J

    Thread Starter lmh

    (@srslylisa)

    WordPress Menu
    Browser Inspect

    I’d temporarily fixed it by putting the html entity number in the menu name, but when I make any change to the menu and save it, I end up with a question mark again.

    • This reply was modified 2 years, 4 months ago by lmh.
    Plugin Author Pavlo

    (@pavloopanasenko)

    The link from your screenshot doesn’t appear to be a SearchWP Modal Search Form menu link.
    Our links have an href attribute starting from #searchwp-modal- as seen on this screenshot: https://a.supportally.com/YAph1J.
    It might be some other code converting the apostrophe into a question mark in your menu.

    But to be sure, let’s make a test:
    1. Remove a SearchWP Modal Search Form menu link from the menu.
    2. Save the menu.
    3. Deactivate SearchWP Modal Search Form plugin.
    4. Try saving the apostrophe again and see if deactivating SearchWP Modal Search Form changes anything.

    Thread Starter lmh

    (@srslylisa)

    I thought you wanted a screenshot of the link with the question mark, which is not my search form link. It’s another item on the menu. My search form is https://snipboard.io/uSU2eP.jpg

    I can deactivate the SearchWP Modal plugin, refresh the page, and it’s an apostrophe again. Reactivate, refresh and it’s a question mark.

    Plugin Author Pavlo

    (@pavloopanasenko)

    I have several ideas on what potentially could happen but need some more input to narrow down the options.

    The issue is not reproducible on my side, so I need one extra test to be made on your website.
    Could you please change the theme to one of the WordPress’s standard themes like Twenty Twenty or Twenty Twenty-One and see if the issue persists.

    The other potential fix would be to add add_filter( 'run_wptexturize', '__return_false' ); hook to your functions.php or a separate plugin like SearchWP Customizations plugin.

    Thread Starter lmh

    (@srslylisa)

    Hi Pavlo, sorry for the delay in my reply, I’ve been away from the computer.

    I didn’t have luck with either of those fixes. It appears to be a conflict with Elementor, I put just a regular WP menu block in a page and the apostrophe displayed fine.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Apostrophe changed to question mark’ is closed to new replies.