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 trialSimon Tucker
9,113 PointsHow 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
Rich Bagley
25,869 PointsHi 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
9,113 PointsSimon Tucker
9,113 PointsI get it now, url = home page.
thanks for that. ;-)
Rich Bagley
25,869 PointsRich Bagley
25,869 PointsNo problem :)