Need help? Check out our Support site, then


Hide the admin information

  1. jesuitedefrance
    Member

    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!

  2. You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you'll find help at the WordPress.org forums.

    If you don't understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It'll help people to answer your question.

    This is an automated message.

Topic Closed

This topic has been closed to new replies.

About this Topic