Skip Navigation

[Resolved] Strange search results

This thread is resolved. Here is a description of the problem and solution.

Problem:
Strange search results
Solution:
The plugin "Better Search" was causing the conclict.

Relevant Documentation:

This support ticket is created 6 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 6 replies, has 2 voices.

Last updated by WillL606 6 years, 4 months ago.

Assisted by: Minesh.

Author
Posts
#1104290

I am trying to: Get search results not to break when the word "in" is included in search

Link to a page where the issue can be seen:
hidden link

I expected to see:
[wpv-post-link] show as a link

Instead, I got:
just the shortdode

#1104590

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - I just to confirm here are you displaying the results of the search using WordPress Result archive created using Toolset Views?

#1104719

Minesh,
Yes. I am using a search results template and have the following for the conditionals:


[wpv-conditional if="( '[wpv-post-type]' eq 'essay' )"] 
<h4 class="search-title">[wpv-post-link]</h4>
  <div class="entry-author-search">by [types field='essay-author' separator=', '][/types]</div>
<div class="entry-meta-search">[types field='publicationdate' style='text' format='F j, Y'][/types]</div>
  [types field='excerpt'][/types]
[/wpv-conditional]
  
[wpv-conditional if="( '[wpv-post-type]' eq 'author' )"]
  <h4 class="search-title">[wpv-post-link]</h4>
  [types field='author-bio'][/types]
[/wpv-conditional]
  
[wpv-conditional if="( '[wpv-post-type]' eq 'gathering' )"]
  <h4 class="search-title">[wpv-post-link]</h4>
   [wpv-post-excerpt length="250" more="Read more"]
  
[/wpv-conditional]
  
[wpv-conditional if="( '[wpv-post-type]' eq 'page' )"]
  <h4 class="search-title">[wpv-post-link]</h4>
  [wpv-post-excerpt length="250" more="Read more"]
  
[/wpv-conditional]
  
[wpv-conditional if="( '[wpv-post-type]' eq 'post' )"]
  
  <h4 class="search-title">[wpv-post-link]</h4>
  <div class="entry-author-search">by [wpv-post-author]</div>
<div class="entry-meta-search">[wpv-post-date format="m/d/y"]</div>
  [wpv-post-excerpt length="250" more="Read more"]
  
[/wpv-conditional]

I am also using a plugin called Better Search, but I am not sure how this affects things. Its seems like certain words cause problems. For example, the word "wonder" causes the page to be blank and for some reason the right sidebar is picking up multiple authors "other essays": hidden link

I am just not sure where to look for this problem.
Thanks,
Will

#1105396

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

That is really strange.

In order to minimize the cause of the issue:

Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes?

Do you still see the issue with only Toolset plugins active?

#1105681

I apologize. It was the plugin for search - "Better Search". I have removed it and no longer have the problem.

I would like to get better results with Search. Do you have a resource on how to use filters on the Archive for Search?

Thanks,

Will

#1106568

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - glad to know that you found the cause of the issue and good to know that Toolset is not involved in your case.

Please feel free to close this ticket. I will get in touch with you with new ticket I've created for you.

#1108460

Thanks.
W