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 Theme Development The WordPress Loop The WordPress Loop Quiz

I need help with 3 fill in the blank type questions from the Word Press theme development Loop quiz

  1. To echo out the link to a post or page within a loop, you would use the ______________ () function.
  2. Complete the code for the shorthand Loop below: <?php if (_______________ ): ______________ (have_post() ): _________;?>

  3. The ________________() function will display the title of a blog post or page within the loop.

2 Answers

Hi Etna, Here are the solutions to the quiz which were reference throughout the two videos. Hope it helps!

  1. the_permalink
  2. <?php if( have_posts() ): while ( have_posts() ) : the_post() ; ?>
  3. the_title

2 didn't work for me...I'm a little confused about this one. It feels like filling in a blank analogy form.