Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Bainternet

    (@bainternet)

    Yep I do 🙂

    add_filter("user_specific_content_blocked","show_login_form");
    function show_login_form(){
        return wp_login_form(array('echo' =>false));
    }

    add this to your theme’s functions.php

    Hey Bainternet,
    It works, however, it gets showed twice. I’m not sure why, and I havn’t found a clue so far. When I try to only have this “No Access”-Text, it also get printed out twice on the page.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add Login Prompt?’ is closed to new replies.