Forums › Forums › Search & Filter Pro › Posts Search Result Won't Appear
- This topic has 13 replies, 3 voices, and was last updated 8 years, 7 months ago by Ross.
-
Anonymous(Private) April 8, 2016 at 7:00 am #42017
So… I have a widget search form to search for posts.
I’m using the ‘As an Archive’ method and Ajax.
And it pulls the result from search.php
And I want to display it on the entry/content container.I have set the css selector to .entry.
This is the containter of my post.So the idea is when people searches, it just replaces the post content with the search result.
Now, when I do a search, the content turns a bit grey, I guess that means I’ve selected the right css.
But after that no result appears.
Anonymous(Private) April 8, 2016 at 3:59 pm #42057http://dapur-uang.com/solusi-email-selalu-masuk-folder-spam/
I put the widget temporarily so you can check it out.
It’s on the top of the right sidebar.
Trevor(Private) April 8, 2016 at 5:30 pm #42067There is no results container on the page ๐
What did you set for the
Enter the filename of the custom template
setting on the Display Results tab?The method you have chosen will normally go to the theme’s generic search page, and not stay on the page that you are on. The page sample you showed is a single post page? I think that regardless of which display results method you choose, it will send the search to another page, as results must show on an archive (multi-post) page of some sort.
Anonymous(Private) April 8, 2016 at 5:40 pm #42071O so it can’t be shown on the spot and has to be redirect to the search.php.
Because I left the “Only use Ajax on the results page?” uncheck.
Because I want to the result to be on the same page, replacing the post content.Is there a method to do that?
Ross Moderator(Private) April 12, 2016 at 11:39 am #42438Hey Juan
The option “only use ajax on results page” is usually best left enabled.
The only way it can be used is if the layout of your search results page is the same as the layout from every other page where you can find the search form.
So, in order for the search to work directly on this page:
http://dapur-uang.com/solusi-email-selalu-masuk-folder-spam/
The search results page/template: http://dapur-uang.com/?sfid=31418&_sf_s=a Must have the same layout – so the same sidebars, same content areas.
S&F ajax uses the
results container
to find out where to get the results from the results page: http://dapur-uang.com/?sfid=31418&_sf_s=a and then also where to place them on this page:http://dapur-uang.com/solusi-email-selalu-masuk-folder-spam/
So the HTML structure / general layout of the start page must be the same as the results page.
Otherwise you should keep this option enabled.
Thanks
-
AuthorPosts