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 Building Out WordPress Navigation Coding A Basic Navigation in WordPress

Simon Tucker
Simon Tucker
9,113 Points

How is the portfolio button linked to the home? bit confused why it directs to bloginfo

A little confused on how the portfolio button is linked to the main home page as the current link heads towards <?php bloginfo('url'); ?>

where is blog info located??

1 Answer

Hi Simon,

bloginfo will get various aspects defined in the general settings and allow you to write them out such as:

<a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a>

In this case the URL is the home page link.

The info from the Codex here should explain a little clearer.

Hope that helps :)

-Rich

Simon Tucker
Simon Tucker
9,113 Points

I get it now, url = home page.

thanks for that. ;-)

No problem :)