Skip to main content
<?php if( current_user_can('editor')): {
echo "wlecome";
} 
elseif( current_user_can('member')): {
echo "wlecome";
}
else:
    wp_die("<h2>
            To view this page you must first 
            <a href='". wp_login_url(get_permalink()) ."' title='Login'>log in</a>
        </h2>");
    endif;
?>