Support » Plugins » Hacks » Conditional Tag: has_author() ?

  • Hey there,

    I am reading over the Conditional Tags page and am wondering if there will every be a has_author() tag?

    I see there are is_author() tags which apply to archive pages, but I need something for authors that would work like in_category() or has_tag().

    I’m trying to display stuff within posts only for certain authors… right now the only way I see to do it is to manually tag a post for each of the authors and then display the additional content via has_tag() (or do the same via categories).

    But if would be great if there was a way to make a conditional solely based on the author that wrote it. I’d rather not have to add tags and categories to posts… the more automation the better.

    I may be missing something, but is this in the works or can it already be done??



Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Conditional Tag: has_author() ?’ is closed to new replies.