WordPress.org

Ready to get started?Download WordPress

Forums

Mailto link get the root url added to it (4 posts)

  1. robskidmore
    Member
    Posted 8 months ago #

    Not sure why but WP keeps prepending my root domain to all mailto: links.

    I've been digging for answers and finding nothing.

    The links are generated dynamically in a custom template via advanced custom fields.

    href="mailto:<?php the_field('email_address'); ?>"

    This is what I am getting from chrome dev tools. IMAGE

    Any ideas? Is this a rewrite issue?

  2. robskidmore
    Member
    Posted 8 months ago #

    :-) Nevermind. Fixed it.

  3. robskidmore
    Member
    Posted 8 months ago #

    Nevermind the Nevermind. still broke.

  4. kn100
    Member
    Posted 3 months ago #

    I've been having this same problem. We can't be the only people having this issue.

Reply

You must log in to post.

About this Topic