Post Thumbnail is a theme feature introduced with Version 2.9. Thumbnail is an image that is chosen as the representative image for Posts, Pages or Custom Post Types.

learn more… | top users | synonyms (1)

0
votes
0answers
122 views

Updated WordPress and now image crop, thumbnail setting and thumbnails are gone

I've updated to WordPress 3.7.1 and when I upload images to my site, it's not generating thumbnails. It's also missing the image crop and thumbnail setting sidebar. I created a simple theme but ...
0
votes
1answer
88 views

How to have featured image show in standard RSS Widget

Is there a way of showing featured images in the standard RSS Widget in WordPress?
0
votes
0answers
32 views

Adding an existing featured image to a post through mysql

I want to add an already uploaded featured image to a post by adding records to the wp_postmeta table through MySql. Is that possible, has anyone done this? I'm using WP 3.7.1. Thanks in advance. ...
0
votes
1answer
223 views

MultiPostThumbnails for Custom Post Type

I have spent time and figured out how to add Multiple Thumbnails to a custom post type in the wordpress admin for the custom post type, code and question below: if ...
0
votes
2answers
441 views

Add Title Attribute to WordPress Image the_post_thumbnail

i use this code to show post's thumbnail in my site but this code cant show the title Attribute of the thumbnails. how can i add Title Attribute to WordPress thumbnails? <?php if ( ...
0
votes
0answers
63 views

Pointing Existing featured images to s3 bucket

Our wordpress site is moved to another server and we moved all the images to amazon s3. Updated the post_content and guid to s3 path. On verifying found that the images which are set as featured ...
0
votes
0answers
66 views

wordpress imported images not working for featured image

To import images into my wordpress site, I added the actual image into the correct month's folder in the uploads directory and I created a post as type attachment with that image name and url. When I ...
0
votes
1answer
90 views

Better way to show Description and image Captions

I am using this code to display "Featured Image" Captions/Descriptions, also i will show my div with Captions/Descriptions only if they exist. Because my PHP skills are not best My question is : Is ...
0
votes
1answer
70 views

Determine if get_the_image has image on Get the image Plugin

is there a way / function to determine if Get the image plugin successfully grab the image from post? Something like has_post_thumbnail on WordPress featured image. I need to know if featured image ...
1
vote
1answer
31 views

How do I turn a post thumbnail into a background image?

I believe the answer o this question was posted on this page, but it is still not clear to me. The snippets are scattered all over the discussion and several glitches happen when I implement them.
1
vote
2answers
91 views

Reactor Theme: Prevent Post Thumb on Post

Reactor Theme is built on Zurb Foundation and is here - I think it's quite good. The theme I am replacing used the featured image in the posts or blog page but not in the post itself. Reactor calls ...
0
votes
1answer
102 views

Show posts image attachments

I'm creating an archive page for my photoblog. My posts have 1 or more images. I'd like to show all the attachment thumbnails in a page. Using the featured image (the_post_thumbnail) only shows 1 ...
0
votes
1answer
27 views

How to enable admins/editors to set a featured image for specific category?

Well , I know how to set up a featured image for a post . But I want to set up a featured image for categories . So admins/editors can choose a featured image ,like they do for posts . And one ...
1
vote
1answer
371 views

set a chosen image-file-input as a featured image from wp frontend

SCENARIO : I allow to create posts from front-end. The form also has four image upload fields. I use the code pasted below for image attachments and setting the post thumbnail. //insert attachments ...
0
votes
0answers
22 views

Custom thumbnail size for each post format [duplicate]

