Key Takeaways
- WordPress custom fields store extra information, such as a movie rating, as post name-value pairs.
- WordPress includes a basic custom fields panel, while plugins such as Advanced Custom Fields provide structured inputs and rules for editors.
- Divi dynamic content can display a saved field in a template; compatible SEO tools can also use field values in metadata or structured data.
- Custom fields add details to content. A custom post type provides a separate kind of entry 9separate from posts/pages), and a taxonomy groups entries by shared terms.
A movie review has a few details readers may want at a glance. The rating might sit next to the title, and the release year might appear below it. You can type those details into every review, or give each one a field in WordPress and let the layout place it for you.
A custom field stores an extra piece of information about a post. Once the rating has a home of its own, the review page and its card can display the same score, and a numeric query can use it to sort reviews.
What Are WordPress Custom Fields?
WordPress custom fields store extra information about posts and pages as post metadata. Each field has a name that identifies it and a value for an individual post. In our example, the name is review_rating: one review stores 8, while another stores 6. Both can use the same layout.

A review site gives you a few places to put information. The choice depends on what you want to do with it.
- Post content. Write the review itself in the editor, where you can organize the argument in paragraphs and blocks.
- Custom field. Store the review’s rating or release year as a value you can display in the same place across reviews.
- Taxonomy. Use a genre term such as Science Fiction when you want readers to browse reviews that share it. See the WordPress taxonomy guide.
- Post type. Give Movie Reviews their own post type when the site needs a dedicated kind of entry alongside its regular blog posts. See how to create a custom post type.
Fields can also store information for editors. A reviewer could record the date they last checked a streaming link and leave that date out of the page layout.
How To Add A Custom Field With Advanced Custom Fields
A custom field plugin gives editors a consistent input and lets you choose where it appears. With Advanced Custom Fields (ACF), you can put the movie rating in a field group and set rules for the value and location.
- Install and activate Advanced Custom Fields.
- Go to ACF > Field Groups and add a group named Movie Review Details.
- Add a Number field labeled Review Rating with review_rating as its name, and set the minimum to 0, the maximum to 10, and the step to 1.
- Under location rules, show the group when Post Type is equal to Post, then save it.
- Open a movie review, enter 8 in Review Rating, and save the post. Reopen it to check the value.
You can add more fields to the group as the site grows. A streaming provider is one example; use conditional logic to show it only when the editor marks a movie as available.
Other Ways To Add Custom Fields
ACF is one way to create fields, but WordPress and other plugins offer their own approaches. The right choice depends on the fields you need and how you want editors to enter them.
WordPress’s Built-In Custom Fields
The built-in Custom fields panel lets you save a name and value on a post. Use it to add a rating to one review before deciding whether your site needs a dedicated form for editors.
- Open a review post in the block editor and save your work.
- Open the three-dot menu, choose Preferences, and open General. In the Advanced section, turn on Custom fields and reload the editor when prompted.
- In the Custom Fields panel below the content, choose Enter new and enter review_rating for the name and 8 for the value. Click Add Custom Field, then save or update the post.
When you reopen the review, the panel shows the field name and its saved value. The layout still needs a place to display it. See the WordPress Custom Fields documentation for the editor steps.

Secure Custom Fields
Secure Custom Fields (SCF) also uses field groups. Create a group, add a Number field labeled Review Rating, and give it the name review_rating. Set the range to 0–10 with a step of 1, and use the location rule to show it on posts. Save the group, then enter a rating on a review.
Try entering 11 to see the range check before saving. The SCF field group guide covers field types and location rules.

Pods
Pods starts with the content type. In Pods Admin, choose Extend Existing and select Posts, then add fields to that configuration. Below, we add a Plain Number field for the movie’s release year alongside the rating. If the site needs a dedicated Movie Review post type, Pods can create it and manage the fields that belong to it from the same admin area.
Meta Box Lite
Meta Box Lite combines a visual field builder with the free Meta Box tools. You can use it to build fields for posts and other content without writing the registration code yourself. Here, we set up a Number field for the review rating with a 0–10 range.

