• Resolved barrydollar

    (@barrydollar)


    WEBSITE: http://gabaptist.org

    SHORT CODES: Most pages have shortcode tabs. This page [http://gabaptist.staging.wpengine.com/cp/] has multiple references to “CP” but the neither page or references appear in the search results for “cp”.

    ANCHOR LINKS: Thinking I could use anchor links in place of short code tabs, I have created both a post and a page to test using only anchor links:
    Post > http://gabaptist.staging.wpengine.com/top-10-animals-blog/
    Page > http://gabaptist.staging.wpengine.com/10-top-animals/

    If I search “Animals” (term in title) both post and page appear in results. But if I search the term “Giraffes” or any terms exclusive to the body copy, nothing appears in the results.

    Before indexing I did check “Expand shortcodes in post content”.

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Mikko Saari

    (@msaari)

    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?

    Thread Starter barrydollar

    (@barrydollar)

    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.

    Thread Starter barrydollar

    (@barrydollar)

    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.

    Thread Starter barrydollar

    (@barrydollar)

    Also, is this the correct way to set-up Synonyms?
    screenshot: https://gabaptist.org/wp-content/uploads/2017/10/Screen-Shot-2017-10-13-at-10.00.42-AM.png

    Plugin Author Mikko Saari

    (@msaari)

    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.

    Thread Starter barrydollar

    (@barrydollar)

    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.

    Plugin Author Mikko Saari

    (@msaari)

    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.

    Thread Starter barrydollar

    (@barrydollar)

    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.

    Plugin Author Mikko Saari

    (@msaari)

    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.

    Thread Starter barrydollar

    (@barrydollar)

    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?

    Thread Starter barrydollar

    (@barrydollar)

    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.

    Thread Starter barrydollar

    (@barrydollar)

    I am going to open a new ticket to continue the conversation about getting tab content indexed.

    Thread Starter barrydollar

    (@barrydollar)

    FYI, the search is now indexing the tab content, so we are good to go. Awesome search plugin. Thank!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Search results not showing content in shortcodes or within anchor links’ is closed to new replies.