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!