Hello.
You do not need to use those functions directly.
You can use our shortcodes, such as [property_overview].
https://usabilitydynamics.com/tutorials/wp-property-help/wp-property-shortcode-cheat-sheet/
Regards.
Thanks.
I am aware of the shortcodes provided by WP-Property, but we would like to use our custom code for the loop.
The following code is now used on page-objects.php, which has been set as the property overview page under the plug-in settings:
<?php if(have_properties()): ?>
<div class="row">
<div class="col-xs-12">
<?php foreach(returned_properties('load_gallery=false') as $property): ?>
test
<?php endforeach; ?>
</div>
</div>
<?php endif; ?>
Hello.
We do not provide support ‘how to customize our products’ on wordpress forums.
You can purchase business support service for that.
Regards.
So you do offer documentation on how to customize the property overview by using a custom PHP-file (which can be chosen as the property overview page under the plug-ins settings), but you do not offer any support if the documentation provided does not work out? I find that curious. Could you please reconsider?
Regards
Source: https://www.usabilitydynamics.com/tutorials/customizing-wp-property-overview-template-and-adding-a-custom-attribute
Thanks! I’ll look into that.
Hello,
Same thing here. I would like to use the plugin to manage the properties in the admin area. I connect them with custom fields, etc. and I want to use in a page template.
@rob, have you found out how to do this? The link from Maria is not useful for me.
Thanks!
Just for info if somebody would have the same problem.
If you use the [property_overview] shortcode on a page, you create a template for it. There in a wp loop, echo the_content(). That will fetch the property-overview.php from your theme folder, where you can use the datas.
EDIT: This loads up the propery_overview stylesheets, js, and every other thing … 🙁
Hi!
I ended up creating a shortcode called [objects]. WPP stores all properties as a post with post type ‘property’. The shortcode code outputs HTML, built with data coming from a custom query:
$query = new WP_Query(array(
'post_type' => 'property',
'post_status' => 'publish',
'posts_per_page' => 20
));
This solution satisfies our need to create a completely custom template, custom CSS and custom JavaScript, without including any of WPP’s default files.