Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

Quick Wordpress Question

Joined
Sep 30, 2011
Posts
1,225
Reaction score
197
I have a button on one of my Wordpress sites and I want to link it to the contact page. Where and how do I insert the URL in it? The code is below:

<a class="button herobutton clear">Contact Us <i class="fa fa-chevron-circle-right"></i></a>

Many thanks!
 
You shouldn't need to touch the code directly should you? Can you not add it as a menu and link it in the normal way?


Sent from my iPhone using Tapatalk
 
I normally do it slightly differently :

Code:
<a href="<?php echo home_url(); ?>/contact-us"  class="button herobutton clear">Contact Us <i class="fa fa-chevron-circle-right"></i></a>
 

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members online

Premium Members

Latest Comments

New Threads

Domain Forum Friends

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
      There are no messages in the current room.
      Top Bottom