The CP case is simple: by default Relevanssi only indexes words that are longer than three characters. CP is shorter than that, so it is not indexed. You can adjust the minimum word length from the settings, and you have to rebuild the index afterwards.
The search clearly catches on to some post content. How is the top 10 animals post done? Are you perhaps using some kind of page builder? In some cases the post content is not actually stored in the post content, but in custom fields, if you have a page builder and modular page structures.
If that’s the case, you need to tell Relevanssi where the content is found. List the names of the custom fields in the “Custom fields to index” setting. If you don’t know the names of the custom fields, you can use “all” to index everything. Again, rebuild the index afterwards. Does that help?
Befor indexing I did set the minimum word length 2 characters. The search does not find it. Very possible it is related to the fact that we do use page builder tools so let me look into that, add the custom fields, reindex and I will let you know. Thanks.
OK, I reindexed using “all”. Then I tried various situations using the word “Chameleons”. Finds in posts and pages. Finds in builder elements. Where it does not find it is within tabs. This is odd because it is found within accordions, and both tabs and accordions are built with shortcodes. I have the “Expand shortcodes in post content” box checked. Should it be checked or unchecked to index content in shortcodes? Any suggestions on getting the tabs indexed? If we can resolve the tabs I will definitely buy the plug-in.
Shortcodes are expanded and their contents made visible for Relevanssi when the options is checked. In some cases that is enough. In some cases you may have to make Relevanssi index the shortcodes that contain the page builder content.
For synonyms, lose the apostrophes. Otherwise it is correct.
I appreciate your patience as I try to fully understand. When you say “incex the shortcodes that contain the page builder content”.
I add all content, accordion shortcodes, and tab shortcodes in the page builder section below the standard WordPress content field. See screenshot: http://gabaptist.staging.wpengine.com/wp-content/uploads/2017/10/themify-builder.jpg
The I reindexed using “all”. I checked the box to expand shortcodes in post content. Accordions, posts, and pages are all being indexed. Both accordions and tabs are made with shortcodes but only tabs are not being indexed. You instructed me to “make Relevanssi index the shortcodes that contain the page builder content”. I’m thinking I’ve done this since Relevanssi indexes the accordion shortcodes. But why is it missing the tab shortcodes?
Sorry if this sounds redundant, I’m just trying to understand what I need to do.
The content needs to be somewhere Relevanssi can see it. Page builders store the content in different places.
If it’s in post content, Relevanssi will see it, no problems.
If it’s inside a shortcode, Relevanssi will most likely see it if shortcode expansion is enabled (not all shortcodes co-operate, but most do, if they’re well written).
If it’s inside a custom field, you need to make Relevanssi index the custom field.
If none of these work, then the content is stored in some other way. I’ve seen a page builder store a HTML table in an encrypted format. In order for Relevanssi to be able to index the table, we needed to add a function to decrypt the raw HTML code so that Relevanssi could see it.
Without knowing how the page builder works, I can’t help you further with this. There are debugging methods to figure out what is happening with the data. You can for example take a look at what the relevanssi_post_content
filter hook is seeing when a post is saved.
This is something where I can help you, but it’s enough work that it’s something I can only offer for paying Relevanssi Premium customers.
FYI: We are trying to get the premium versions and the “Paddle” check-out is not accepting our credit cards. We tried both Visa and AMX and both are active cards. I just replied to their help link and waiting to hear back. Just thought you would want to know as it might be costing you sales.
Ah, that’s unfortunate. Paddle customer support has generally been top-notch, so I’m sure you’ll hear back from them soon. I’ve had innocent customers bump into fraud protection mechanisms before, with other payment processors; that occasionally happens, but has always been sorted out eventually.
We have been billed for the premium version, it showed up on our credit card last week. However we have not received a receipt or instructions on how to activate the premium version. I have been communicating with Paddle. Friday morning I sent the details of the transaction they asked for and have not heard from them since. I followed-up this morning asking for an update but still have heard nothing. Can you step in and help sort this out?
OK, this has finally been resolved. Apparently the Credit Card company blocked the purchase since it was from a foreign country. It has now beed sorted out and I am up and running with the premium version.
I am going to open a new ticket to continue the conversation about getting tab content indexed.
FYI, the search is now indexing the tab content, so we are good to go. Awesome search plugin. Thank!