I have a "like" icon that was created using this tutorial: https://hofmannsven.com/2013/laboratory/wordpress-post-like-system/ which I am using on my homepage and works great.
However, I was wondering if it was possible to link this "like" functionality to a button. I was thinking I might be able to utilize onClick() somehow?
Right now, I have the icon sitting absolutely positioned within a button (you can see this by directly hovering over the icon to tell that it is not part of the same button entity), and when you click anywhere inside the button (besides directly on the icon, it doesn't register as a "like").
And the page you can use it on: https://www.uncvrd.co/calmani-grey-tattoo-feat-pearl-andersson/
Here is my button html:
<button type="button" class="btn btn-default dig-btn" onclick="">
<?php echo get_simple_likes_button( get_the_ID() ); ?><span class="dig-text">Dig</span>
</button>
