Skip to content

Commit

Permalink
Merge pull request #433 from rebeccahum/featured_image_avatar
Browse files Browse the repository at this point in the history
Guest author's featured image is avatar now
  • Loading branch information
philipjohn authored Jul 2, 2017
2 parents 6a02ec1 + 6091e78 commit f5f499c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions php/class-coauthors-guest-authors.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ function __construct() {
'not_found_in_trash' => __( 'No guest authors found in Trash', 'co-authors-plus' ),
'update_item' => __( 'Update Guest Author', 'co-authors-plus' ),
'metabox_about' => __( 'About the guest author', 'co-authors-plus' ),
'featured_image' => __( 'Avatar', 'co-authors-plus' ),
'set_featured_image' => __( 'Set Avatar', 'co-authors-plus' ),
'use_featured_image' => __( 'Use Avatar', 'co-authors-plus' ),
'remove_featured_image' => __( 'Remove Avatar', 'co-authors-plus' ),
) );

// Register a post type to store our guest authors
Expand All @@ -106,6 +110,10 @@ function __construct() {
'search_items' => $this->labels['search_items'],
'not_found' => $this->labels['not_found'],
'not_found_in_trash' => $this->labels['not_found_in_trash'],
'featured_image' => $this->labels['featured_image'],
'set_featured_image' => $this->labels['set_featured_image'],
'use_featured_image' => $this->labels['use_featured_image'],
'remove_featured_image' => $this->labels['remove_featured_image']
),
'public' => true,
'publicly_queryable' => false,
Expand Down

0 comments on commit f5f499c

Please sign in to comment.