Bin-Blog logoBin-Blog

Learn about the latest in Web Development – as soon as I do.

Autofields WordPress Plugin

By • Nov 18th, 2008 • Category: Blogging, Scripts, WordPress

AutoFields Plugin will auto fill the Excerpt and add an Image custom field based on the data you entered into the contents editor. This plugin will set the first paragraph of the content as the excerpt and take the first image(if there are any) and set it as the ‘Image’ custom field(needed for some themes – like Mimbo – my theme). When you hit the publish button, it will check to make sure that excerpt and Image custom field are filled. If not, it will ask you to confirm before publishing the post.

If you are new to this blog, this is the Plugin Week. I am going to release one wordpress plugin each day, every day for one week(ie. Monday to Friday). Each day you will get a new plugin by me. This is the second plugin in this series. The first one was Eventr Plugin




If you have any suggestions or notice any problems with the plugin, post it in the Autofields Plugin forum.

Next plugin will be released tomorrow.

22 Responses »

  1. […] « Autofields WordPress Plugin […]

  2. […] Autofields WordPress Plugin […]

  3. Gofree says:

    This is what I have been seeking for.
    One question then, can we also config the image custom field cz some themes need different codes?

  4. g says:

    Great idea for a plug-in. It doesn’t work for other themes because the custom field for the image isn’t defined.

    Will this plugin work if you are importing articles via an rss importer such as wp-o-matic or simply importing them from an xml file?

    The link, displayed on the installed plugins page, to your site goes to and not to this blog.

    I’m using wordpress 2.7

  5. Binny V A says:

    You have to change the code of the plugin for that. Can you give me a list of the other custom field values used in other plugins?

    It will not work when importing articles – sorry – you will have to edit them manually.
    About the link, that’s ok – its the authors url – not the plugin url.

  6. […] first three plugins are Eventr, Autofields and Pollin. Eventr enables WordPress to be used as an event management tool, Autofields will auto […]

  7. […] Autofields plugin […]

  8. […] Autofields WordPress Plugin […]

  9. […] Week 1 and Plugin Week 2. In Plugin Week 1, only wordpress plugins where release(they are Eventr, Autofields, Pollin, Surveys, Quartz and Quizzin). This time around, I will not restrict myself to WordPress […]

  10. German says:


    Is there a way to modify this plugin for it insert 2 standart fields for all my post?

    The problem I have is most new themes of WP are using thumbnails for post. But they need every post has 2 custom fields:

    1. Name: Thumbnail
    2. Value: url_base_to_thumbnail_dir/thumbnail_for_a_post.jpg

    Since I’ve been writing all my posts without these 2 custom fields, I need to insert them automatically.

    Thank you!

  11. German says:

    Yes, I know it, Binny, the problem is have not idea about php 🙂

    Anyway, I’m sure lot of people out there are looking for a plugin as I asking for… and may be, if you are boring, you could do it 🙂


  12. German says:

    Thank you!!

    and may be you also can add an autoscan option, to scan the images in the post, and then generate an automatic thumbnail (with a configurable size). I mean, something similar to this:

    When will you release the next version of your plugin?


  13. Colin says:

    Hi Binny,

    I love the idea of your plugin, I’m using wp-o-matic to pull in Ebay RSS feeds and I need a way of adding some custom fields.

    I need a way of extracting “buyitnowprice” from the feed and adding the value as the “price” custom feed, I also need the image to be pulled from the content and added as “images”.

    Is it possible to do this with your plugin, would be able to make a donation if it is.



  14. selebriti says:

    many thanks for the plugins,

    how can I set the autofields for below custom fields:-

    I want both to have the same image path (1st image on wp editor)

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>