WordPress custom fields allow you to assign a variety of metadata to a post. The metadata can be virtually anything- from specifying expiration dates for various post types, and associating external URLs to a post, to adding parameters for link building in Google Analytics. When a custom field has been assigned to a post, you can do interesting things with it to display data on your site- anything that tickles your fancy. Let’s say you run a site that promotes events. You can use it to enter lists of speakers and sponsors for your events posts. Custom Fields are used extensively on WordPress. Once you get used to the plugin, it will be hard to imagine any kind of WordPress development workflow without it. It will save you loads of hours of tedious work. Check out these custom fields that have transformed WordPress from a simple blogging tool to a fully-fledged CMS.
Active Installs: 900,000+ 4.9 out of 5 stars
Do you have a WordPress website that needs flexible data like in Content Management Systems? Advanced Custom Fields (ACF) is a perfect solution. In fact, it’s suited for the developer who’s working with any sort of custom metadata for WordPress posts. It provides you with a way to attach almost any kind of custom field that you can imagine to your post types. ACF enables you to create a complex UI that will be used to enter custom field information with zero code. You can complete what could have taking you hours to code it in just under 5 minutes. ACF uses field groups in order to attach custom fields to posts. The field group allows you to change the order of the custom fields; and it enables you to determine the post types to which you’d like to attach your field editing screen.After you’ve created a field group, you can then enter a variety of custom field types. By default, the plugin comes with over 20 field types. They range from the text box, WYSIWYG editor, checkbox, date picker, image upload and image gallery to the Google Map location and oEmbed object. You get to specify the field label and name. The field name will be used as the meta_key for storing data in the WordPress database. Many of the field types (like URL, number or email) come with in-built data verification that prevents values that are improperly formatted from being accepted into the database.In addition, with ACF, you can polish your post editing screens simply by giving instructions to authors about each field. You can provide conditional logic that specifies when a particular field appears for data entry. You can add placeholder text to the input fields. The number of custom styles that you can apply to a form is really up to you. You can use everything from the CSS class to id attributes as you wish.Through the custom location rules, you can assign your fields to multiple edit pages. The simple and friendly API enables you to easily load data. You can use simple examples like the_field(‘field_name’) or get_field(‘field_name’). Another nice thing about the APIs is that you can specify the sort of values that you want returned. However, the API is most helpful when it comes to using things like the repeater fields. Repeaters allow fields to be entered over and over again on the same post. You can use the ACF API to iterate through the fields when displaying data on your site. It’s just like the WordPress loop. The native WordPress custom post type is used to enhance the ease of use and enable fast processing. This capability is enhanced further by the native WordPress metadata.You can get the ACF through the free download from WordPress.org. This one just contains the basic functionality. Alternatively, you can upgrade to the paid Pro version. This one comes with additional features and more complex field groups like the Gallery Field and Repeater Field. ACF is popular because of its efficiency and ease of use. According to WordPress.org, it currently has over 900k active installations.
Active Installs: 90,000+ 3.9 out of 5 stars
Truth be told, WordPress is great for those times when you want to dynamically manage the content of a website. However, there are times that you need advanced management for various sections of a single page. Wouldn’t it be great if we could manage the separate chunks without having to rely on just one WYSIWYG? Guess what-you now can. The Custom Field Template (CFT) plugin basically extends the functionality of custom fields. It can be used for anything from the Big Screenshot and Build Notes to the Author URL, and more. After you’ve set up the template and used it at least once, you’ll get the hang of it and never forget it. This plugin also adds the default custom fields on the Write Post/Page.Remember the rc:custom_field_gui plugin? They are similar, with a couple of differences. Well, the template format is almost the same. It does have a couple of differences. For one, you can set whichever number of the CFTs you desire, and even switch the templates as you write or edit the posts and pages. You will not find the ini file for the template with this plugin. It has set it in the option page of the plugin. The plugin also comes with support for TinyMCE in the text area. Additionally, it supports multiple fields with the same key, and the hideKey and label options.Let’s say that you have a bilingual website .You can use one of the custom fields to provide the title in the second language. The CFT plugin helps keep everything simple for that. One of the nice things about it is that you can see the full option list in the setting page of the plugin. You can also customize the design of the CFT with css. You can also use labels to replace the custom keys. As a developer, you can utilize the PHP codes for setting values. In fact, with some PHP knowledge you could make great things – like dropdowns with the dynamically loaded content.The CFT enables you to add numerous WYSIWYG managed areas to a single WordPress post or page. You can even use radiobuttons, select boxes and checkboxes to manage the content of a page as you wish. You can also set access user levels in each field. You can automatically insert custom field values into tags. In addition, you can use it to display stuff on the sidebar with short code, and just about anywhere else in a theme.
Active Installs: 20,000+ 5 out of 5 stars
Custom Field Suite (CFS) allows you to attach custom fields to posts types. CFS lets you visually create and manage custom fields. It’s a free and easy-to-use plugin. First, you create a custom field group. Like always, it can contain one or more custom fields. Custom fields can easily be added through the admin UI. The custom fields can be attached to anything from entire post types and specific post items to pages using a specific template.CFS also includes several useful features, like the import, export, and debugging. There are also over 12 field types to choose from, such as the text, date, relationship, user, WYSIWYG, file upload, loop and (repeatable fields). After setting up your field group, you simply configure which edit screens the field group will appear on. For this, you use the “Placement Rules” area.
Active Installs: 10,000+ 4.8 out of 5 stars
This WordPress Custom Fields plugin enables you to add literally any type of fields to your posts and pages. There is one issue with the in-built WordPress Custom Fields-they only support plain text. And that’s why the Simple Fields (SF) plugin was created. By default SF comes with various useful field types that include the WYSIWYG-editor and text area, color picker and date pickers, file/media browser, radio buttons, checkboxes and dropdowns. But of course, this is not always enough. Hence, with SF, you can download additional field types or write your own. In fact, for whatever kind of data you need to store, there’s always way to make SF handle it. And when you create your own field types, you can share your plugin with the rest of the SF community.It’s not necessary to reinvent the wheel. You don’t have to learn the inner workings of WordPress in order to use it. You want to go for the first and best plugin that will do the trick. That’s where SF comes in. It gives you more versatility. You don’t have to limit yourself to a single text field or image. For instance, you can use the repeatable field groups to add more fields to a post. In case you want to change the order in which they appear, simple drag and drop. To get the value of a field you’re only required to use one simple function. The same applies when getting the values of several fields – you only need one function. And this plugin works with all post types. You can actually use different field groups for same post type, or even on a post to post basis.As SF is endlessly being extended, it enables developers to find it easier to make websites. Unit testing is done to minimize risk of errors. This testing is done on the functionality of SF. Test cases exist for virtually all the functions which involve getting field values from your posts. This minimizes the risk of any breaks on a site after an upgrade. In addition, Simple Fields is free and open source.