Skip Navigation

[Resolved] Reseting search does not show all posts

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

Problem:

I have a custom post type "FAQs" that are displayed on a page with a search. All FAQs show up when the page is initially loaded. The one FAQ that is build using the DIVI builder is not found in search but also does not show up when the form is reset

Solution:

The post created with Divi builder will be applied with Divi custom filters, it conducts the problem on content template.

You can add suppress_filters="true" to content template shortcode, for example:

[wpv-post-body view_template="faq-category" suppress_filters="true"]

Relevant Documentation:

https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-body

This support ticket is created 5 years 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by Ian 5 years ago.

Assisted by: Luo Yang.

Author
Posts
#1229653

Ian
Page after search reset.jpeg
Page on initial load.jpeg

I am trying to:
I have a custom post type "FAQs" that are displayed on a page with a search. All FAQs show up when the page is initially loaded. The one FAQ that is build using the DIVI builder is not found in search but also does not show up when the form is reset

Link to a page where the issue can be seen:
hidden link
Site is password protected can send you that in private message

I expected to see:
If you look at the page after the search has been reset you will notice that "Builder FAQ" is missing

I have no idea why this is happening.

#1229759

Hello,

The problem you mentioned above is abnormal, please try these:

1) In case it is a compatibility problem, please deactivate other plugins, and switch to wordpress default theme 2019, deactivate all custom PHP/JS code snippets, and test again

2) Also check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/

3) If the problem still persists, please provide database dump file(ZIP file) of your website, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#1230810

Thanks for the details, I am downloading the files, will update here if there is anything found

#1230883

Here are what I found, the post created with Divi builder will be applied with Divi custom filters, it conducts the problem you mentioned above.

You can try this:
Edit the post view "FAQ Search",

in section "Loop Editor", replace the content template shortcode from:
[wpv-post-body view_template="faq-category"]

with:
[wpv-post-body view_template="faq-category" suppress_filters="true"]

And test again.

More help:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-body
'true' | 'false' (default)
If suppress_filters=’true’, all third party (non WordPress) filters hooked into the_content filter will be removed

#1230969

Ian

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.