最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

Search and Filter Plugin - How to disable redirection

matteradmin10PV0评论

I'm building my wordpress first website and I have a problem with the Search and Filter plugin (/). Each time I click on the submit button it redirect to a page that doesn't exist in my site.

How can I display the results below the filters ?

I'm building my wordpress first website and I have a problem with the Search and Filter plugin (https://wordpress/plugins/search-filter/). Each time I click on the submit button it redirect to a page that doesn't exist in my site.

How can I display the results below the filters ?

Share Improve this question asked Jun 21, 2017 at 14:02 Melanie JourneMelanie Journe 101 0
Add a comment  | 

1 Answer 1

Reset to default 1

Welcome to wordpress.stackexchange.

The plugin is possibly redirecting to a theme search results page that does not exist in your theme. Therefore the search results are not show.

For example in the Twenty Seventeen theme the files needed to display the search box and search results are search.php and searchform.php. Both files can be found here wp-content\themes\twentyseventeen.

I suggest you install the default Twenty Seventeen theme into your WordPress installation and then install and run the plugin. The plugin should then have both pages/files to display the search box and the search results, hopefully enhanced the way you want it to be.

If you cannot change your theme then go into your theme files, they are here wp-content\themes\NAME_OF_THE_THEME\ and look for PHP files that could have to do with displaying the search box and the search results. Looks for files that might have the word "search" in their filename. If such files do not exist you current theme might not support search functionality.

In that case please have a look at https://codex.wordpress/Creating_a_Search_Page and learn what you need to build a search page for the website you are working on. Also have a look at this short tutorial on how to make a search form and how to control the relevant search results on your website.

If this does not help let's hear about it. If this answer helped you or solved the issue please mark it as accepted, thank you.

Post a comment

comment list (0)

  1. No comments so far