Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Fix Custom Fields Not Showing in WordPress (Easy Guide)

Custom fields let you add extra details to your WordPress posts and pages. They open up new possibilities, allowing you to store and display additional information without needing complex plugins.

Many WordPress users, especially those exploring customizations, wonder why they can’t find the ‘Custom Fields’ option in their admin area. The solution is actually quite simple.

WordPress hides the custom fields option by default, but you can bring it back with just a few clicks. No coding or technical skills are required.

In this guide, we’ll show you step-by-step how to make custom fields visible again, so you can start using them right away.

Fixing custom fields not showing in WordPress issue

Fixing Custom Fields Not Showing in WordPress

Custom fields let you add extra details to WordPress posts and pages. Think of them like hidden notes that store important information behind the scenes. They’re often used for special settings, extra metadata, or even custom layouts.

If you’ve been following WordPress tutorials, you may have seen mentions of custom fields. But when you go to your site, they’re nowhere to be found. That can be confusing, especially if you just started using WordPress.

Custom fields used to be right there on the post-edit screen. But now, WordPress hides them by default for new users.

The good news? You don’t need any coding or technical tricks to bring them back. WordPress has a built-in way to turn them on with just a few clicks.

First, open any post or page in the editor. Then, click the three-dot menu in the top right corner.

Block editor preferences

Scroll down and click ‘Preferences.’ This opens a settings panel for the editor.

Now, switch to the ‘Panels’ tab. Here, you’ll find a toggle for ‘Custom Fields.’ Turn it on.

Show custom fields

Note: If you don’t see this option, don’t worry. We cover troubleshooting steps below.

Once you enable custom fields, WordPress will ask you to reload the page. Click ‘Enable & Reload.’

After the page refreshes, scroll to the bottom of the editor. You’ll see the ‘Custom Fields’ box waiting for you.

Custom Fields meta box now visible

The best part? WordPress remembers this setting. The custom fields box will stay visible every time you edit a post or page.

Now, you can start adding, editing, and managing custom fields with ease.

What Are Custom Fields? What Can You Do With Them?

When you create a post or page in WordPress, your content is saved in two parts. The first part is what you write inside the editor—your text, images, and other elements.

The second part is the extra details about your post, like the title, author, and date. This background information is called metadata.

Along with standard post metadata, WordPress lets you add custom metadata using custom fields. Think of them like sticky notes that hold extra details about your content.

If you’re curious about what you can do with them, check out our beginner’s guide to WordPress custom fields. It’s packed with examples, tips, and ideas.

We use custom fields in different areas of WPBeginner. For example, you can see them in action in our WordPress solution center, where we use them to store additional data about each product review.

How WPBeginner uses custom fields in their WordPress Solutions Center

Custom fields are also widely used by many top WordPress plugins. This allows plugins to store meta data using the existing WordPress database structure instead of creating their own database tables.

For example, the All in One SEO plugin stores your SEO settings for individual posts using custom fields.

AIOSEO custom fields

You’ll also notice that instead of using the default custom fields box, many plugins create custom meta boxes. These provide a cleaner way for users to enter information.

Want to build your own custom meta box? Check out our step-by-step guide on adding custom meta boxes in WordPress.

Troubleshooting Custom Fields in WordPress

Recently, one of our readers encountered a problem where the Custom Fields option was missing from the block editor preferences. After some investigation, we found the cause of the issue.

If your WordPress site does not have the Custom Fields option under the ‘Preferences’ menu, you need to check whether you have the Advanced Custom Fields (ACF) plugin installed and activated.

ACF is a popular WordPress plugin that developers use to create custom meta boxes.

ACF version 5.5.13 added a setting to remove the default WordPress custom field meta box. This speeds up the load times on the post-editing page. The idea is that you shouldn’t need the default meta box since you are using ACF.

However, if you want to enable the default WordPress custom field meta box, then you need to add the following code to your WordPress theme using the functions.php file or WPCode:

add_filter('acf/settings/remove_wp_meta_box', '__return_false');

For more details, please see our guide on how to easily add custom code in WordPress.

Need Help Fixing a Custom Fields issue?

Take a look at our Premium WordPress support service. For a small fee, our expert WordPress engineers will fix the problem for you.

✅ Available on-demand 24/7
✅ One-time transparent fee
✅ Quick turn-around

Bonus Tips on Using Custom Fields in WordPress

Using custom fields may sound a bit complicated and advanced. However, with a little help even beginner users use them easily.

Following are some additional resources that you can use to explore creative ways of using custom fields on your WordPress website.

We hope this article helped you locate the missing custom fields option on your WordPress site. You may also want to see our guide on fixing common WordPress errors or learn how to set up error logs in WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

