This code enables you to add 1 or 2 buttons after the entry title on any single page using different text & button links for each buttons like this :
The display of both buttons assumes you have added custom fields with values like this :
The button(s) only display if the custom fields for your custom button text have a value. If no value added for 1 button, only 1 button will display like this :
The display of 1 button assumes you have added custom fields with values like this :
Here’s the code you can copy & paste to the end of your Essence Pro themes functions file :
The button(s) won’t display until you have added the custom fields with at least 1 value.
- Open Specific Button Links In a New Window Or Same Window
- Add Third Hero Button To Front Page Hero Section in Essence Pro