WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Making my email address clickable on the Footer (10 posts)

  1. jennyfogarty
    Member
    Posted 8 months ago #

    Hi there,

    I wonder if someone could tell me how to add some php to the footer so I can make a click on the email go to send and email.

    This is the code for the footer.

    <div class="row" id="copyright">
    
    			<div class="container">
    
    <div class="col span_7"><p>© Score Music Interactive, Market Square, Gorey, County Wexford.</p></div>
    <div class="col span_7"><p> E: info@scoremusicinteractive.com W:www.scoremusicinteractive.com </p></div>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

    Any ideas?

  2. Dave Naylor
    Member
    Posted 8 months ago #

    Like this:

    <a href="mailto:info@scoremusicinteractive.com?Subject=Website%20Contact" target="_top">

  3. jennyfogarty
    Member
    Posted 8 months ago #

    Hi WP Ranger (Lovin the name btw)

    So I just throw that in after the email address on the php?

    Thanks, and sorry for the dumb questions, php is like double dutch to me.

    Jenny

  4. amsgator
    Member
    Posted 8 months ago #

    <div class="col span_7"><p> E:<a href="mailto:info@scoremusicinteractive.com?Subject=Website%20Contact">info@scoremusicinteractive.com</a> W:www.scoremusicinteractive.com</p></div>

  5. jennyfogarty
    Member
    Posted 8 months ago #

    Thanks Amsgator! Is that css? Should I put that in the style.css file?

  6. amsgator
    Member
    Posted 8 months ago #

    It's not CSS, it's straight HTML. Wherever you got the code from that you posted, just replace that line with the one I posted.

    So the whole thing would look like this:

    <div class="row" id="copyright">
    
    			<div class="container">
    
    <div class="col span_7"><p>© Score Music Interactive, Market Square, Gorey, County Wexford.</p></div>
    <div class="col span_7"><p>E: <a href="mailto:info@scoremusicinteractive.com?Subject=Website%20Contact">info@scoremusicinteractive.com</a> W: www.scoremusicinteractive.com</p></div>
  7. jennyfogarty
    Member
    Posted 8 months ago #

    Thank you!!

    I really appreciate it.

    J

  8. amsgator
    Member
    Posted 8 months ago #

    You can change "Subject=Website%20Contact" to whatever you want the subject to be in the email. %20 is simply a URL encoded space, so the subject with that code would be Website Contact

  9. Dave Naylor
    Member
    Posted 8 months ago #

    (Lovin the name btw)

    Thanks, it's from my Mother's side of the family :)

  10. jennyfogarty
    Member
    Posted 8 months ago #

    First name Lone?

    hehe

Reply

You must log in to post.

About this Topic