Title: HTML for the Close button
Last modified: September 1, 2016

---

# HTML for the Close button

 *  Resolved [streamworksaudio](https://wordpress.org/support/users/streamworksaudio/)
 * (@streamworksaudio)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/html-for-the-close-button/)
 * Hi again,
 * I was wondering…. is it possible to use HTML tags for the close button? The default
   is ‘CLOSE’ which I am guessing is plain text. But would it be possible to use
   a tag instead of plain text?
 * I was thinking I would like to use something from the font Font Awesome library
   for the close button – but I would have to use HTML to do that.
 * Cheers
 * [https://wordpress.org/plugins/popup-maker/](https://wordpress.org/plugins/popup-maker/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/html-for-the-close-button/#post-7585380)
 * [@streamworksaudio](https://wordpress.org/support/users/streamworksaudio/) – 
   Sure we use × in ours all the time.
 * If that doesn’t work for you then the next best bet would be a filter or custom
   template.
 * Hope that helps.
 *  Thread Starter [streamworksaudio](https://wordpress.org/support/users/streamworksaudio/)
 * (@streamworksaudio)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/html-for-the-close-button/#post-7585397)
 * How about using an <i> tag. Something like this…
 * `<i class="fa fa-times" aria-hidden="true"></i>`
 * This only shows the HTML itself and not the desired font.
 * Cheers
 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/html-for-the-close-button/#post-7585426)
 * [@streamworksaudio](https://wordpress.org/support/users/streamworksaudio/) – 
   Likely you will have to use a custom template. We had to apply a filter to that
   to prevent XSS vulnerabilities which seems to be removing HTML.
 * I may be able to add a new filter after that for you in the future.
 * In the mean time copy the /templates/popup.php file to your theme folder/popmake/
   popup.php and customize away.
 *  Thread Starter [streamworksaudio](https://wordpress.org/support/users/streamworksaudio/)
 * (@streamworksaudio)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/html-for-the-close-button/#post-7585427)
 * Thanks Daniel,
 * Is that the correct path though for the template file? I made a copy into my 
   child theme directory (child-theme/popmake/popup.php) and made some changes but
   they are not having any affect.
 * Cheers
 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/html-for-the-close-button/#post-7585428)
 * [@streamworksaudio](https://wordpress.org/support/users/streamworksaudio/) – 
   Your correct: [https://github.com/PopupMaker/Popup-Maker/blob/0f95dcf78ec52e59b7b7a977ec35d46aba0a0405/includes/templates.php#L117](https://github.com/PopupMaker/Popup-Maker/blob/0f95dcf78ec52e59b7b7a977ec35d46aba0a0405/includes/templates.php#L117).
 * Should be popmake_templates, though you can filter it easily.
 * Sorry about that.
 *  Thread Starter [streamworksaudio](https://wordpress.org/support/users/streamworksaudio/)
 * (@streamworksaudio)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/html-for-the-close-button/#post-7585429)
 * Perfect – that did it. Just change the button text from the function to get the
   test to the font awesome <i> tag.
 * Thanks again.
 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/html-for-the-close-button/#post-7585435)
 * [@streamworksaudio](https://wordpress.org/support/users/streamworksaudio/) – 
   Advanced Theme Builder will be bringing icon packs with it shortly so you won’t
   have to hack it much longer.
 * Glad you got it worked out.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘HTML for the Close button’ is closed to new replies.

 * ![](https://ps.w.org/popup-maker/assets/icon-256x256.gif?rev=3097653)
 * [Popup Maker - Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popup Builder](https://wordpress.org/plugins/popup-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/popup-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/popup-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/popup-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popup-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popup-maker/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/html-for-the-close-button/#post-7585435)
 * Status: resolved