I’m using the code: get_post_thumbnail_id(the_ID()) to get the ID of a post thumbnail image, but […]
Tag: post-thumbnails
Change post thumbnail using front end post edit form
I’m trying to get the post thumbnail to change if a user selects a new […]
wp_get_attachment_image_src() and custom sizes
As said in this page, wp_get_attachment_image_src()only accepts built-in sizes such as thumbnail, medium, large or […]
Can’t seem to attach uploaded image to post and set it as thumbnail
I’m using this code to submit a post form and upload an image which I […]
Using global $post; to get featured image for custom post via WP_Query
I’m using a site-wide function to add css to the <head> of the page pull […]
set_post_thumbnail_size not cropping featured images, but reducing proportionally
In my function file, I set the following: if ( function_exists( ‘add_theme_support’ ) ) { […]
How to both crop (with tool) and resize thumbnails having only a max width constrain?
I want to use thumbnails (max. 400px width). That means thumbnails can be 400px, but […]
Setup Featured image on all posts from thesis thesis_post_image custom field?
I moved from thesis to other wp theme and i want to change the thesis […]
Is it possible to get local image URL when also having photon active?
So I am using Photon, and it has helped increased my loading speed. While this […]
Differentiate Featured Image from Post Images upon Upload
I want to differentiate the featured image from post images. The plan is to give […]
No More Posts Available.
No more pages to load.