Hello Andy,
Thank you for your response. But this is not what we’re looking for.
When we create a shortcode, we use a function called popup_elements where we set $this->elements as an array of the elements that we would like to display in the popup.
In our case, we want to have custom html elements as the popup’s elements.
After investigating the code behind this system, we’ve found that the PHP Class AviaHtmlHelper uses the type of the elements of the popup as the name of the function to call to get the associated HTML.
We were able to set our custom HTML but we had to edit the AviaHtmlHelper PHP Class and add a function with a custom name that we set as the type of a popup element.
But the problem is that we want to be able to use our custom popup without editing the enfold theme. Can you help us?
I tried to be as clear as I can.
Best regards,
Younes