46 CommentsLeave a Reply

  1. Graeme Coles-Andrew

    Likewise my ACF-configured custom fields had disappeared, however the above troubleshooting method involving functions.php was unsatisfactory. It failed to restore all the fields I’d created, such as lists of options, and anyway I wanted ACF to work properly.

    On the ACF forum, user optryc posted a solution which I’ll expand on: in short, refresh the ACF location rule which determines where the custom fields are shown.

    Go to ACF / Field Groups and Edit the field group that’s missing. On the edit page, under Settings / Location Rules change the rule for ‘show this field group if’ by selecting a different post type. Save Changes, then put it back to the original post type and Save Changes again.

    In my case the full rule was “Show this field group if post type is equal to XYZ.”

    The full ACF field are now shown as normal on my ‘XYZ post-type’ edit screen. This solution seems to reset the association of an ACF field group with a custom post type. Hope it helps some people. Tx again to optryc.

  2. Amirhosein Taheri

    The troubleshooting part was useful. TNX

    • WPBeginner Support

      You’re welcome, glad our guide was helpful :)

      Admin

  3. Ralph

    If this is in additional section is it really worth it to put information there? Does this benefit SEO in any important way? Or is it more for us? I don’t really understand the benefit here.

    • WPBeginner Support

      It would depend on what custom fields weren’t showing for you. Sometimes the section for a plugin would disappear and following this guide would have the section reappear for you.

      Admin

  4. Keith Stanfield

    Custom fields are not showing under product data with this plugin, I added the function code and enable the custom fields checkbox but nothing shows up.

    • WPBeginner Support

      If you are using the block editor, we would recommend checking under preferences to ensure the custom fields are not hidden based on those settings. :)

      Admin

  5. GD

    You saved my life! Thought it was a bug, but just had to modify screen options

    • WPBeginner Support

      Glad our guide was helpful!

      Admin

  6. Dalia Sued

    Custom fields disappear from WordPress 6.1, since the new WordPress update, all plugins that have custom fields have disappeared from all posts type, including posts and pages.

    • WPBeginner Support

      Custom fields are still available, you may have them disabled in your editor. If you go to the top-right and click the three dots, then go to preferences you should find the option to enable custom fields.

      Admin

  7. Litbea

    Great!! Thanks for the function, it was ACF indeed in my case…

    • WPBeginner Support

      Glad our guide could help :)

      Admin

  8. Diego

    Thank you very much!
    This article solve my problem!

    Reguards!

    • WPBeginner Support

      Glad our article could solve your problem :)

      Admin

  9. will

    i have ACFs that dont display on my home page. i know the ACF pro plug in needs to be updated. Would this result in why my fields aren’t displaying on my homepage?

    • WPBeginner Support

      That could be part of the issue. If you reach out to the plugin’s support they should be able to assist.

      Admin

  10. Alfredo

    Hi!
    great article. I’m becoming crazy. Found The Solutions!:)
    Thanks.

    • WPBeginner Support

      Glad our article was helpful :)

      Admin

  11. Ushir Shah

    Thank you! Adding the filter to the functions file because of ACF was my issue, what a great help!

    • WPBeginner Support

      Glad our recommendation could help :)

      Admin

  12. Cedric Shaw

    So we have ACF running and have the “fix” in our functions.php file. The issue we are having is that the drop down field is only showing 148 entries and not displaying all of the custom fields. Is there something that is preventing them from not displaying all of the custom fields?

    • WPBeginner Support

      For that, you would want to reach out to ACF’s support to see possible reasons for this issue.

      Admin

  13. Poul

    I spend a couple hours to solve this problem (find out why i don’t see that option in “Screen Options” menu).

    Thanks! :)

    • WPBeginner Support

      Glad our guide could help :)

      Admin

  14. Luke

    Hello,

    Thanks for your tip.
    I’ve installed ACF, however still don’t see custom field checkbox.
    When I tried to paste the code I got following error message: syntax error, unexpected ‘add_filter’ (T_STRING)
    Could you please advise?

    Many Thanks!

    • WPBeginner Support

      If you reach out to ACF they may have a more recent workaround that you can use

      Admin

  15. SK

    Hi. I have re-instated the custom fields. I can add new, but original fields are not showing in the back end (still displayed on website) so I cannot edit my content. Any ideas? Thanks

  16. Ali Rashidy

    Thanks a lot! you saved me!

    • WPBeginner Support

      You’re welcome, glad our guide could help :)

      Admin

  17. Matthew Warner

    Thank you!

    • WPBeginner Support

      You’re welcome :)

      Admin

  18. Serge

    Super. We were looking for the setting that was hiding the custom fields. We knew it was a setting but could find where. Thanks also for the bit of code, could come handy eventually.
    merci,
    Serge.

    • WPBeginner Support

      Glad our article could help :)

      Admin

  19. Dave Combs

    Sadly, the add_filter code for the functions.php file did not work, so I’m off to find to try to solve the problem.

    • WPBeginner Support

      Thank you for letting us know, we’ll certainly keep an eye out for other solutions to recommend.

      Admin

  20. David

    I lost a day of work trying to figure out why my custom metabox wasn’t showing. Then I checked the source code and it was there with the ‘hide’ class suffix. Thanks a lot ACF :(

    Thank you for the fix :)

    • WPBeginner Support

      Thanks for sharing your solution, glad our article could help :)

      Admin

  21. Robbie

    Just wanted to say thanks for the add_filter() trick in the troubleshooting section. A new client needed me to fix something on a site I’d never seen and this was what I finally needed.

  22. Eric

    Thank you so much ! It is not really good for ACF to have hidden these custom fields.

  23. Kash

    Thank you!
    ACF should add this as an options in the settings! Not cool!

  24. ALU

    thanks for the code. stupid change in ACF…

  25. Pace

    Thank you! Such a silly change ACF!

  26. Kai Dickas

    Hi,

    thanks for the code. That´s what i´m looking for for hours. It helped me a lot.

  27. Julia Moss

    Thank you so much – this problem has been driving me mad! Your code for the functions file worked.

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.