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 trialHashim Warren
Front End Web Development Techdegree Student 1,207 Pointswidgets vs custom fields
How do I know when I should create a new widget area vs a custom field?
If I want to add a bar of content at the top of my site, do I create a new widget area, or create a new custom field?
1 Answer
Ashley Rich
6,522 PointsGenerally you use custom fields when working with post types. Custom fields allow you to attach additional meta data to posts, pages or custom post types. In your case, you would use a widget, assuming you want the content bar to be global and not show data specific to a post type.