Although today all browsers incorporate a add to favorites buttonin certain cases, and with certain sectors of users, it is very useful to guide them a little in this process, make things easier for them and encourage them to take the action we want.
- How to create add to favorites button
How to create add to favorites button
Copy this code in any text editor (wysiwyg) or in any part of the bodysuit of your website and you will immediately have your button ready to use.
Remember to replace the url of https://www.srcodigofuente.com for yours and the text “Click here to add to favourites” for the one you want.
This snippet is compatible with any CMS that you use, be it WordPress, Joomla or Drupal, and it is even compatible with CMS for online stores such as Shopify, Magento or PrestaShop.