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 From Bootstrap to WordPress Create Bootstrap Styled Theme Templates Creating a static front page

Dharmesh Sheth
Dharmesh Sheth
2,547 Points

Making text dynamic

I got these codes which i want to add to my home page. I want to make this dynamic so I can control it on my wordpress site. What method do i use?

<div class="row featurette"> <div class="col-md-7"> <h2 class="featurette-heading">First featurette heading. <span class="text-muted">It'll blow your mind.</span></h2> <p class="lead">Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.</p> </div> <div class="col-md-5"> <img class="featurette-image img-responsive" data-src="holder.js/500x500/auto" alt="500x500" src="<?php echo $thumbnail_url[0]; ?>" alt="<?php the_title() ?> graphic" data-holder-rendered="true"> </div> </div>

1 Answer

ryan95
ryan95
8,964 Points

You would use a custom post type. Gordon has a tutorial where he uses a portfolio as an example, if I'm not mistaken.