londonstyler
Forum Replies Created
-
Forum: Plugins
In reply to: [PropertyHive] Import from WP-PropertyThanks,
Yes, I did try this method which works fine for normal WP Posts, but not the PH excerpt. Alternatively, could we just amend the code you reviously supplied to echo the floorplan out in the summary?
add_action( ‘propertyhive_single_property_summary’, ‘function_to_add_address_to_single’, 6 ); function function_to_add_address_to_single() { global $property; echo ‘<p class=”add-t”>’. esc_html($property->get_formatted_full_address()) . ‘</p>’; }
Forum: Plugins
In reply to: [PropertyHive] Import from WP-PropertyScreenshots
Forum: Plugins
In reply to: [PropertyHive] Import from WP-PropertyHi Steve,
I am adding a link to the summary description box, but this is being stripped out in the front-end. Is there a way around this? If this isn’t possible, is there a way of echoing the floorplan in the summary only for sold properties?
Thanks as always for your help
Forum: Plugins
In reply to: [PropertyHive] Import from WP-Propertyok – many thanks for your help
Forum: Plugins
In reply to: [PropertyHive] Import from WP-PropertyThanks, that works great. Is there a list of hooks that Property Hive uses that I can utilise?
Forum: Plugins
In reply to: [PropertyHive] Import from WP-PropertyThanks Steve,
Still need a bit of help. I am trying to add the address below the title on the single property page. I have tried amending the code you sent before to add to search results, although the following code doesn’t wo[rk (I’m not great with php as i’m sure you’ve noticed!)..
add_action( ‘propertyhive_after_single_property_loop_item_title’, ‘function_to_add_address’, 1 );
function function_to_add_address()
{
global $property;
echo ‘<p class=”add-t”>’. esc_html($property->get_formatted_full_address());
}
Forum: Plugins
In reply to: [PropertyHive] Import from WP-PropertyHi Steve,
I’m trying to edit the content-single-property.php to reorder some of the content. I have added a couple of lines to the existing code (please see below).
I have added address & moved the summary up into this div, although the output hasn’t changed – what am I doing wrong?
Thanks for your help as always.
<div class="summary entry-summary"> <?php /** * propertyhive_single_property_summary hook * * @hooked propertyhive_template_single_title - 5 * @hooked propertyhive_template_single_address - 6 * @hooked propertyhive_template_single_summary - 7 * @hooked propertyhive_template_single_floor_area - 8 * @hooked propertyhive_template_single_price - 10 * @hooked propertyhive_template_single_meta - 20 * @hooked propertyhive_template_single_sharing - 30 */ do_action( 'propertyhive_single_property_summary' ); ?> </div><!-- .summary -->
- This reply was modified 7 months, 3 weeks ago by londonstyler.
Forum: Plugins
In reply to: [PropertyHive] Import from WP-PropertyPerfect – thanks.
Forum: Plugins
In reply to: [PropertyHive] Import from WP-PropertyThanks Steve, that works great.
Any thoughts on the Availability states?
While I’ve got you, is their a way to differentiate the different availablity settings, so I can set a different background colour for ‘Let’ & ‘Let Agreed’ etc. The class set is the same regardless of state, so can’t target with CSS.
Forum: Plugins
In reply to: [PropertyHive] Import from WP-PropertyThanks – where would i place this php?
Forum: Plugins
In reply to: [PropertyHive] Import from WP-PropertyIt outputs the title, price, summary description & availability, but not address. https://tylerwebdesign.co.uk/ph-1.png
I am using the [properties columns=”1″] shortcode on a page to output all properties.
While I’ve got you, is their a way to differentiate the different availablity settings, so I can set a different background colour for ‘Let’ & ‘Let Agreed’ etc. The class set is the same regardless of state, so can’t target with CSS.
Thanks for your help!
Forum: Plugins
In reply to: [PropertyHive] Import from WP-PropertyThanks Steve, I didn’t work for me, so we have decided to do manually.
Regarding the search results. Is it possible to add ‘Address’ to the Fields listed on Template Assistant?
Forum: Plugins
In reply to: [PropertyHive] Import from WP-PropertyHi Steve,
Export in BLM is no longer available as a plugin, WP All Exports has a conflict with WP Properties so can’t export the data. Is there any other way to export / import from WP Property? My client has over 500 properties so can’t really do this manually!
- This reply was modified 8 months ago by londonstyler.
- This reply was modified 8 months ago by londonstyler.
- This reply was modified 8 months ago by londonstyler.
Forum: Plugins
In reply to: [PropertyHive] Import from WP-PropertyThanks for this. Is it not possible to import from an .xml file?
Forum: Networking WordPress
In reply to: Image inclusion when not super-adminThanks for your reply Malcolm.
Super Admin was created by default when we created the install of Multisite. We have the image issue occur for all other admins, whatever level, across the network.