Questions tagged [wordpress-featured-image]

The featured image (also known as the "post thumbnail") is the primary image associated with a page, post, etc., which shows up in various areas of the theme. Use with the [wordpress] tag.

Dynamic Featured Image dynamically adds multiple featured image (post thumbnail) functionality to posts, pages and custom post types. It enables the option to have MULTIPLE featured images within a post or page. This is especially helpful when you use other plugins, post thumbnails or sliders that use featured images. Why limit yourself to only one featured image if you can do some awesome stuffs with multiple featured image? DFI allows you to add different number of featured images to each post and page that can be collected by the various theme functions.

(From Wiki)

172 questions
9
votes
3 answers

wordpress featured image from external url without download

i would like to use external pictures as featured image on wordpress. either changing worpdress code. (adding a fetured image metabox accepting urls and do some modifications in order to display the featured image from url correctly) or modifiying…
user3449429
  • 124
  • 1
  • 3
  • 11
7
votes
3 answers

How to add custom field to custom post type?

Good morning. I have created a custom post type called 'Products'. I want to create a custom field (is metabox the correct term?) where my client can tick a box to determine whether a given post within this CPT is a featured post. Here is the code…
5
votes
2 answers

How to set youtube thumbnail from youtube embed code as featured image in wordpress?

How to set external url of youtube thumbnail (not uploading it inside my site) of an youtube video from iframe embed code of youtube video? Is it possible to make function which will pull external youtube thumbnail URL and set it as featured image…
Polo Pakina
  • 778
  • 4
  • 8
  • 14
5
votes
2 answers

How to Add a Featured Image Caption in Wordpress

I am hoping someone may be able to help me with a problem. I am building a news web site for a friend of mine. The site is starting to come together, but I cannot find out how to add captions to featured images. I have been looking all over the…
TLCJohn
  • 93
  • 1
  • 1
  • 5
5
votes
3 answers

Require authors to set featured image for post

I have customised my Wordpress site design to use the featured image for posts quite excessively. This is why I need to require all post made by non-admins to require a set featured image. How is this possible?
Gary Woods
  • 1,011
  • 1
  • 15
  • 33
4
votes
2 answers

how to set featured image in non-wordpress

pasting wordpress url in fb status bring a featured image+some text while when I put mine (core php site) url in fb status, it shows only text but picking no image while I have more than 10 images at that page I googled a lot but almost all posts…
alamnaryab
  • 1,480
  • 3
  • 19
  • 31
4
votes
3 answers

how to set an image as featured image of a post with php on Wordpress?

i would like to set an image as featured image of a post. I found this piece of code in the wordpress documentation, it saves the image in the upload directory but the image is not set as featured image of the post (37 in the code) anymore. Can you…
3
votes
1 answer

How to export subtitles and featured videos - Wordpress

Is there a way to export subtitles and featured video from a Worpdress website to another? I found plenty of ways to export posts, pages, media, comments, categories, featured images etc. but all fail in exporting subtitles and featured…
Marco
  • 389
  • 1
  • 3
  • 14
3
votes
1 answer

WP dynamic featured image - Can't get second featured image url

I'm actually working on a wordpress website with a Dessign.net theme (the pixel one) which got a beautiful full-page slider on the front page. The slider shows the featured image of selected posts (post for which i've checked "show in slideshow" in…
mada
  • 35
  • 1
  • 8
3
votes
3 answers

Dynamic Featured Image

I have recently installed Dynamic Featured Image plugin for wordpress. But I do not know how to link images. I'm trying to create me a gallery like this http://www.subcreative.com.au/#work - Scroll down to the projects and you will see . I have put…
Wezzou
  • 37
  • 1
  • 6
3
votes
1 answer

Wordpress attachment upload via PHP

Im trying to upload an external image and set it as a featured image via php The code im using is as follows, $photo = new WP_Http(); $photo = $photo->request( $article->largeURL ); $attachment = wp_upload_bits( $photo_name .…
rogy
  • 440
  • 6
  • 23
2
votes
0 answers

crop in add_image_size() wordpress

Why does crop array in add_image_size() does not work properly unless the featured image is again uploaded? Like here is the code This works perfectly for the first time…
Aisha Rafique
  • 53
  • 2
  • 9
2
votes
1 answer

How to set the featured image of a post from the Media Library

If I create a post with this function: function write_post_with_featured_image( $post_title, $categories ) { $category_names_array = explode( ",", $categories ); $category_ids = array( ); foreach ( $category_names_array as…
mpinvidio
  • 489
  • 6
  • 17
2
votes
1 answer

"Featured Image" or "Thumbnail" in Wordpress 3?

What's the difference between a featured image and thumbnail, and why would you use one over the other?
Matrym
  • 16,643
  • 33
  • 95
  • 140
2
votes
0 answers

Get featured image from any link (without ever needed to upload files to wordpress image library)

I have a question about wordpress Featured Image. When i need a Featured Image for a post of my wordpress site, i must upload the file to wordpress library and choose to make it display. The question i have today is that, is it possible to add a…
Jornes
  • 287
  • 1
  • 3
  • 15
1
2 3
11 12