Anti-Splog (Rename wp-signup) & Custom Sidebars

I have two plugins installed:

1) Custom Sidebars
2) Anti-Splog

I have turned on 'Rename wp-signup.php' in Anti-Splog. I would like to customize the wp-signup page. Is it possible to add a custom sidebar to this page?


  • Vinod Dalvi

    Hi Chris,

    Thanks for posting on the forum.

    You can add custom sidebar to the sign up page generated by Anti-Splog by creating a new custom sidebar and displaying it on sign up page adding the following code in the functions.php file of your child theme or add it in your site using any of the following plugins.

    function theme_slug_widgets_init() {
        register_sidebar( array(
            'name' => __( 'Sign Up Sidebar', 'theme-slug' ),
            'id' => 'sign-up-sidebar',
            'description' => __( 'Widgets in this area will be shown on sign up page.', 'theme-slug' ),
            'before_title' => '<h1>',
            'after_title' => '</h1>',
        ) );
    add_action( 'widgets_init', 'theme_slug_widgets_init' );
    function custom_after_signup_form(){
    	if ( is_active_sidebar( 'sign-up-sidebar' ) ) : ?>
    		<div id="secondary" class="widget-area" role="complementary">
    			<?php dynamic_sidebar( 'sign-up-sidebar' ); ?>
    		</div><!-- #secondary -->
    	<?php endif;
    add_action('after_signup_form', 'custom_after_signup_form');

    You have to also develop some CSS code to change the layout of the sign up page.

    Just share me your sign up page URL after using this code so that i can help you to develop CSS code.

    Best Regards,
    Vinod Dalvi

  • Chris

    Hi Vinod,

    This works great. As you mentioned, the CSS needs some help. I've used Anti-Splog to hide wp-signup.php, so, I can't send you a direct link to the signup page. I'll paste the homepage link below:

    Please click on the "Sign Up (Free)" link. Once on the sign up page, you can see that the sidebar begins below the content area (".site-inner"). You'll also see that the widget title also has a bullet point. I would like to remove the bullet and re-position the widget at the top, inside of the ".site-inner" class. I had tried to change the width of #content, but the widget still remained below .site-inner.

    I experimented with relative position, top -710px. This works fine for the first page of the signup form, but it doesn't align well for the second page.

    I appreciate your help.


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.