Tagged Questions
0
votes
1answer
26 views
Displaying warning if no featured image has been set - Post Editor
I run a multi-author website and many of my users are forgetting to set a featured image for their post. This is a big problem as my theme depends highly on featured images to keep a consistent feel ...
0
votes
1answer
42 views
Latest news mini images
I tried to find an answer on websites and other forums, but found nothing. I will try to explain my problem.
I need to change my WordPress website so that it displays a small image for all news ...
0
votes
0answers
38 views
Remove featured image link not working
I added a featured image to my post through set featured link in backend. Not when i click on remove featured image, it removes it . But when i update the post then, The featured image still comes ...
0
votes
3answers
53 views
Retrieve a specific post's featured image and show on a different page
What I'm simply trying to do is grab the featured image thumbnail image from a specified post/page and display that image on any other page somewhere.
So for instance, if it's a single post, use the ...
-1
votes
2answers
72 views
Excerpt with image
I would like to use my excerpt field to display a different image for each post to represent that post. For instance a post about a new album instead of having a title/text excerpt would simply be an ...
0
votes
1answer
49 views
Insert link to my thumbnail images
I am try to insert link to my thumbnail images, the link is hyperlink with post. When i put this code inside the loop then instead of showing the first image, first show the second image ...
1
vote
2answers
957 views
Errors when uploading images in WP 3.5
I'm trying to upload images in WP 3.5 to set featured images for posts. Unfortunately I get the following error message:
An error occurred in the upload. Please try again later.
The installed ...
0
votes
0answers
6 views
how to display post exerpts for recent posts? [duplicate]
Possible Duplicate:
how can I list recent posts' excerpts
I am trying to display post excerpts for 3 of my recent posts. I have tried using the code below but it displays the excerpt of ...
2
votes
1answer
203 views
Make featured image required
Is it possible to force user to set featured image on some types of posts. For example I've got custom post type mm_photo and I want to show some error message or somehow block user from publishing or ...
0
votes
2answers
198 views
Issue where WP Featured Image will not display
The code I'm using, is outside of WordPress i.e.
define('WP_USE_THEMES', false);
require('blog/wp-blog-header.php');
global $wpdb;
The code that I'm trying to display the post thumbnail (the ...
0
votes
3answers
229 views
How to add/assign or change featured image in post programmatically?
I have written a plugin that (besides other functionality) makes posts from existing content. For each post I have one picture - how to make them featured programmatically?
I do the:
$id = ...
0
votes
0answers
69 views
Blog posts display link url of the thumbnail image [closed]
Im new to worldpress and i have encounter a problem that i cant fix by my self.
I wanted the blog posts thumbnail image to be linked to its orginal size in lightbox so when clicked it works well.
...
0
votes
1answer
213 views
Only show featured image on exerpt and exclude images in post
I have below code which displays the featured image from the post. But when I add an image to the post it also shows up with the featured image.
What I need to do is just show the featured image and ...
1
vote
4answers
434 views
How only display all post related to category
I'm trying to make a custom template for my category pages that only pulls in post under a specific category. At the moment, I am only able to pull in all post and not category specific...
My code so ...
0
votes
1answer
74 views
How can i add thumbnails images to particular post (using code not admin pannel) in wordpress
I am trying to set thumbnails for my post.
I have post_id = 285 and I want to add manually a thumbnail (using code) but I'm not succeeding.
update_post_meta( $post->ID, '_thumbnail_id', ...
1
vote
2answers
1k views
Show featured image next to post-teasers in Genesis Framework?
I want my posts to have a featured-image thumbnail beside it, how do I do this?
-2
votes
1answer
219 views
Front end post or photo or both
I need a help in correcting my code that can front end post or attach image or post&attach image ;)
Now I can send a 'post' and 'post with photo' but can't send just a photo, How can I do that? ...
0
votes
1answer
1k views
How do you add thumbnail support for custom post types?
the thumbnail support is working for post, but I have another post type called product and it is not working for this. I am trying: add_theme_support( 'post-thumbnails', array( 'post', 'product' ) );
...
0
votes
1answer
80 views
thumbnail image path and file path for gallery thumbnail images
what is the thumbnail image path?
When asked for the file path for the gallery thumbnail image, what is needed?
the terms: thumbnail image path
and
file path
is not familiar to me.
0
votes
1answer
29 views
Wanting to apply different featured images for each post
This is my first wordpress website here and so far it'll looking good. The only thing I have left that I just can't figure out is the featured image for my blog page.
I have set the main blog banner ...
0
votes
2answers
134 views
Posts Page Featured Image [closed]
I have created a theme that uses a featured image on every page.
In settings, I have setup my "Posts Page" to be "news"...how do I get the featured image from "news" to display?
The following will ...
0
votes
1answer
474 views
VT-resize image and display it [duplicate]
Possible Duplicate:
Retrieve 1st image in post and set it as featured image, when post is saved/updated
I am trying to make this works and instead of giving me the url of the image, it is ...
0
votes
2answers
353 views
Specific Post Format Image Thumbnail
I have a post thumbnail set for standard posts (when an image is featured) but for image format posts I'd like to have a separate, dynamically resizing (i.e. image resizing in the functions php via ...
0
votes
1answer
842 views
How to display Post title By ID and its Thumb Contents
Hello i'm trying to display a Post Title by its ID and its thumb content, I have I code but this displays everything, all I want is post title,its category and a short content of that post. I have a ...
0
votes
1answer
155 views
Getting only the URL of the post thumbnail
I wish to do something as simple as the_post_thumbnail('large') but I want the URL of the image only, not the HTML which goes with it. Is that possible ?
1
vote
1answer
896 views
Delete Post From Front-End and attachment permanently
Is there a way to delete a Post From Front-End and it's attachments permanently? This is a snippet that moves the post to the trash can, but it doesn't remove attached images (they remain on the ...
0
votes
1answer
282 views
attach several images to post + gallery
i'm wondering if its possible to attach several images to a post then display those images in a thumbnail/fading gallery?
By the way, the images should also be resized to a fixed size + thumbnail.
...
2
votes
2answers
2k views
WP Insert Post function - Insert Post Thumbnail
Whilst performing wp_insert_post, how would one insert the post thumbnail. I tried the code below to no avail.
$postit = array(
'post_title' => $itemtitle,
'post_content' => '',
...
1
vote
1answer
582 views
Showing Thumbnail from Previous and Next Posts
Is there a simple way to use the post thumbnail when calling previous_post_link() and next_post_link()?
