Index terms in title like “1/8”?
-
Hello! I love your plugin and have found it to be incredible! I’m just hoping to resolve one last thing before I have everything squared away.
I’m using Woocommerce and have a product with the title “Example Toy – 1/8”. The 1/8 represents the scale of the toy. For some reason, Relevanssi doesn’t index the term “1/8”. I added the following code to keep the forward slash but still didn’t pick it up after rebuilding the index. I checked in MySQL (wp_relevanssi) and didn’t see it show up.
add_filter( 'relevanssi_punctuation_filter', function( $a ) { $a['/'] = '/'; return $a; } );
Is there something I am missing? If this doesn’t work, would I need to create a product category for it called “1/8” or a product custom attribute with the value “1/8”?
Thank you for your help and this amazing plugin!
- The topic ‘Index terms in title like “1/8”?’ is closed to new replies.