Viewing 9 replies - 1 through 9 (of 9 total)
  • Done in WPSOLR 4.6

    Thread Starter srhom

    (@srhom)

    Thanks for your quick response. I installed the update, and re-indexed. I’m still seeing the short codes. Are there any other steps that I might need to take? Here’s sample URL: http://dev.tulsatech.edu/search-results/?search=careers

    Clear your index first (“Empty the Solr index”), then re-index.

    Hi,

    could it be, that there’s a bug with the shortcode removal?

    I have some entries with shortcodes in the solr index, and it seems that all content between the shortcodes will be removed. It would be nice to keep the content between the shortcodes too. Thanks!

    Examples:

    Content Entry #1:

    [vc_row full_width=”” parallax=”” parallax_image=””][vc_column width=”1/1″][vc_column_text]TEST_1[/vc_column_text][/vc_column][/vc_row]

    Output Solr Index (content): empty

    Content Entry #2:

    TEST_1[vc_row full_width=”” parallax=”” parallax_image=””][vc_column width=”1/1″][vc_column_text]TEST_2[/vc_column_text][/vc_column][/vc_row]

    Output Solr Index (content): TEST_1

    Content Entry #3:

    TEST_1[vc_row full_width=”” parallax=”” parallax_image=””][vc_column width=”1/1″][vc_column_text]TEST_2[/vc_column_text][/vc_column][/vc_row] TEST_3

    Output Solr Index (content): TEST_1 TEST_3

    Thread Starter srhom

    (@srhom)

    Yes. After clearing the index and re-indexing a few times the output is still: [one_half] [/one_half] [one_half_last] Career Interest Testing Choose the career just right for…

    Not working correctly for me. http://tulsatech.edu/search-results/?search=careers

    @srhom

    Can you tell me the original content that gives

    [one_half] [/one_half] [one_half_last] Career Interest Testing Choose the career just right for

    @thopie

    We use strip_shortcodes() to get rid of shortcodes in contents.

    Unfortunately, there is no WP function that also keeps the content of a shortcode.

    It should be solved with release 4.8

    Tell me if it is ok.

    Thread Starter srhom

    (@srhom)

    This latest update did the trick for me. No more short codes. Thanks for your help!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Short codes in results’ is closed to new replies.