Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

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>
 

Rule #1: Be Respectful

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

Members online

No members online now.

Premium Members

New Threads

Domain Forum Friends

Lastest Listings

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Siusaidh AcornBot:
    Siusaidh has left the room.
      Siusaidh AcornBot: Siusaidh has left the room.
      Top Bottom