Add author profile featured image

This commit is contained in:
Robin Cornett
2015-06-07 12:04:36 -04:00
parent c58cc69648
commit f6d588bfc7
5 changed files with 128 additions and 2 deletions
@@ -182,6 +182,9 @@ class Display_Featured_Image_Genesis_Common {
}
}
}
if ( is_author() ) {
$image_id = get_the_author_meta( 'displayfeaturedimagegenesis_author', (int) get_query_var( 'author' ) );
}
// taxonomy
if ( is_category() || is_tag() || is_tax() ) {
$t_id = $object->term_id;