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

wordpress 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

Hi 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.

thx michael nice tips

Lucas del Río
Lucas del Río
8,768 Points

Widgets 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.

thx lucas do you have skype name?