• Hi how can i display message to non logged in users without changing the core?

    I have used following code . But it has no effect.

    <?php if(is_user_logged_in()){
                                                    if ( function_exists( 'wfp_button' ) ) wfp_button();
                                                }else{
                                                    sprintf(__( 'You must be <a href="%s">Logged in</a> to post a comment.' ), site_url('/einloggen?action=login&redirect_to=' . get_permalink()) );
    
                                                }
                                               ?>

    http://wordpress.org/plugins/favorite-post/

  • The topic ‘How do i display LOGIN message to not logged in users’ is closed to new replies.