Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3109

    How can I link the contact button at the front page with an email address and not to a page?

    #40673

    Hey,

    are you refering to the contact button in the footer section? If yes open up footer.php located in your themes main directory (please use a ftp software not wordpress admin panel because it won’t work otherwise) and search for following code:

    <a href='<?php echo $k_option['footer']['button_link'] ?>' class='custom_button ie6fix rounded'>
    <strong><?php echo $k_option['footer']['button1']; ?></strong>
    <span><?php echo $k_option['footer']['button2']; ?></span>
    </a>

    Replace it with:

    <a href='mailto: (Email address hidden if logged out) ' class='custom_button ie6fix rounded'>
    <strong><?php echo $k_option['footer']['button1']; ?></strong>
    <span><?php echo $k_option['footer']['button2']; ?></span>
    </a>

    And instead of ” (Email address hidden if logged out) ” fill in your email adress.

    #40674

    Thanks Dude! It worked like a charm!!

    #40675

    Glad that I could help you :)

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Contact Button link to email address’ is closed to new replies.