Ready to get started?Download WordPress


Problem with get_the_author() using Brightness Theme (4 posts)

  1. Aimevous
    Posted 6 years ago #

    I am using this news magazine style template called Brightness, and it has a very cool feature of displaying the last 5 posts from specified categories.

    However, the problem is the authors that is being shown for those posts. They are all wrong and reflects the author of the last of the latest posts in all categories (last post in The Loop).

    I have examined the source code of the Brightness theme and there isn't anything syntactically wrong. I am thinking if there is a bug with the authors class in WordPress 2.6.

    Brightness theme can be found here: http://www.dailywp.com/brightness-wordpress-theme/
    My site is located at: http://www.e3alive.org

    The part of the code where the get_the_author() is used is in newssection.php:
    'foreach($myposts as $post)
    $posttitle = get_the_title();
    $posttime = get_the_time('F jS, Y');
    $postauthor = get_the_author(); blah blah'

  2. samanathon
    Posted 5 years ago #

    I'm having the same issue and, unfortunately, the author's site has been taken offline. Also, my version of the theme only displays the most recent five articles under the "Latest 10 Articles" heading...

  3. MattAlgren
    Posted 5 years ago #

    With WP 2.7, the theme's admin page is broken and news sections don't appear. I emailed the theme developer the day before his site went offline, but so far nothing.

    Unfortunately, fixing it is beyond my ability. hrm.

  4. samanathon
    Posted 5 years ago #


    I'm in the same boat (the "Featured" post on the home page was messed up as well) - luckily, I had archived the last version of WP and was able to revert to a working version.

Topic Closed

This topic has been closed to new replies.

About this Topic