Welcome to the Treehouse Community
Looking to learn something new?
Dominic Ho8,256 Points
Why does my wp_title() also displays the name of the site?
For some reason the wp_title() alone already displays the name of the site, and when I add in the bloginfo('name') line, the name of the site duplicates.
Does this means I don't actually need the bloginfo('name') line, or am I doing something wrong here...? I have all the required plugins installed but nothing more.
hey there, wp_title() will pull the title of the page or post specifically set in the post/page editing area, and bloginfo('name') shows the website's title set in your admin under General. They are two different and separate elements in the database.
hope that helps!