1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

HELP automatic custom fields!

Discussion in 'Blogging' started by hitchpua, Oct 7, 2009.

  1. hitchpua

    hitchpua Registered Member

    Joined:
    May 14, 2009
    Messages:
    54
    Likes Received:
    0
    hi guys i have some beautifull wp theme that use custom fields to work
    so at each post i have to put
    under "custom fields" NAME and VALUE
    and the grafic is perfect with Thumbnail ecc ...

    Should be perfect if i can make an autoblog that when post a video, article ecc
    write the custom field name and value in automatic for adding a professional thumbnail at each post in autoblog mode!!!!

    Is it possible !?
     
  2. Willsa43

    Willsa43 BANNED BANNED

    Joined:
    Aug 11, 2009
    Messages:
    33
    Likes Received:
    1
    I think automatic custom fields is not possible.. but I saw a theme with thumbnails without any custom field! Search for it! I really forget it man!
     
  3. martasanto45

    martasanto45 BANNED BANNED

    Joined:
    Jun 23, 2009
    Messages:
    86
    Likes Received:
    33
    i dont think that is possible
     
  4. dichotom

    dichotom Elite Member

    Joined:
    Dec 9, 2008
    Messages:
    1,911
    Likes Received:
    544
    Autoblogged will insert custom fields, myvideoblog will too
     
  5. adbox

    adbox Power Member

    Joined:
    May 1, 2009
    Messages:
    658
    Likes Received:
    107
    Home Page:
    looking for this too.
     
  6. K1w12k3

    K1w12k3 Junior Member

    Joined:
    Feb 13, 2009
    Messages:
    116
    Likes Received:
    393
    Home Page:
    Yes, it's possible to set up custom fields for posts so each new post will automatically have those fields inserted. You need to write it as a WP plugin, though, or if not, you need to include it as part of your theme's functions.php file.
    Check this codex post out:
    Code:
    http://codex.wordpress.org/Function_Reference/add_meta_box
    
    That will show you how to add the custom fields to your post/page admin menus, and then to populate them you just need to add the variable and value from your autoposter to it using the wp_post_insert function.
     
  7. adbox

    adbox Power Member

    Joined:
    May 1, 2009
    Messages:
    658
    Likes Received:
    107
    Home Page:
    Recently I wrote this into blogsense to handle automatic custom fields for images only.
     
  8. shedboy

    shedboy Newbie

    Joined:
    Jan 11, 2009
    Messages:
    47
    Likes Received:
    61
    I use this to post videos to a blog using a tube theme, the tube theme uses custom fields

    Here is a short example of what I use

    Code:
    $success = wp_insert_post($post);
    				
    if (!$success) 
    	$errmsg[] = "Failed posting from $name";
    else
    {
    $errmsg[] = "$name successfully processed $success";
    //update custom_fields based on NTS file
    add_post_meta($success, 'thumb', $thumb);
    //add_post_meta($success, 'duration', $duration);
    $results++;
    }
    

    I insert a new post and if successful I then add the custom field, in this case its a thumbnail of a video
     
  9. irwanbee

    irwanbee Newbie

    Joined:
    Mar 27, 2010
    Messages:
    6
    Likes Received:
    6
    If you using wprobot, adding customfied automatically is possible.
    just see inside this article : http://www.autoblogtheme.info/tips/modify-amazon-module-wp-robot-plugins-to-add-custom-fields.html
     
    • Thanks Thanks x 1
  10. SpiderWebMaster

    SpiderWebMaster Power Member

    Joined:
    Jan 24, 2009
    Messages:
    617
    Likes Received:
    519
    Occupation:
    I don't have a job...
    Location:
    /dev/null
    you can try this plugin here... it does exactly what you want i guess...

    Code:
    http://wordpress.org/extend/plugins/ms-auto-thumbnail-custom-key-generator/
     
  11. makingfastcash22

    makingfastcash22 Senior Member

    Joined:
    Feb 15, 2009
    Messages:
    1,152
    Likes Received:
    178
    Home Page:
    spiderwebmaster does that work with WP Robot?

    Thanks