WordPress.org

Support

Support » Themes and Templates » Problem with get_the_author() using Brightness Theme

Problem with get_the_author() using Brightness Theme

  • 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’

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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…

    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.

    Matt,

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with get_the_author() using Brightness Theme’ is closed to new replies.
Skip to toolbar