Quantcast
Channel: WordPress.com Forums » Recent Topics
Viewing all articles
Browse latest Browse all 74536

jesuitedefrance on "Hide the admin information"

$
0
0

Hello
I'm creating a blog with multi authors, http://lesmarmotsoriginals.com

On the author page
ex:http://lesmarmotsoriginals.com/blog/author/melo/
you can see the user information, I add the content in a php file, I called like that:

<?php include (TEMPLATEPATH . "/authorinfo.php"); ?>

But When you clik on the author single page the information disapppeared.
So I put the line <?php include (TEMPLATEPATH . "/authorinfo.php"); ?>
in Single Post file.

Now my problem is to hide the admin information on the main single post page.

Is it possible to write a code like that:

if($curauth->user_level = 7) : else <?php include (TEMPLATEPATH . "/authorinfo.php"); ?> appear??

Need some help!

Thank you!


Viewing all articles
Browse latest Browse all 74536

Trending Articles