Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guest author's featured image is avatar now #433

Merged
merged 2 commits into from
Jul 2, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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