Title: Custom Button
Last modified: October 21, 2018

---

# Custom Button

 *  Resolved [eversonoliveiraf](https://wordpress.org/support/users/eversonoliveiraf/)
 * (@eversonoliveiraf)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/custom-button-11/)
 * Hello, I have a custom button that I got on a site in the forum
    but I can not
   make it work, by clicking it it does not turn notifications on or off, this is
   the button:
 * <button id = “pwp-notification-button” class = “notification-button notification-
   button – fixedfooter”>
    <span class = “notification-button__icon notification-
   button__icon-on”> <svg xmlns = “[http://www.w3.org/2000/svg&#8221](http://www.w3.org/2000/svg&#8221);
   viewBox = “0 0 24 24” fill = “currentColor”> < path d = “M11.5 22c.14 0 .27 0.
   4-.04A2.01 2.01 0 0 0 13.5 20h-4a2 2 0 0 0 2 2M18 10.5a6.5 6.5 0 0 0-5-6.32V3.5A1.
   5 1.5 0 0 0 11.5 2 1.5 1.5 0 0 0 10 3.5v.68a6.5 6.5 0 0 0-5 6.32V16l-2 2v1h17v-
   1l-2-2m1.97-6h2a10.45 10.45 0 0 0-4.12- 7.85l-1.43 1.43A8.4 8.4 0 0 1 19.97 10M6.58
   3.58L5.15 2.15A10.58 10.58 0 0 0 1 10h2c.18-2.65 1.54-5 3.58-6.42z “> </ path
   > </ svg > </ span> <span class = “notification-button__icon notification-button__icon-
   off”> <svg xmlns = “[http://www.w3.org/2000/svg&#8221](http://www.w3.org/2000/svg&#8221);
   viewBox = “0 0 24 24” fill = “currentColor”> < path d = “M14 20a2 2 0 0 1-2 2
   2 2 0 0 1-2-2h4m5.74 1.57L17.17 19H3l3-3v-6c0-.65.1-1.28.3-1.87L3.47 5.3l1.42-
   1.41 2.4 2.4 13.86 13.86-1.41 1.42M11 4.08V3a1 1 0 0 1 1-1 1 1 0 0 1 1 1v1.08A6
   6 0 0 1 18 10v4.17L8.77 4.94A5.83 5.83 0 0 1 11 4.08z “> </ path> </ svg> </ 
   span> <span class = “notification-button__icon notification-button__icon – spinner”
   > </ span> </ button>
 * What more do I need to make it work?
 * Could help?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Nico Martin](https://wordpress.org/support/users/nico_martin/)
 * (@nico_martin)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/custom-button-11/#post-10819017)
 * Hi [@eversonoliveiraf](https://wordpress.org/support/users/eversonoliveiraf/)
 * Could you send the debug log (About Page -> Need Help? -> Download Debug log)
   to [mail@nicomartin.ch](https://wordpress.org/support/topic/custom-button-11/mail@nicomartin.ch?output_format=md)?
 * Kind regards,
    Nico

Viewing 1 replies (of 1 total)

The topic ‘Custom Button’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/progressive-wp_8bd9c3.svg)
 * [Progressive WordPress (PWA)](https://wordpress.org/plugins/progressive-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/progressive-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/progressive-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/progressive-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/progressive-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/progressive-wp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Nico Martin](https://wordpress.org/support/users/nico_martin/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/custom-button-11/#post-10819017)
 * Status: resolved