Add custom fields to your wordpress write page

How to Use This Plugin

Custom Fields Plugin for Wordpress

I wanted to show you how to set up your conf.ini file so that you can have the fields you need for your wordpress blog’s write page.

Note: Titles should not have spaces in them.

Radio/Checkbox/Select:

[ItemTitle]

type: {either use “radio”, “select”, or “checkbox”}

value: Yes#No#Maybe#Sometimes#Jumping Dolphins <–separate multiple items with the # sign

default: Jumping Dolphins <–This must be spelled the same as the one above that you want defaulted

description: Type the description of the custom field here.

Textfield:

[ItemTitle]

type: textfield

value: Thanks for all the fish

description: Type the description of the custom field here.

TextArea:

[ItemTitle]

type: textarea

value: text text text, more text

description: Type the description of the custom field here.

Custom Fields Plugin for Wordpress


Updates

I have talked previously about the rc_custom_field_gui plugin and how I modified it to fit the WordPress write page styles, and I added a few other features to it. I posted on the original author’s plugin page about the changes that I made to his plugin, and at last check he had not responded.

I have now updated it again.

Previously, if you made an element that had a value or default of “Yes” or “No” it would not work, because PHP’s parse_ini_file function will parse those as 1&0, respectively. This is good when you are using this as an actual ini file, but this is a sort of hack, so we need to figure something out.

Now, just enter your yes/no values as ‘yes’ or ‘no’ with the quotes. The parse_ini_file function will ignore them as yes/no and the plugin will strip the quotes out, and use the text.

Note: You can use any capitalization of the letters in the words ‘yes’ or ‘no’, it will take care of any of them.

Other updates:

I standardized where the descriptions show, which is under the field element for which they are defined.

I made the checkbox a loop like the radio elements, so now you enter them exactly the same as radio and select elements.

Compatible with WordPress 2.2.3!!

Custom Fields Plugin for Wordpress

Sphere: Related Content

4 Comments to 'Add custom fields to your wordpress write page'

Subscribe to comments with RSS or TrackBack to 'Add custom fields to your wordpress write page'.

  1. eliot CANADA Windows XP Mozilla Firefox 2.0.0.9 said,

    hey this is great. I too was moding the plugin to show field descriptions. You saved me some time… thanks!

  2. Johnathan UNITED STATES Mac OS X Mozilla Firefox 3.0.5 said,

    thanks for adding the multi-checkbox feature. however, it’s not storing the data when I save the post. any ideas?

  3. admin UNITED STATES Windows XP Mozilla Firefox 3.0.5 said,

    I would say, that you might want to look into loop that handles the checkbox data insertion into the database.

    The only other thing I can think is that the config file is not set up correctly.

  4. Wayne O. UNITED STATES Linux Mozilla Firefox 2.0 said,

    Nice write up…usually I never reply to these thing but this time I will,Thanks for the great info.

:: Trackbacks/Pingbacks ::

No Trackbacks/Pingbacks

Leave a Reply

64330 pages viewed, 54 today
22310 visits, 24 today
FireStats icon Powered by FireStats