Title: email links dead with javascript
Last modified: September 27, 2019

---

# email links dead with javascript

 *  Resolved [Big Impact Design](https://wordpress.org/support/users/baggi-t/)
 * (@baggi-t)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/email-links-dead-with-javascript/)
 * The emailto links go dead if I opt for automatically the best method (including
   javascript). This has happened on two new sites I have just created but your 
   plugin still works fine on the same settings on an older site. If I opt for the
   auto without javascript then the mailto link works but the address appears coded
   on client-side.
    Any idea why this isn’t working for me?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Femail-links-dead-with-javascript%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Ironikus](https://wordpress.org/support/users/ironikus/)
 * (@ironikus)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/email-links-dead-with-javascript/#post-11976662)
 * Hey [@baggi-t](https://wordpress.org/support/users/baggi-t/) – Thank you a lot
   for your message and sorry to hear you face issues.
    I checked your site and 
   the issue seems to be related to the enqueueing of the javascript file and the
   css file we load within the frontend. I can neither see one of them.
 * The following two files should normally be automatically enqueued:
    1. core/includes/
   assets/js/custom.js 2. core/includes/assets/css/style.css
 * Do you maybe use any kind of plugin that optimizes your enqueued files or manipulates
   them?
 * Thanks already a lot for your answer!
 *  Thread Starter [Big Impact Design](https://wordpress.org/support/users/baggi-t/)
 * (@baggi-t)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/email-links-dead-with-javascript/#post-11978174)
 * Not that I’m aware of. Indeed, I’ve just carried out a test with all the other
   plugins disabled and the problem persists.
 *  [Ironikus](https://wordpress.org/support/users/ironikus/)
 * (@ironikus)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/email-links-dead-with-javascript/#post-11978231)
 * Hey [@baggi-t](https://wordpress.org/support/users/baggi-t/) – thank you a lot
   for your message, as well as for testing.
    Can you please tell me which theme
   + theme version you are using? Is there also anything mentioned within your debug.
   log file?
 * Thank you already a lot.
 *  [Ironikus](https://wordpress.org/support/users/ironikus/)
 * (@ironikus)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/email-links-dead-with-javascript/#post-11989978)
 * Hey [@baggi-t](https://wordpress.org/support/users/baggi-t/) – I just pushed 
   a solution to your issue.
    The problem was that the “Maintenance” plugin from
   WP Maintenance does not enqueue the default headers, which causes the scripts/
   styles to not be loaded. We built an integration for that, which is now live 
   with the newest version. If you still should face the issue, feel free to reach
   out again.

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

The topic ‘email links dead with javascript’ is closed to new replies.

 * ![](https://ps.w.org/email-encoder-bundle/assets/icon-256x256.png?rev=2056506)
 * [Email Encoder - Protect Email Addresses and Phone Numbers](https://wordpress.org/plugins/email-encoder-bundle/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/email-encoder-bundle/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/email-encoder-bundle/)
 * [Active Topics](https://wordpress.org/support/plugin/email-encoder-bundle/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-encoder-bundle/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-encoder-bundle/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 4 replies
 * 2 participants
 * Last reply from: [Ironikus](https://wordpress.org/support/users/ironikus/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/email-links-dead-with-javascript/#post-11989978)
 * Status: resolved