Maxim Peshkov
Forum Replies Created
-
Hello,
you could add the following code to your functions.php in theme’s root directory:
function ignore_format_of_year_built() { if( has_action( 'wpp_stat_filter_year_built', array( 'WPP_F', 'format_numeric' ) ) ) { remove_action( 'wpp_stat_filter_year_built', array( 'WPP_F', 'format_numeric' ) ); } } add_action( 'template_redirect', 'ignore_format_of_year_built' );Just replace filter
wpp_stat_filter_year_builtabove if needed.year_builtis slug of your year attribute. So, e.g., if slug isyear, filter should be calledwpp_stat_filter_year.Regards.
Please, mark the topic as resolved. Thanks.
Regards.
Hello,
By default, there is no ability to hide specific meta from Single Property page.
I would suggest you to modify property.php template to achieve your needs.To modify template you should do the following:
- copy property.php template from /wp-content/plugins/wp-property/static/views/property.php to your theme’s root directory.
- Add condition to copied property.php template. See example below.
Default:
http://screencast.com/t/BnPSsAIBDReplace 135 line with the following condition:
if(empty($post->$meta_slug) || in_array( $meta_slug, array( 'tagline', 'brief_description' ) ) )Result:
http://screencast.com/t/5ZfCbXPWtsThat’s all.
Regards.
Hello,
Be sure, that meta box with property attributes is enabled on Edit Property page and It’s extended:
- Look through Screen Option settings ( see the button on top right side of page ) – http://screencast.com/t/30j4eCpSpiFg
- Extend/collapse meta box – http://screencast.com/t/oQ6MUAwI
Regards
Hello,
I believe the issue is related to some WP-Property CSS rules which overwrite your theme’s CSS rules. It can be solved by finding and modifying rules which break the view. You could contact us here so we would be able to assist you directly.
Regards.
Adam,
I think, you missed the option which allow you to use multi-select search for your terms on front end. Please, see: http://screencast.com/t/PZyxV9RI2qW
Regards.
Paul,
I’m not sure how I could help you more here. It’s not a common bug. And, unfortunately, I can not replicate it anywhere. As Maria already mentioned you could send us email to contact@usabilitydynamics.com so we would assist you directly.
Regards.
Adam,
Thank you for pointing us to the issue. We will take a look to it as soon as possible.
There is an issue with using multiple attributes on import. You could use Terms ( taxonomy ) instead of multiple checkbox attribute. I believe, it would do the trick on import.
Also, try to use true/false instead of uppercased values TRUE/FALSE.
Regards.
Hello,
Please, create support topic for discussing the issue. And we will be happy to assist you.
Thank you.
Denali theme is using native WP-Property search functionality. So the solution should work for you.
Please, be aware, you should use child theme of Denali to achieve your needs. It prevents the issues with theme upgrading in future.
Regards.
Hello, Piotr
Please, contact us using Contact Support form here. So we could assist you directly.
Thank you.
Hello,
please, clarify your question. Do you mean incorrect values in Property Search form on Search results page? Which version of WP-Property plugin are you using?
Regards.
There are a lot of reasons why you have broken property view: it can be specific styles in your theme or, even, in other plugins, which are breaking the view.
Unfortunately, there is no way to have absolute compatibility with all plugins and themes which users can use on their sites. No one plugin can achieve it.
The only way ( to use view from box ) is to use already existing real estate theme, which allow to customise your view without CSS/HTML or even PHP knowledge. I’m not advertising our premium themes now. There are different solutions on market.
WP-Property plugin is a powerful solution for building real estate sites. It gives your the most functionality from the box and has a lot of Add-ons to extend your site. But, it’s only plugin with set of available templates. It’s not a theme.
Regarding your broken content view.
Something ( your theme or another plugin ) cuts left side of content. I did not investigate it deeply. But the following CSS solution could do the trick:
<style> #content { position: relative; z-index: 999; } </style>Also, you have javascript error on that Property page:
http://screencast.com/t/qeymVH6PnI guess, the error is occurred because of conflict of two real estate plugins ( I saw you have another activated real estate plugin on your site ). See: http://screencast.com/t/HR1PMihY
Regards.
Ok.
I would suggest you to check that there are no conflicts with other plugins and current theme ( Maria already mentioned it above ). Please, look through this article
Regards.
Hello,
the field doesn’t appear in the inside page.
I guess there are different search widgets. You added global search field only for one of them.
I create a new field named Global Search as free text.
Be sure you have
wpp_search[{YOUR_GLOBAL_SEARCH_NAME}]
name for your custom field. So your custom field’s value will be appeared in
$_REQUEST[ 'wpp_search' ]it shows no results
get_properties() function is being used for searching properties. You should add the following ( it’s just example! ) filters:
To add your custom attribute ( field ) to query:
function my_wpp_get_properties_query( $query ) { if ( !empty( $_REQUEST['wpp_search']['YOUR_GLOBAL_SEARCH_NAME'] ) ) { $query['s'] = $_REQUEST['wpp_search']['YOUR_GLOBAL_SEARCH_NAME']; } return $query; } add_filter( 'wpp_get_properties_query', 'my_wpp_get_properties_query' );To allow custom search by specific query attribute:
function my_wpp_get_properties_custom_case( $false, $meta_key ) { return $meta_key == 's' ? true : $false; } add_filter( 'wpp::get_properties::custom_case', 'my_wpp_get_properties_custom_case', 10, 2 );Do your custom search by your custom query attribute:
function my_wpp_get_properties_custom_key( $matching_ids, $meta_key, $criteria ) { if ( $meta_key == 's' ) { $sub_query = new WP_Query(array( 's' => $criteria, 'post__in' => $matching_ids, 'post_type' => 'property' )); $matching_ids = array(); foreach( $sub_query->posts as $_post ) { $matching_ids[] = $_post->ID; } } return $matching_ids; } add_filter( 'wpp::get_properties::custom_key', 'my_wpp_get_properties_custom_key', 10, 3 );Regards.