• Resolved amish1

    (@amish1)


    I have searched all over and can not find a simple solution unless I am missing something. I am creating an index page that will have an intro paragraph using my(admin) biographical info and some of my about page. I have the about page part working fine, however I can not get the bio info to show. Please Help!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Would the text widget work for you?

    Thread Starter amish1

    (@amish1)

    This will work if there is no other solution, but with the biographical info already part of my admin profile I was hoping I could just pull from that instead of having another place to have to type it in. I essentially want to make an author signature of sorts, but for the admin(me) and on the index. Thanks do77! =)

    Oh, I see … place this template tag within yout loop.
    <?php echo $curauth->description; ?>
    It will pull the biographical info from your profile. And the followin snippet you have to place right before the loop

    <?php

    if(isset($_GET[‘author_name’])) :
    $curauth = get_userdatabylogin($author_name);
    else :
    $curauth = get_userdata(intval($author));
    endif;

    ?>

    Thread Starter amish1

    (@amish1)

    This is one of the solutions that I found on line last night. Is there a way to do it outside of the loop? I am looking for something like in this theme. The yellow box in the sidebar. Will this solution produce the same effect, as opposed to the author bio of each blog post in the loop? Again I greatly appreciate you kindness!

    Sorry, but the link you posted doesn’t have a yellow box in the sidebar

    Thread Starter amish1

    (@amish1)

    you dont see the box that is titled “about the admin”?

    Nope! I only see:

    Subscribe to our Feed
    Search
    Categories
    Archives
    Links

    Thread Starter amish1

    (@amish1)

    Well, my apologies. HERE is the site that is selling the theme that I am talking about. It is called digital statement, and under the image box there is a box that displays “about admin” which in the description of the theme says it queries the bio info from the admin profile. I hope this helps show what I am talking about.

    Thread Starter amish1

    (@amish1)

    I thought that the theme was for sale for it is in fact free downoad, so I just downloaded it and thumbed through the code.
    <?php the_author_description(); ?>
    which I have found as an answer and will have to do it from another php page(like aboutBox.php or something) because you can not just dump that on the index page for some reason. Thanks for your help!

    Thread Starter amish1

    (@amish1)

    WOW do I feel like a total noob!!!!!
    <?php the_author_description(); ?>
    works just fine on the index page!!! For whatever reason I was having trouble getting it to show anything last night! Please excuse my ignorance.

    Well, I didn’t even think about it because I felt that’s too easy, lol 🙂

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Adding admin bio info to index page’ is closed to new replies.