ACPT Lite
ACPT Lite also has a visual field group builder. Its free field types include text, textarea, email, select, and date. The example below uses a Text field for the movie’s director. For this rating, a Number field gives editors a more suitable input; ACPT lists its broader field types and dedicated Divi integration with Pro.

Use the built-in panel for a simple value on an occasional post. If several reviewers enter scores, a typed field gives them all the same input.
Many plugins reserve some advanced field types for a paid version. For example, ACF PRO includes Repeater, Flexible Content, and Gallery fields. These can organize repeatable sets of details, flexible content layouts, or collections of images for use across a site. Depending on the plugin and field type, you can also set validation rules, such as required values or limits. Free versions differ: Pods, for example, includes repeatable fields and relationships.
How To Display Custom Fields On Your Site
Saving the rating is only the first step: a template or layout must also place it on the page. If the score belongs next to the review title, for example, put the label and scale in the layout so each editor only has to enter the number.
Developers can retrieve post metadata with WordPress’s get_post_meta() function and use it in a template, a custom shortcode, or a block. ACF Blocks, available in ACF PRO, offer another way to build custom blocks with PHP and field data.
Ask AI To Create A Simple Field
WordPress’s custom field system can also support an AI coding tool. Describe the result you want in the editor and on the page: “Add a movie rating from 0 to 10 to my review editor, and display it beside the review title.” With the appropriate access and tools, Claude or ChatGPT can create the input and connect the saved value to the page. The steps depend on your setup, so test the result on a staging site with a normal score, a zero, and an empty value.
An AI assistant can also draft PHP for review in a code manager such as FluentSnippets. The inactive draft below registers a separate rating meta key with WordPress; the editor input, 0–10 validation, and frontend display would each need their own implementation and testing.

For a larger content model, a custom field plugin can manage the details. Field groups, repeaters, validation, and conditional fields give editors a consistent interface while keeping the rules in one place. AI can be exceptionally useful alongside a plugin like ACF: with the right access, Claude or ChatGPT can help design field groups, configure supported settings, and populate the model. Review the setup and test the results before relying on them.
Use Dynamic Content In Divi 5
In a post template built with the Divi Theme Builder, open Dynamic Content on a Text module and choose Custom Field. Select Enter Custom Meta Key and enter review_rating as the field name. To format the result, add Review rating: before the value and / 10 after it. Save the template, then preview a review.
Our template displayed Review rating: 8 / 10 on one review and 6 / 10 on another; a score of zero appeared as well. An empty field behaved differently: Divi still displayed the surrounding label and scale. If some reviews have no rating, account for that in the layout or make the rating required before publishing.

Use Custom Fields In SEO
The rating can serve more than the visible review. Some SEO tools can pull a field value into search metadata or structured data, giving the same information another use. Yoast SEO, for example, supports custom field variables for simple values in snippet templates. A schema tool can map fields too, provided it supports the field and schema type.
In our local example, we added %%cf_review_rating%% to a Yoast meta description; both the preview and the page’s generated description showed the saved value, 8. This connects a simple field to search metadata, but it does not create review schema by itself.

To use the score in review schema, you would need a separate mapping from the field to the schema’s rating value. Check your plugin’s documentation, then review the resulting structured data on the published page. Making a field available for SEO analysis is a separate step from inserting its value into metadata or schema.
Set Up Your First Custom Field
Choose a detail that readers look for in more than one post. Give it a field, add values to two posts, and decide where it belongs in the layout. For a site that uses ACF, start with the ACF field group guide. If your fields are already set up and you’re designing in Divi, start with the Dynamic Content guide.

I second Pats comments. Divi seems to be the only page builder that doesn’t allow us to display the custom fields on the search or listings page. I am using this to create custom post types for events and require the event date and time to display on the main post search page. With Divi this is not possible. is this in the pipeline to fix??
Great help!
However it seems we can’t customize a lot blog module in divi to show or sort by custom fields… too bad.