• Hi there,

    I was looking for some advice on how to change the register page text if possible without touching the code so that updating versions won’t erase it.

    I would like to put a line in that shows a link to the T&C’s page I have created as I have specific criteria for usernames etc.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi Falcon,

    Can you please be more specific? Did you create a WordPress page yourself?Can you send the URL and explain further?

    Thread Starter falconayr

    (@falconayr)

    Hi Johnb81,

    Sorry for not being clear!!!!

    My site is here

    I have it set up so that only register users can post and read certain things.

    If a person clicks to register they get this page.

    As you can see it has the logo at the top, the first box has “Register For This Site”, the second box has “After you register, your request will be sent to the site administrator…………” and then it has places to put username and e-mail.

    I have quite specific requirements for usernames which are outlined in the site’s T&C’s.

    The problem is that people are attempting to register without seeing the T&C’s and therefore not complying with them. I would like to add text to the first box to make it read something like “Before registering for this site please read the T&C’s with regards the make up of Usernames.”

    It would be good to be able to do this by not touching the code as obviously if I upgrade versions it would require to be done each time of upgrade.

    Thread Starter falconayr

    (@falconayr)

    Hi there,

    Sorry. I forgot to mention I used the “Custom Login” plugin to create the page if that matters.

    Hi FalconAyr,

    Site seems unavailable at the moment, so cannot access it.

    Thread Starter falconayr

    (@falconayr)

    Hi Johnb81,

    Don’t know what happened. It certainly is available at the moment if you have time for a look.

    Thanks.

    Put this code in your functions.php file and make necessary changes.

    function custom_register_msg()
    {
    echo ‘<p class=”message register”>Your custom message</p>’;
    }
    add_filter(‘login_message’,’custom_register_msg’);

    Thread Starter falconayr

    (@falconayr)

    Hi WP Child,

    Should it go anywhere in particular?

    I’ve tried it in several places and it creates a Fatal Error.

    If I put it right at the end it puts a yellow box spanning the top of the register page and there is visible code above and below it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Change Register Page Text’ is closed to new replies.