• I’m trying to add extra HTML to the popup template using the action hook popmake_popup_after_inner.

    I have a few popups with different Popup Themes:
    – Theme Default – ID: 133
    – Theme with Flash – ID: 140

    How can I add an extra HTML element only to popups with “Theme with Flash”?
    My code below:

    add_action('popmake_popup_after_inner', 'add_flash_element', 10);

    function add_flash_element() {
    $flash_html = '';
    $flash_html = '<div class="popup-flash">' . __('Join', 'popup') . '</div>';

    echo $flash_html;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.