# How can I add "dislike" button?

**URL:** <https://meta.discourse.org/t/how-can-i-add-dislike-button/51648>\
**Category:** Development\
**Created:** [Octobre 17, 2016, 5:31 UTC](https://meta.discourse.org/t/how-can-i-add-dislike-button/51648 "2016-10-17T17:31:47Z")\
**Posts on this page:** 1\
**Showing post:** 26

<div class="post-metadata">

**Author:** ![mcbuzz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcbuzz/32/120977_2.png) [@mcbuzz](https://meta.discourse.org/u/mcbuzz)\
**Post date:** [Mai 13, 2017, 10:43 UTC](https://meta.discourse.org/t/how-can-i-add-dislike-button/51648/26 "2017-05-13T10:43:33Z")

</div>

I’m using it but I think I having the same issue as another user in that it’s not showing up in any of the posts and no errors. But of course I definitely will go through his code to understand how he did it since it’s so similar. Would you consider this relevant to what I’m trying to do? I found it in the plugin api file:

````javascript
/**
   * Add a new button below a post with your plugin.
   *
   * The `callback` function will be called whenever the post menu is rendered,
   * and if you return an object with the button details it will be rendered.
   *
   * Example:
   *
   * ```
   * api.addPostMenuButton('coffee', () => {
   * return {
   * action: 'drinkCoffee',
   * icon: 'coffee',
   * className: 'hot-coffee',
   * title: 'coffee.title',
   * position: 'first' // can be `first`, `last` or `second-last-hidden`
   * };
   * });
   **/

  addPostMenuButton(name, callback) {
    addButton(name, callback);
}

````

---

_[View the full topic](https://meta.discourse.org/t/how-can-i-add-dislike-button/51648)._
