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

Linards Berzins
PLUS
Linards Berzins
Courses Plus Student 13,480 Points

Custom Content

Hi, I want to add custom content to the wordpress page, but im not sure whether I should use plugins for that, or just simply paste my HTML in the TEXT field of the content window, or with the shortcode? I need to have 3 divs in on the page, which are a part of the css grid Im using.

Any ideas?

Many thanks

1 Answer

Kevin Korte
Kevin Korte
28,148 Points

Depends, personally, I would get tired of typing html into the txt box. If it's a post type that is repeating content type, you can use the custom post type ui to set up your custom post type, and than use the advance custom fields plugin to set up whatever type of fields you need for this custom post, than just code you template up as you need it.

Linards Berzins
Linards Berzins
Courses Plus Student 13,480 Points

Thanks Kevin, was not sure if im capable to do that, just have to do it on the learning. Cheers

Kevin Korte
Kevin Korte
28,148 Points

You're welcome. Confusing at first, yes. But it's not bad when you get it down. If you have the time, I'd highly recommend you watch the building a theme videos here. Zac walks you right through doing this, and adding any custom content you need.

http://teamtreehouse.com/library/websites/how-to-build-a-wordpress-theme