Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress How to Make a Website with WordPress Custom Post Types and Fields in WordPress Setting Up Custom Post Types and Fields

Marco Barrera
Marco Barrera
5,926 Points

Why does not appear my custom fields?

I installed the two plugins and follow all the directions on the video, But when I'm pre-viewing my Custom Post Type it does not show any custom field. It's kind of weird because it's still displaying default fields at the top. Please I need your help. Thank you.

http://imgur.com/a/Xm0CA

<blockquote class="imgur-embed-pub" lang="en" data-id="a/Xm0CA"><a href="//imgur.com/a/Xm0CA">View post on imgur.com</a></blockquote><script async src="//s.imgur.com/min/embed.js" charset="utf-8"></script>

Sorry, I'm spanish native speaker. If you don't understand something in the images, please feel free to contact me.

1 Answer

Hi Marco,

You'll need to check the rules are set within your field group (using the Advanced Custom Fields plugin):

  • Click on Custom Fields in the left navigation.
  • Click Edit against the relevant custom fields.
  • Scroll down below the custom field list to the Location box.
  • Ensure the Post Type is equal to art (or the name of your custom post type).
  • Click Update in the top right.

Does that help?

-Rich

Marco Barrera
Marco Barrera
5,926 Points

Unfortunately it does not. I follow this step in the past. Even if I change the posttype to a standard page, it doesn't work as well.

http://imgur.com/p62uA61

Thank you.

Can you confirm the name of your Custom Post Type and the settings you have in the Location box please?

Thanks

-Rich