set_post_thumbnail_size vs add_image_size
What is the difference between set_post_thumbnail_size and add_image_size? Is set_post_thumbnail_size for all images, and add_image_size for sizing images individually?
What is the difference between set_post_thumbnail_size and add_image_size? Is set_post_thumbnail_size for all images, and add_image_size for sizing images individually?
I’m setting up a site with a theme that takes advantage of the “featured image” feature of WordPress. Since my end users are not the most tech saavy in the world, I’d like to set things up so that the categories would have a default “featured image” assigned to the post. In the event of multiple categories assigned to a post, then it would simply take the first one.
I am creating a baseball website with multiple Authors. From past experience, no matter how well you know someone personally, it doesn’t mean they will follow or even read your instructions.
I have a few custom thumbnail sizes and obviously one of them is used in the set_post_thumbnail_size, what directly affects the interface in the admin area.
I would like to be able to refresh the thumbnail cache programmatically, not sure where to hook it, but at present any design changes mean re-uploading loads of images!
I’m hoping that I can explain what I’m going for here.
On my current project’s main page, I’m displaying each post’s Featured Image Thumb, along with an excerpt of the post’s content.
In each of the actual post pages, there is a default WP gallery with 2 to 4 images inside.
I’ve been trying to use the “featured image” from the home (the blog index) with no luck. It’s working for every single page, but it’s not working for the home.
I have a page structure like this.
I’m still very novice at PHP so any help is greatly appreciated. Typically I have found the codex to be very helpful but it appears custom walkers may be outside its scope.
Is it possible to display a featured image on a news page that uses index.php?