What do you mean with save the post? Which post? The PHP scripts are applied site-wide.
Sorry for the delay, I was away for Christmas.
I mean any post that has this problem, ie. isn’t found for “CoordinatorLayout”.
When I add this to a post, it shows up as text in a post
Sorry, I wasn’t clear enough. Add the code to your theme functions.php, then go save a post. It should then print out how Relevanssi sees that post, and that will help us figure out why things are the way they are.
I see, this is the output:
https://textuploader.com/d88bo
-
This reply was modified 7 years, 4 months ago by
flizzywp.
Put this in the theme functions.php and rebuild the index, that should fix the problem:
add_filter( 'relevanssi_punctuation_filter', 'rlv_lt_fix' );
function rlv_lt_fix( $replacements ) {
$replacements['<'] = '';
return $replacements;
}
Still only this 1 result. Anything else I have to pay attention for in the settings?
How is “Expand shortcodes when indexing” set on your site? If it’s enabled, try disabling it and rebuilding the index. Does that help?
I tried it, and it made the only 1 result (for CoordinatorLayout) disappear as well.
Ok. In that case – I’m sorry, but I can’t help you further with this. Helping you more would require doing some debugging on your site to figure out why it’s not working and why none of my suggestions is helping. It’s probably something to do with the shortcodes you’re using for the tabs, and that’s something I can’t replicate on my test site.
Ok, thanks for your time!
If I just uninstall the plugin, can this break anything?
No, it should not break anything, unless your theme is using Relevanssi functions (like the Did you mean function) without a safe if (function_exists()) check. But you’ll see that right away if you deactivate the plugin and run a search.
Or actually, can I pay you to take a look at this?
Yes, if you buy a Premium license and can give me FTP and WP admin access to your site, I can look at this.