# Whatsapp for featured listing only

**URL:** <https://community.hivepress.io/t/whatsapp-for-featured-listing-only/15419>\
**Category:** HivePress\
**Created:** [March 21, 2025, 5:15am UTC](https://community.hivepress.io/t/whatsapp-for-featured-listing-only/15419 "2025-03-21T05:15:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Info1](https://community.hivepress.io/letter_avatar_proxy/v4/letter/i/f05b48/32.png) [@Info1](https://community.hivepress.io/u/Info1)\
**Post date:** [March 21, 2025, 5:15am UTC](https://community.hivepress.io/t/whatsapp-for-featured-listing-only/15419/1 "2025-03-21T05:15:57Z")

</div>

Hi there!  
I’ve successfully set up a WhatsApp button on listings using the “phone” attribute. Since WhatsApp is a widely used chat service here, I’d like to make this button \*\*visible only for listings that are marked as “featured.”\*\*I was able to get this working on the block view (Showing for featured and hiding on non featured), but it’s not showing up on the single listing page. On the single view, none of the buttons are displaying at all for both featured and normal listings. Below is the code let me know what i should change.

```auto
/* Hide WhatsApp button for non-featured listings */
.hp-listing__attribute--contact-number-non-tenant {
    display: none !important;
}

/* Ensure the WhatsApp button is visible for featured listings */
.hp-listing--featured .hp-listing__attribute--contact-number-non-tenant {
    display: block !important;
}

/* Ensure WhatsApp button is visible on individual listing pages */
.single-listing .hp-listing--featured .hp-listing__attribute--contact-number-non-tenant {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

```

I’m not very technical, so I would really appreciate a **step-by-step guide** on how to do this. And yes the above codes are generated by my best friend chatgpt 😃

Thank you so much!

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [March 25, 2025, 9:33am UTC](https://community.hivepress.io/t/whatsapp-for-featured-listing-only/15419/5 "2025-03-25T09:33:41Z")

</div>

Hi,

Unfortunately, we can’t help with custom implementation, as it is beyond our scope of support. However, if you are familiar with coding or have a developer, please check out this sample snippet: [https://community.hivepress.io/t/booking-button-for-featured-listings-only/2553/4](https://community.hivepress.io/t/booking-button-for-featured-listings-only/2553/4)

​I hope this is helpful to you

---

<div class="post-metadata">

**Author:** ![system](https://community.hivepress.io/user_avatar/community.hivepress.io/system/32/13990_2.png) [@system](https://community.hivepress.io/u/system)\
**Post date:** [April 24, 2025, 9:34am UTC](https://community.hivepress.io/t/whatsapp-for-featured-listing-only/15419/6 "2025-04-24T09:34:20Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
