Thanks!
I′m using it as a widget.
The reason why I would like only links is because I want to place the links on the top bar of my homepage.
Your plugin works very fine otherwise.
Actually I found a function to insert php code in a text widget. I will just use it to build the login / logout logic.
add_filter('widget_text', 'enable_php_code', 99);
function enable_php_code ($text) {
if (strpos($text, '<' . '?') !== false) {
ob_start();
eval('?' . '>' . $text);
$text = ob_get_contents();
ob_end_clean();
}
return $text;
}
Thanks again