SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Community Advisor silver trophybronze trophy
    dresden_phoenix's Avatar
    Join Date
    Jun 2008
    Location
    Madison, WI
    Posts
    2,813
    Mentioned
    34 Post(s)
    Tagged
    2 Thread(s)

    Adding custom fields automatically to a NEW POST

    Is there a way (or plug in) that adds a set of predefined custom fields to be filled in specific types of post or pages?

    For example,
    If I have a category, "Gallery", set up and I create a new post for that category.. how can I have the custom fields "Height", "Width" , "medium", "date" , and "Image" be created automatically ( currently I have to manually create 5 new custom fields and scroll down from the pull down menu to select the appropriate field name each time I create a new post, which is not very efficient.

    Any suggestions would be greatly appreciated.

  2. #2
    SitePoint Guru bronze trophy Slackr's Avatar
    Join Date
    Jan 2009
    Location
    New Zealand
    Posts
    679
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    You can add and define metabox info for a post type by using Easy Custom Content Types by Pippin's Plugins. He's a solid Plugin developer who follows best practice in coding and is very good at supporting his products. I own this and have used it to heavily customise an academic post entry with multiple extra entries. I wouldn't hesitate to recommend it and it should be easy enough to estabilsh if it will do what you need to before purchasing as well.

  3. #3
    Mazel tov! bronze trophy kohoutek's Avatar
    Join Date
    Aug 2004
    Location
    Hamburg, Germany
    Posts
    4,248
    Mentioned
    30 Post(s)
    Tagged
    0 Thread(s)
    It's quite simple to do, actually. Here's a good tutorial to start with: http://wp.smashingmagazine.com/2011/...xes-wordpress/

    If you prefer a plugin, then something like WPAlchemy might be a good option. The developer also has a tutorial on how to build custom meta boxes without using the plugin: http://www.farinspace.com/wordpress-...ox-next-level/
    Maleika E. A. | Rockatee | Twitter | Dribbble




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
  •