WordPress.org

Forums

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

  1. robskidmore
    Member
    Posted 1 year 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 1 year ago #

    :-) Nevermind. Fixed it.

  3. robskidmore
    Member
    Posted 1 year ago #

    Nevermind the Nevermind. still broke.

  4. kn100
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic