Support » Plugin: PropertyHive » Various questions

  • Resolved glassraven

    (@glassraven)


    I’m in the process of developing a website using the plugin and I have a few questions which I cannot find the answer to in the documentation, on the support forums here or on github.

    Temporary development URL above.

    Radius Search:
    I’ve purchased this addon, created the separate API Key for geocaching and included in the admin, ensured that coordinates are set for properties, but for some reason the search still doesn’t pick up properties in the radius, it only shows those which match the address keyword. Am I missing something obvious or is there something else I should try?

    For example, of the 3 sample properties I’ve added: Marazion is well within 10 miles of Penzance so should show up when searching for Penzance or by postcode TR20.

    Custom Search Form labels – department radio buttons
    As you can see on the homepage I am hoping to use a tab style selector for rent/sale with the currently in use one in colour (otherwise greyed out). However as the input is within the parent label the usual CSS selectors do not work. Is there a way to either a) add a class to the parent using the ajax which is already in place for switching out the max price / max rent, or b) change the display so it is in the standard form of
    <input id="this" ... ><label for="this" ... >label</label>
    so that I can then use the CSS selectors
    input[type="radio"]:checked + label

    Shortlist
    A couple of questions relating to the shortlist. I can see from the documentation that it should be possible to have the properties listed along with the ‘enquire about all properties’ button – but I cannot see how to activate this? Nor how to add the map view to the shortlisted properties page.

    Is it possible to display the ‘Remove from Shortlist’ button on the property listing page ONLY on the shortlisted properties page? I can add it using the hooks but is there a page identifier for the shortlist page (eg ispage('shortlist') or similar).

    Is there a way to have a ‘view shortlist’ link automatically appear under the ‘remove from shortlist’ button once a property has been added?

    Price display
    At the moment the price seems to be a bit backwards to what would be expected – ie instead of OIRO £350,000 it says £350,000 OIRO – is there a simple way to reverse this? It would be a bit clunky to have to rearrange with CSS.

    Thats ‘all’ for now! May be more as I get more content added in – just working on a skeleton info for now.

    I wasn’t sure if it is easier putting all the questions in one place or to separate them out, so to keep the support page smaller I did it all in one! let me know if you prefer them separated out for future reference.

    Also I’m not sure how to add the fact that I have a license key here so hopefully you can see from your records who does!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author PropertyHive

    (@propertyhive)

    @glassraven Thanks for getting in touch and apologies for the delay. I can see you’ve also emailed so will come back to your email as well separately. Including each of your comments below and my response:

    Radial Search
    Any chance of getting WordPress access to look into this further as hard to say at the moment with the information we have available. I’ll request this info via email too so you can send the details via that method.

    Shortlist ‘Enquire All’ button and map view
    You should be able to display your shortlisted properties by appending your search page URL with ‘?shortlisted=1’.

    So if your search results page is, for example:

    /search-results/

    … your ‘Shortlisted Properties’ page should be accessed via:

    /search-results/?shortlisted=1

    You can output shortlisted properties via the [shortlisted_properties] shortcode too, but you won’t get the ‘Enquire All’ and map view functionality when doing it via this method.

    “Is it possible to display the ‘Remove from Shortlist’ button on the property listing page ONLY on the shortlisted properties page?”
    – If you use the approach above to output shortlisted properties you could do:

    if ( isset($_GET['shortlisted'])) { /* output button here */ }

    Price display – swapping order
    – Easiest way to do this is overriding the price.php template. There is one for search results and one for the single property page. These can be found in:

    /wp-content/plugins/propertyhive/search/price.php
    /wp-content/plugins/propertyhive/single-property/price.php

    and can be copied to:

    /wp-content/themes/{your-theme-name}/propertyhive/search/price.php
    /wp-content/themes/{your-theme-name}/propertyhive/single-property/price.php

    … respectively. Within this file you’ll see the price and price qualifier being output, so can just swap them around.

    Any further questions regarding the above, or if anything is unclear just let me know,

    Steve

    Thread Starter glassraven

    (@glassraven)

    Hi Steve

    Thanks for the reply, I’ll send the info over to you via email shortly.

    In the meantime did you have any thoughts on customising the search form radio buttons for departments?

    Thanks
    Sadie

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Various questions’ is closed to new replies.