I want to customize each post format his thumbnail without creating many size in all posts, for example: Instead of : add_image_size( "standard-format", $width, $height, true ); add_image_size( ...
0
votes
2answers
287 views

Display the first image from a post in RSS feed

I have seen other question located here , but its not useful for my case. Its not working. Also - RSS Feed Image plugin is not working as desired. I want to display first image of the post in RSS ...
0
votes
3answers
56 views

Show Featured Image in else statement

This is how i am loading the post thumbnail image ? What if there is no image, i want to show a default image ? How can i show that. Here is the code i use to display thumbnail. $html .= ...
0
votes
0answers
86 views

Featured image and Media Grid

I am trying to get an image in Media Grid's lightbox to another page. I have the images set up in the media grid plugin and when you click on the image it opens a lightbox with a larger version of the ...
0
votes
1answer
169 views

How to find attachment by it's name?

Is it possible to get attachment id by its name? And at once may be it's possible to get parent post, to which this attachment is assigned?
0
votes
1answer
21 views

Link from Thumbnail to Post not working

i am trying to link my posts thumbnail to the post that it is pulling, however its not coming through as a link :S <?php $carouselPosts = new WP_Query(); ...
0
votes
0answers
10 views

How to create custom anchore to specific past category with feature image?

I created wordpress website and add 6 statics banner. Now i want to dynamic so i created a add category and add featured image as a banner but dont know how add anchore please give me idea or aany ...
0
votes
1answer
17 views

Set featured link not showing

I created my own custom wordpress theme now i am able to add media to my site but the "set featured" link does not show, please i need some help on this.
0
votes
0answers
17 views

Poor Image thumbnail quality [duplicate]

I'm trying to create high-quality thumbnails to display in my menu but cant seem to get a good resolution. We would like to avoid making our authors have to upload two different images so if there ...
0
votes
1answer
65 views

Featured Image / Post Thumbnail Cropping Query

I am building a site which can be viewed here: http://inspiredworx-labs.com/sites/garyarnold/ As you will see on the homepage, I have a grid, the site is responsive so am using % over px for widths. ...
0
votes
0answers
53 views

Search for featured image, then for first image, then for video thumbnail

I want wordpress to use featured image to create thumbnail. If there is not, then first image of the post. If not, video thumbnail. Can anyone help me modifying the code? Thanks in advance. USED ...
0
votes
2answers
85 views

Featured Image not shown and getting error “Object of class WP_Error could not be converted to int”

First of all I'm using twentyeleven theme, I created a custom template page to insert posts. It has 4 submit forms. it is working well, also setting feature image is ok for 3 forms except the first ...
0
votes
1answer
193 views

Call Featured Image from Parent Page

I am working on a site and each page group has its own featured image. I am trying to do a conditional statement in the header but not sure how to check for the parent page's featured image. ...
0
votes
1answer
317 views

featured image as background image on pages

I'm adding a featured image on my page through the dashboard and I want to use it as a background image on the container div of the page. I want to apply the background image through css, so I am ...
3
votes
2answers
312 views

Set featured image for multiple posts

Does anyone know how I can set an image as featured image for multiple posts. I have posts in a seri that I would like to use the same image as featured image. bulk edit doesn't have featured image ...
0
votes
1answer
121 views

Use wp_remote_get to add image to media library

I'm using Embedly to make it easy for a client to add news to their website - basically, they just input a URL, and Embedly grabs the link's information, and I add it all to post meta for displaying ...
0
votes
0answers
187 views

get_the_post_thumbnail() returning empty string on custom post type

I've been brought in to help out with development on an existing plugin, and have run into a strange issue. Not sure if I'm overlooking something obvious here. The situation: I'm adding a shortcode ...
0
votes
1answer
267 views

Getting featured image of particular size.

For my site I use WordPress 3.6, and a wp-bootstrap theme that is built on bones framework. When I set a featured image for a particular post, I see that the image is automatically saved at 6 ...
0
votes
1answer
30 views

How to remove featured images from posts

Somehow my theme doesn't recomend featured images. That being said, how can i remove featured images from posts?
1
vote
2answers
74 views

how to use the new image size

I am new to wordpress and i want to use a size which can be 300 x 283, i tried the the_post_thumbnail(array('300,283')) but it didn't work, then i went to read about add_image_size which i added like ...
0
votes
0answers
27 views

Always generate thumbnail after sideloading image

I'm sideloading an image into wordpress from youtube. it works fine and the key part of the code is: // sideload it into wordpress (generates various sizes) $thumbid = media_handle_sideload( ...
0
votes
0answers
94 views

Use the_post_thumbnail as background image in LESS CSS

I'm trying to use the_post_thumbnail featured image as the background image to a div container within a page template file. I'm using LESS CSS and wondered if it was possible to pass in a Wordpress ...
0
votes
1answer
156 views

Random Category with Recent Post Title and Thumbnail

This code below works perfect to pull the title of five random categories, the issue is for each random category I want the latest post title and thumbnail but where and how do I add the post query? ...
0
votes
1answer
150 views

Custom caption output for custom image size

I've done a lot of searching and have found out how to customize the img_caption_shortcode oputput. What I can't seem to figure out how to do: Add a specific class to the caption's output if a ...
1
vote
0answers
75 views

Featured image not working, because of custom user role?

I've got a weird issue. My post thumbnails aren't working with a custom role. Images can be uploaded, and when viewing the media uploader they show as attached to the relevant post. However, when ...
0
votes
0answers
125 views

SVG images as featured image/post thumbnail

I'm able to upload SVGs thanks to this solution: How can I upload SVG images using the media uploader? But when I try to set the SVG as featured image the field stays empty. Is there something I have ...
0
votes
1answer
230 views

Random Featured Image Based on Category

I am looking to extend the below code to select a random featured image based on a specific category. The below works but uses an overall list of images to pull from vs a list of images based on ...
0
votes
1answer
46 views

How to disable thumbnail filter for a specific template part or image size?

I am filtering post_thumbnail_html in my theme to modify the output of my image tags. I have one template part that I would like this filter not to apply to. It uses an image-size that is used no were ...
0
votes
1answer
56 views

How can I debug what is wrong ? Featured images stopped showing

not sure when this happened, but my featured images are now not showing. Instead I see "NO THUMB" Any ideas how I can find the cause ? So far I have disabled and reenabled all plugins, to no avail. ...
0
votes
0answers
46 views

How to set a Maximum Image size to a Field in WordPress

I have a customized frontend form in WordPress that allows to set a featured image to a post before publishing it. I want to set a maximum-allowed "width" as well as a "height" to the "upload image" ...
0
votes
2answers
165 views

WP Insert post with post_thumbnail

Insert post thumbnail with 'wp_insert_post', i'm trying this code but does not work, the field 'get_field('imagem_do_produto') returns the url of the image, why not work? <?php $exists = ...
0
votes
0answers
85 views

featured image not showing up with mysql_connect

i noticed a certain problem with the featured image issue, i had everything work nicely until i added a mysql connection to another database to retrieve certain information, the featured image stop ...
1
vote
1answer
255 views

get_pages - Display child then grandchild pages

I have a page structure like this. Portfolio - Residential - - Resident 1 - - Resident 2 - - Resident 3 - Commercial - - Commercial 1 - - Commercial 2 - - ...
0
votes
3answers
92 views

Default thumb - how to set it

i need the code which will add default thumb, if there is not featured image available. I was using default thumb plus for this but this plugin is using a lot of resource so i need to remove it. I ...
0
votes
2answers
361 views

Click on featured image to pull up lightbox

So I have a gallery-like archives page full of donors on my site. Each box of the gallery consists of a featured image from the donors post type. The goal for the site is, upon clicking a donor, to ...
0
votes
1answer
146 views

Featured Image If Else Condition

I have my banner background set to the URL of the featured image. <div id='xpro_shell_text' > <?php if (has_post_thumbnail( $post->ID ) ): ?> <?php $image = ...