mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-18 22:13:20 +09:00
Add author profile featured image
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user