Hi

Can you explain this php code in wordpress.
It exists in the home page and all sub pages.
I want a title to appear in both type of page.

What does line 2 and line 3 mean?

1 <title>
2 <?php wp_title(' '); ?>
3 <?php if(wp_title(' ', false)) { echo ' | '; } ?>
4 <?php bloginfo('description'); ?>
5 </title>

Thanks
Arthur

    The first php line displays the title. The second echos a pipe, presumably if the title isn't an empty string. The third displays a bunch of information about the blog.

    wp_titile() here
    bloginfo() here
    (Found with Google)

      Write a Reply...