-
AuthorPosts
-
September 8, 2015 at 1:10 pm #499819
Hello, I’m designing a real estate website and I have to implement an advanced search box for the properties. It will be a very simple search based on 3 criterias only: city, type of property and price. I found a plugin with excellent reviews called “Search & Filter” that should do the job. http://www.designsandcode.com/wordpress-plugins/search-filter-pro/ However, my problem is with the styling of the results page. I have two related inquiries please.
First, the results page default template of the plugin is ugly and does not look anything like the Enfold theme, but the plugin documentation states that the plugin settings allows us to choose a regular template from our theme provided it conforms to WordPress standards and uses the Template Hierarchy. So my first inquiry is how can I use a template from Enfold theme to display the search results from the plugin. I noticed that there is a template button on top of the Avia page builder.
My second inquiry is, in the plugin documentation, it states that “Themes that do not respect the Template Hierarchy, or use custom queries within templates rather than using The Main Loop” can not use a custom template from the theme to display search results. It said that the ‘Avada’ theme for example “does not use the built in Template Hierarchy, and instead run their own custom queries within templates, which override the Search Results and are impossible to accommodate automatically”. So does Enfold support Template hierarchy or does it run its own custom queries within templates (however that means)?September 8, 2015 at 4:02 pm #499958Hi amrman0!
We use templates. You could try making a copy of the /enfold/template-archive.php file and remove the archive code (lines 29 – 204) and replace it with the plugin code to create your own template.
Regards,
Elliott- This reply was modified 9 years, 2 months ago by Elliott.
-
AuthorPosts
- You must be logged in to reply to this topic.