Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

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!

Results 1 to 8 of 8
  1. #1
    Rockefeller's Avatar
    Join Date
    Apr 2005
    Location
    53083
    Posts
    8,316
    Country

    United States
    DNF$
    8,748
    Bank
    0
    Total DNF$
    8,748
    Donate  

    Does anyone know the custom field value for Wordpress 3.1 feature image?

    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.

  2. #2
    Dances With Dogs
    Gerry's Avatar
    Join Date
    Dec 2006
    Location
    PortaPotty
    Posts
    17,859
    Country

    Trinidad Tobago
    DNF$
    23,022
    Bank
    0
    Total DNF$
    23,022
    Donate  
    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.

  3. #3
    www.ehot.net
    Stian's Avatar
    Join Date
    Jan 2007
    Location
    EHOT.net
    Posts
    7,361
    Country

    Norway
    DNF$
    4,455
    Bank
    0
    Total DNF$
    4,455
    Donate  
    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;

    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; ?>
    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).

    Works perfectly for me, although I'm not sure if this was what you were looking for?

  4. #4
    Dances With Dogs
    Gerry's Avatar
    Join Date
    Dec 2006
    Location
    PortaPotty
    Posts
    17,859
    Country

    Trinidad Tobago
    DNF$
    23,022
    Bank
    0
    Total DNF$
    23,022
    Donate  
    I believe he wants an image to upload along with the RSS feed.

    "Just a lot of embarrassment, embarrassed to be part of group of domainers who would do this to their fellow man.",
    Condemnation of Mobee boys and investors by our precious Mother Theresa of Domaindom

  5. #5
    Platinum Lifetime Member
    bgmv's Avatar
    Join Date
    Jan 2008
    Location
    fl
    Posts
    606
    Country

    Switzerland Follow bgmv On Twitter
    DNF$
    2,285
    Bank
    0
    Total DNF$
    2,285
    Donate  
    not exactly sure how to add the custom field but just wanted to say that youre site looks pretty bad ass

  6. #6
    Rockefeller's Avatar
    Join Date
    Apr 2005
    Location
    53083
    Posts
    8,316
    Country

    United States
    DNF$
    8,748
    Bank
    0
    Total DNF$
    8,748
    Donate  
    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:

    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>
    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/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>

  7. #7
    Platinum Lifetime Member

    Join Date
    Jul 2007
    Location
    Utah
    Posts
    35
    Country

    United States
    DNF$
    372
    Bank
    0
    Total DNF$
    372
    Donate  
    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.

  8. #8
    Rockefeller's Avatar
    Join Date
    Apr 2005
    Location
    53083
    Posts
    8,316
    Country

    United States
    DNF$
    8,748
    Bank
    0
    Total DNF$
    8,748
    Donate  
    Quote Originally Posted by bbakk View Post
    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.
    Thanks to bbakk, he fixed this issue for me, running seamlessly now. Highly recommend Autoblogged.com, I use it on dozens and dozens of sites!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Domain name forum recommended by Domaining.com