Forums

Create Mailto Link from Page Link (4 posts)

  1. stevenocheltree
    Member
    Posted 2 years ago #

    I would like to have an item in my sidebar titled "Contact" and once clicked, I want it to function as a "mailto" link.

    So, I have created a page named "Contact." It is showing in my sidebar but how do I make it link as a mailto, instead of a normal page link?

    I have used the plug-in "Redirector" to redirect these page links to other locations (ie: outside links), etc. But this will not work because it wants to add a "http://" to everything...when all I need is a "mailto"

    The site is http://www.wearesewcreative.com

    Thanks

  2. MichaelH
    Volunteer
    Posted 2 years ago #

    To put an email link in your sidebar, 3 possiblilities:

    A text widget with this:
    <a href="mailto:you@yourdomain.com" title="Email to me">Email to me</a>

    or, put in your sidebar.php template :
    <a href="mailto:you@yourdomain.com" title="Email to me">Email to me</a>

    or, add a new link with this in the Web address field:
    mailto:you@yourdomain.com

  3. stevenocheltree
    Member
    Posted 2 years ago #

    Thanks. I'll check out these options!

  4. xzeed
    Member
    Posted 2 years ago #

    I will change it so mailto: will work also...

Topic Closed

This topic has been closed to new replies.

About this Topic