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

get_featured_media_thumbnail() is not compatible with featured galleries #2

Open
scottsweb opened this issue Jun 4, 2014 · 0 comments
Labels
Milestone

Comments

@scottsweb
Copy link
Member

The get_featured_media_thumbnail does not grab the first image from the gallery if no featured image is attached:

function get_featured_media_thumbnail( $post_id, $size = null ) {
    return get_the_post_thumbnail( $post_id, $size );
}

The requires that a featured image is always set for a featured gallery.

@johnbillion johnbillion added this to the Next Minor milestone Sep 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants