WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Contact/email button? (4 posts)

  1. marliejane
    Member
    Posted 3 years ago #

    I have a gallery page that I set up to display reader's photos, and I've created a button graphic that I would like to link to an action similar to the HTML "mailto:". I need a way to let readers email their photos to me so that I can review and post them.

    Is there a way to do this without a plugin or javascript?

    I've searched all over for the answer to this, and I really hope I haven't missed something obvious. O_O

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    <a href="mailto: address"><img src="<php bloginfo('template_url'); ?>/images/button.gif alt="button" /></a>

    inserted into your template where you want the button to be works. obviously you need to supply the email address in that code. And the code would look for an image named button.gif in the images folder of your theme. You can tweak that part as needed

  3. marliejane
    Member
    Posted 3 years ago #

    That worked like a charm! Thanks so much. :)

  4. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    you got it!!

Topic Closed

This topic has been closed to new replies.

About this Topic