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

Featured image handling #7

Open
emiluzelac opened this issue Jun 29, 2015 · 2 comments
Open

Featured image handling #7

emiluzelac opened this issue Jun 29, 2015 · 2 comments

Comments

@emiluzelac
Copy link

../featured-image.php


This entire file is baffled to me and I would recommend removing completely and substituting with core post thumbnails instead.

@leac
Copy link
Owner

leac commented Jul 1, 2015

This theme was built for a site that's already up and running. The site wasn't using the featured image, instead, it either used a user-field, or the first image in the post.
The functions in this file take either the user field, or the first image in the post, and turn them into the post's featured image.
It was certainly needed when we uploaded the theme, but even now, the site admin doesn't always remember to use the featured image, and uses one of the old methods instead. Having these functions prevents the site from looking bad in these cases.

@emiluzelac
Copy link
Author

I believe that you could migrate, but if this is not easily done, leave it as is.

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

2 participants