Blog Statistics
The Dashboard displays information about the number of posts, comments, and categories in your blog (
Figure 8
). You may want to share this information with your
Figure 8. The Dashboard displays basic blog stats.
To include blog statistics in the footer
|
|
|
|
|
|
1. |
Use graphics editing software create an image that is either 16 or 32 pixels on each side in either 8-bit or 24-bit
Figure 12. Here's a 32x32 image based on our book's cover, all ready to be converted into a favicon.ico file.
|
|
2. |
Save the image file in Windows icon (ico) format with the
|
Tip
|
|
|
|
1. |
Upload the
favicon.ico
file to the theme folder for your sitefor example:
|
|
2. |
Open the
header.php
file for your theme with a text editor.
|
|
3. |
Add these lines within the head portion of the file (
Figure 13
):
<link rel="shortcut icon"
href="<?php bloginfo('template_
directory'); ?>/favicon.ico" />
Figure 13. Insert the code within the head tags in the header.php file.
|
|
4. |
Save your changes.
|
|
5. |
View your blog to see the new favicon (
Figure 14
).
Figure 14. The new favicon appears in the address bar.
|
Tips
|
|
|