# Custom like button no longer appears after

**URL:** <https://meta.discourse.org/t/custom-like-button-no-longer-appears-after/157288>\
**Category:** Product Support\
**Created:** [July 9, 2020, 6:35pm UTC](https://meta.discourse.org/t/custom-like-button-no-longer-appears-after/157288 "2020-07-09T18:35:24Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![abrambailey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/abrambailey/32/119786_2.png) [@abrambailey](https://meta.discourse.org/u/abrambailey)\
**Post date:** [July 9, 2020, 6:35pm UTC](https://meta.discourse.org/t/custom-like-button-no-longer-appears-after/157288/1 "2020-07-09T18:35:24Z")

</div>

I had the following code installed in my custom theme under the `</head>` section:

```
   <script type="text/discourse-plugin" version="0.8"> 
          api.replaceIcon('d-liked', 'thumbs-up'); 
          api.replaceIcon('d-unliked', 'thumbs-o-up'); 
          api.replaceIcon('heart', 'thumbs-up'); // profile pages 
          api.replaceIcon('notification.liked', 'thumbs-up'); // notifications 
    </script>

```

Previously while on 2.5.x this was working to replace the heart, but now the custom icon is gone, and there is no heart. Has the method changed for replacing the heart? Thanks.

---

_[View the full topic](https://meta.discourse.org/t/custom-like-button-no-longer-appears-after/157288)._
