Archived topic
Adding Yummly Button HTML
3 replies · Started by Mitch and Justine on June 1, 2020
Hi,
We are trying to add the Yummly button to our website (following the instructions here: https://www.yummly.com/goodies/yumbutton).
We were instructed to add this code: `<a href="https://www.yummly.com" class="YUMMLY-YUM-BUTTON">Yum</a>
<script src="https://www.yummly.com/js/widget.js?general"></script>`
We would like to know if we need to add it to individual pages, or where the best place for it to go in the theme would be.
Thanks,
Justine & Mitch
Hi there,
Not sure if I fully understand. There isn't really the best place for it to go in the theme
Where would you like the button to show?
We're told to put it on every page that features a recipe. Which is the majority of our website. It allows users to "yum" or pull the recipe to another website so the button has to be visible for our visitors.
You could try adding it with a hook element:
https://docs.generatepress.com/article/hooks-element-overview/
https://docs.generatepress.com/article/hooks-visual-guide/#single-post