Plugin Directory

Changeset 660460


Ignore:
Timestamp:
01/29/2013 03:01:01 AM (13 years ago)
Author:
mattdu
Message:

Fixed condition preventing bylines from appearing in some sidebar widgets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • byline/trunk/byline.php

    r646155 r660460  
    5858
    5959//if ( $author && is_singular() || is_home() || is_page() || is_category() || is_tag() )  Use other if statements to control display if desired.
    60 if ( $author && in_the_loop() )
     60if ( $author && !is_admin() && !is_feed() )
    6161$name = $author;
    6262
Note: See TracChangeset for help on using the changeset viewer.