WordPress.org

Ready to get started?Download WordPress

Forums

Edit text on registration page or activation page (2 posts)

  1. johnzenausa
    Member
    Posted 4 months ago #

    Is there anyway to add instructions or any other kind of text to registration or activation page in wp multisite?

  2. David Sader
    Member
    Posted 4 months ago #

    The wp-signup.php page has a few hooks to get creative with. Search the source of that page for the variety of "do_action" hooks. For example, you could write a plugin or add this to the themes functions.php:

    <?php
    add_action('before_signup_form', 'my_add_on_instructions');
    add_action('after_signup_form', 'my_add_on_instructions');
    
    function my_add_on_instructions() {
       echo 'my add on instructions';
    }
    ?>

    The wp-activate.php does not have the same "before and after" hooks.

    Both pages should still have the same hooks in the wp_head and wp_footer as does every other WP page, though.

Reply

You must log in to post.

About this Topic