Tagged: ,

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

    Is there a way to add a button (like Sign Up) in the header? I basically just need two things in the header on the right side – a Login link (easy via menu) and a Sign Up button (not sure how to do that).

    Thanks!

    #178204

    Hey franktw!

    You can refer to this link: http://codex.wordpress.org/Function_Reference/wp_register

    Edit header.php then add the code after the wp_nav:

    <a href="http://www.example.com/wp-login.php?action=register">Register</a>

    Replace http://www.example.com with your domain name.

    Best regards,
    Ismael

    #178679

    I’m thinking of showing an actual button instead of a link. For example:

    http://www.automatic.com/

    Trying to create the “Buy Now” button.

    Thanks again

    #178789

    Hi!

    You can add a class to a tag such as
    <a class="custom-button" href="http://www.example.com/wp-login.php?action=register">Register</a>
    then we can provide you CSS code to style it as your example

    Cheers!
    Yigit

    • This reply was modified 11 years, 2 months ago by Yigit.
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Button in Header’ is closed to new replies.