Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

baptiste_ on "Probleme user wordpress"

$
0
0

Hello,

I've a problem with WP.
I can't get logged username from an external page. I've include wp-blog-header.php and usse this code :

<?php

if ( !is_user_logged_in() ) {

echo "connécté";

} else {

echo "Non conncté";

}
?>

But nothing happened.

Thanks for your help.


Viewing all articles
Browse latest Browse all 8245

Trending Articles