WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] register link on homepage (9 posts)

  1. cinco312
    Member
    Posted 6 years ago #

    How can I add a registration link to my homepage? They can only register if they click on add a comment. I want users to be able to see the registration link on my homepage.

    Thanks.

  2. Scooby
    Member
    Posted 6 years ago #

  3. Scooby
    Member
    Posted 6 years ago #

    oops sorry.. its not all there.. I'll try one more time..

    <a href="<?php get_option('siteurl'); ?>/wp-login.php?action=register"><?php _e('Register') ?></a>

  4. cinco312
    Member
    Posted 6 years ago #

    Does that go into my index.php in my root or in my theme index?

  5. Scooby
    Member
    Posted 6 years ago #

    I have it in my theme index..

  6. Scooby
    Member
    Posted 6 years ago #

    I think this one might be better.. Placed in themes index or whichever file..

    <a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=register"><?php _e('Register') ?></a>

  7. cinco312
    Member
    Posted 6 years ago #

    hmmmm...something odd happened. I added the code into my theme index and now it has Register RegisterRegisterRegisterRegisterRegisterRegister going across the screen. If it helps I'm using sodelicious-black theme.

  8. Scooby
    Member
    Posted 6 years ago #

    Possibly this might work?? haha Just shooting in the dark now.. Sorry bout that.. I'm new to this..

    <a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=register">Register</a>

  9. cinco312
    Member
    Posted 6 years ago #

    I got it, I added the first code you posted in sidebar.php and it works great. Thanks. I'm new to this too, it gets frustrating sometimes.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags