EDIT: Just to be more clear. The website doesn’t generate an empty search results page described in this link
It seems like the search function is not working properly since the main content area and all sidebar widgets are not generated after I press search.
Hello.
Pay attention to option in Settings/Main tab – Default Properties Page.
Try to play with it and check how it works.More details here – https://www.usabilitydynamics.com/product/wp-property/docs/main-tab-in-wp-property-settings
Regards.
Hello Maria,
I have been investigating into this issue and I pinpointed the problem.
I have a modified property-overview-page.php that is in the root of my custom theme. When I removed the file from my custom theme the search results came back.
A workaround I found is to move my modified file into the original location
/wp-content/plugins/wp-property/static/views
Therefore it seems to be a problem with the wp-property using the modified template file from a custom theme folder and not an actual problem with the file itself.
I would like to find a solution to this, because as it is my site is not upgrade safe.
Thanks
-
This reply was modified 8 years, 5 months ago by
pierostz.
There is an order which templates using to apply on your site.
1. Child Theme
2. Theme
3. WP-Property plugin
Can you please elaborate on this?
That means if you customize a file in both places, the file from your theme folder will be applied.
Also, we do not recommend to customize plugin’s files, cause they will be overwritten after an update.
Hello Maria,
Let me be more clear on this one.
My file (property-overview-page.php) is customized and it was in the custom theme folder, therefore making it upgrade safe.
After this error occured I moved the customized file into its original location and replaced the original file and the problem went away. So… the problem is this:
I have a customized theme file that when using the upgrade safe way of customizing wp-property plugin the search functionality breaks. If the customize file is in its original location then the problem is gone. What is the solution to make my site upgrade safe again?
I hope I am clear now.
Thanks
Yea, that is clear now. But not sure what is the reason of that. Try to create folder wp-property in your theme root and put the file there. Also are you sure you customized correct file? Usually, users customize property_overview.php
Regards.
Hello Maria,
Just to close this.
I don’t know what happened but after the latest wp-property 2.2.0.4 the problem is gone.
Meaning that I moved back to the theme folder the property-overview-page.php file and now it seems to work correctly.
Thanks
-
This reply was modified 8 years, 3 months ago by
pierostz.
Hello.
Thank you for feedback. Probably you just had to reinstall the plugin.
Regards.