Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Priscilla Kam
1,086 Pointswordpress issues
hi everybody, may i ask when should i use widget in theme development? what should i choose to use (pages or widget)if i want to make custom content? thank you .
4 Answers

Michael Aliorde
3,985 PointsHi Prescilla,
if it's going to be a content relative to a page or post. then use custom fields with custom pages. if it's something that you'd put on a sidebar area. like ads, links, navigation, etc. then you can use widgets with those.

Priscilla Kam
1,086 Pointsthx michael nice tips

Lucas del Río
8,768 PointsWidgets are also used as a way to create complete sites, with widgets you could add lots of functionality to a home page for instance, something like a Twitter widget, or may be some special information, testimonials, advertisement, etc.

Priscilla Kam
1,086 Pointsthx lucas do you have skype name?