I am hardly an expert. But it almost sounds like you need a Cron Job plugin.
When you get the answer, I would love to know the solution.
If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.
Register Today on DNForum IT'S FREE!In wordpress 3.1 they offer a "set featured image" for each blog post. I am trying to find out what the custom value for the "featured image" option is so that I can add it to my auto blog and have it pull a featured image for each blog post without setting it manually. You can see my site here: http://bit.ly/ejjSPI
Notice under "latest news" that the two posts with images I added manually using "set featured image" and the one without an image I used my auto blog. I've tried to use dozens of custom field values to display a generic image on my server using the auto blog. Is there a way to look at the page source to see what the custom field value would be?
Last edited by Rockefeller; 03-27-2011 at 10:05 AM.
I am hardly an expert. But it almost sounds like you need a Cron Job plugin.
When you get the answer, I would love to know the solution.
I'm not sure if this is what you mean, but I just added a custom field to a Wordpress site I'm currently working on. I needed an extra field when posting that would fetch an uploaded header image from the gallery and post it in the top of the article.
In the theme I'm using, I had to make a new class in single.php;
After I added this code I can upload an image to the gallery and have it added to the post by adding a custom field called headerimg and the value is the URL where the image is located (the size of the image is defined in the css stylesheet).Code:<?php if(get_post_meta($post->ID, "headerimg", true)) : ?> <img class="headerimg" src="<?php echo get_post_meta($post->ID, "headerimg", true); ?>" /> <?php endif; ?>
Works perfectly for me, although I'm not sure if this was what you were looking for?
not exactly sure how to add the custom field but just wanted to say that youre site looks pretty bad ass![]()
The featured image doesn't show anywhere else besides the home page...still not sure how to do this, I've tried "img" "thumb" "thumbnail" "thumbnail_path" and just about everything else I thought would work
---------- Post added at 10:39 AM ---------- Previous post was at 10:33 AM ----------
Here's what the code looks like when I manually add the featured image for the post:
Here's what it looks like when I try to add a post through autoblogged:Code:<div class="box"> <div class="img-box"> <a href="http://www.atving.org/2011/02/siuslaw-national-forest-dunes-routes-won%e2%80%99t-be-established-until-2011-2/" title="Siuslaw National Forest Dunes routes won’t be established until 2011"><img width="176" height="121" src="http://www.atving.org/wp-content/uploads/2011/02/img53.png" class="attachment-full wp-post-image" alt="img5" title="img5" /></a> </div> <a href="http://www.atving.org/2011/02/siuslaw-national-forest-dunes-routes-won%e2%80%99t-be-established-until-2011-2/" title="Siuslaw National Forest Dunes routes won’t be established until 2011"><h5>Siuslaw National Forest Dunes routes won’t be established until 2011</h5></a>
Code:<div class="box"> <div class="img-box"> <a href="http://www.atving.org/2011/03/desert-safari-this-weekend-north-of-ocotillo-wells-at-truckhaven/" title="Desert Safari This Weekend North of Ocotillo Wells at Truckhaven"></a> </div> <a href="http://www.atving.org/2011/03/desert-safari-this-weekend-north-of-ocotillo-wells-at-truckhaven/" title="Desert Safari This Weekend North of Ocotillo Wells at Truckhaven"><h5>Desert Safari This Weekend North of Ocotillo Wells at Truckhaven</h5></a>
It's actually _thumbnail_id but that field needs the ID of a saved attachment.
However, we have made some updates to make sure the first attachment always gets assigned as the featured image in our v2.8.2 release which should be coming out tomorrow.
Bookmarks