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
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 8 months, 2 weeks ago by lmh.
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.
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.
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.
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.