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

Non fan image needs post thumbnail support #2

Closed
jeherve opened this issue May 6, 2011 · 0 comments
Closed

Non fan image needs post thumbnail support #2

jeherve opened this issue May 6, 2011 · 0 comments
Assignees

Comments

@jeherve
Copy link
Owner

jeherve commented May 6, 2011

I added support to the post thumbnails for the custom post type, but support needs to be added for the post thumbnails in general for it to work. Something like that should do the trick

// Register thumbnails
add_theme_support( 'post-thumbnails' );
if ( function_exists( 'add_image_size' ) ) {
    add_image_size( 'fb-nonfans', 520, 2000, true ); // Facebook applications thumbnails
}
@ghost ghost assigned jeherve May 6, 2011
@jeherve jeherve closed this as completed May 7, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant