Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi there!

    Thanks for reaching out.

    You can fine-tune the appearance of the search results, including the inclusion or not of those labels, via the wpsl_listing_template filter. Please check the link for more info.

    Regards ??

    Thread Starter dotriz

    (@dotriz)

    I am not talking about the listing. Need to customize the template of single address display from this shortcode

    [wpsl_address id="16643" name="true" address="true" address2="false"
    city="true" state="false" zip="true" country="true" phone="true" email="true" url="false"]

    Plugin Author Tijmen Smit

    (@tijmensmit)

    Hi, unfortunately the only way to customize that at the moment is with CSS.

    If you can share the URL, then I can share the CSS code to make that happen. If you don’t want to share the URL here, then please open a ticket here and include the URL.

    Thread Starter dotriz

    (@dotriz)

    To make it customizable by CSS, there should be at least some classes or IDs added to these labels and elements. and should be in separate tags too.
    I want to hide the labels and remove tel: from the Fax link. All this is only possible with Javascript and not css

    <div class="wpsl-contact-details"> <span>Phone: <a href="tel:01234 710212">01234 710212</a></span><br> <span>Fax: 
    <a href="tel:www.website.com">www.website.com</a></span><br> <span>Email: <a href="mailto:[email protected]">[email protected]</a></span><br></div>


    Plugin Author Tijmen Smit

    (@tijmensmit)

    Your right, I thought I had already fixed this and added more tags / classes to control it. But clearly haven’t done this, will fix this in a future update.

    Only way to change it now is indeed JS, sorry ??

    Thread Starter dotriz

    (@dotriz)

    You don’t need to be sorry for this. You have done a great job of building a wonderful extension. Just add this change in the next update. Best of luck.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Hiding Labels from Shortcode template’ is closed to new replies.