What's WP
Our everything is about WordPress - best choice of WordPress users!
How to Create WordPress Custom Fields?

How to Create WordPress Custom Fields?

By default, WordPress allows users to add custom fields to a page or post, which is known as metadata. With this function, people can make their websites more personal and their articles more specific. In short, custom fields can be regarded as a supplement of an article and users can add everything they prefer on it, such as author name, advanced links, subtitles, titles, and many more.

Without any doubt, custom fields are stunning features that can leave deep impressions on visitors about what is a post talking about. However, for many beginners who run a website for the first time, they may feel confused about the process of adding custom fields. Under the circumstance, our editors write the tutorial to explain how to create WordPress custom fields to extend website functionality.

Adding Custom Fields

As we have mentioned before, WordPress offers custom fields by default; therefore, you just need to find it. Firstly, log into your WordPress admin panel and choose to add a new post; and then click on screen options on the top right. After this, you can see a lot of options under Show on Screen. Make sure the Custom Fields box is checked.

Screen Option

Later, renew the web page and you can see Custom Fields at the bottom of the web page. Then, you can see two options – Name and Value. The latter is the explanation of the former. For example, you write down Author Name in Name; then, you need to fill in the author name of the post in Value. Note that you need to choose Enter New if you are adding custom fields for the first time. Then, if you intend to add author name in the future, just click on Select and you can see the choice. After this, just click on Add Custom Field.

Add Custom Fields

Now, custom fields are added successfully. All the embedded items will display in your post content if you have a pre-defined area within WordPress theme. However, if you haven’t created a section to display the custom fields, then, you need to create one either by using codes or using plugins.

Implementing Plugins to Add Custom Fields

As plugin utilization can be help you handle the process for custom field adding, in the following, our editors carefully choose some reputable and rich-featured custom fields plugin for WordPress to help you add custom functionality. Remember that all the chosen ones are rich-featured and easy-to-use, which can help to build amazing websites.

Advanced Custom Fields

http://www.advancedcustomfields.com/

Advanced Custom Fields is the ideal solution for all WordPress websites that need more free data management. The plugin is extremely easy-to-use and processing fast by applying local WordPress metadata. Besides, it allows users to create fields visually to ensure what you see is what you get. There are dozens of input types for you to choose including repeater, flexible content, gallery, data picker, relationship, and so on so forth.

Advanced Custom Fields

Custom Field Template

https://wordpress.org/plugins/custom-field-template/

One of the best plugins ever to extend WordPress custom fields functionality, which supports for media buttons, TinyMCE and multiple fields in textarea to help users add content quickly. Besides, users can create the amount of custom field template as many as they want and switch them when they are writing or editing a post or page.

Apart from those mentioned features, many developers love it because it is convenient and customizable. The plugin permits users to preview the option list in the setting page and change the custom field design with CSS. Of course, there are many other things the plugin can do such as displaying custom field template with shortcodes, adding value table, blank option, sort option, and many more. The best part is that there are examples about how to add those functions easily.

Custom Field Template

WCK Custom Fields Creator

http://www.cozmoslabs.com/wck-custom-fields-custom-post-types-plugin/

WCK can create both custom fields and post types, using an UI to setup custom meta boxes that come with custom fields for your stunning website. The plugin takes user experience seriously and supports drag and drop to classify repeater fields easily. Moreover, it comes with many remarkable features like data handled with Ajax, image uploaded through Media Uploader in WordPress , target certain page template, and so on so forth.

WCK Custom Fields Creator

Advanced Custom Fields Migration Cleanup

https://wordpress.org/plugins/advanced-custom-fields-migrator/

After adding thousands of custom fields automatically, one day, you may notice that your page loading speed becomes slow and intend to remove those unnecessary fields. Under this condition, Advanced Custom Fields Migration Cleanup is your best choice. It can change ACF value migration from automatically loading yes to no.

Advanced Custom Fields Migration Cleanup

Custom Field Revisions

https://wordpress.org/plugins/custom-field-revisions/

Custom Field Revisions targets to make sure revising and previewing custom fields normally when they are not kept to the original post. After downloading the plugin, users can show their fields on the revision screen containing excerpt, content, and title. Besides, there are many options allowing you to decide which fields are to save in the revisions.

Custom Field Revisions

Get Custom Field Values

http://coffee2code.com/wp-plugins/get-custom-field-values/

The plugin helps webmasters enhance the function of custom fields, which comes with a post edit sidebar to help users build shortcodes. In this way, people can save a lot of labor when customizing their custom fields. Besides, there are six template tags using to display and retrieve fields.

Get Custom Field Values

Simple Custom Post Type

https://wordpress.org/plugins/simple-content-construction-kit/

Simple Custom Post Type helps webmasters create amazing custom fields easily. It not only supports for basic and commonly used fields, but also some advanced fields like user reference, taxonomy, post reference, etc. It also offers drag and drop tool to manage metaboxes, fields, and content type. What’s more, the plugin sets many features to boost SEO, including meta description, meta keywords, meta title, and alt tag for photos.

Simple Custom Post Type

Using Codes to Add Custom Fields

If you consider plugins may take up some server resources, then, we recommend you to add custom fields with codes. However, knowing some HTML knowledge is the premise to apply this method.

For example, you want to display a line – “the post was written by Sharon” below the post content. Then, you need to fill in Author-Name for Name and Sharon for Value. After this, put the following codes into your theme’s file. Then, preview the post and you can see the author name is added at the end of the post.

Add Custom Fields with Codes

Author

Lucy has been a very experienced SEOer, technical writer, web developer, c# developer since 2002. Now she owns a startup in San Francisco, CA, focusing on running a couple of blogs to share knowledge and experience with global readers and deliver exceptional results to global sponsors by leveraging the power of Internet.

Close

Want to Learn More About WordPress?

Get Our Free Themes, Plugins, Support, SEO Tips, and Other Tutorials!

Email *