Currently my blog theme is itheme from N.Design Studio. You can download it at this link: http://www.ndesign-studio.com/wp-themes/itheme.
If you try to install it yourself, you will notice something is missing. Exactly, the calendar icon is missing, and the date is not showing. Being a lazy programmer, it was ok for me at first. But after a while it bothered me so much that, I was so determined to fix it. It took me a while, but it’s worth it! 😉
Just so you don’t have to go through all the trouble, here are the steps:
- Download http://www.ndesign-studio.com/demo/wordpress/wp-content/themes/itheme-1-1/style.css
- Download http://www.ndesign-studio.com/demo/wordpress/wp-content/themes/itheme-1-1/print.css
- Download http://www.ndesign-studio.com/demo/wordpress/wp-content/themes/itheme-1-1/images/calendar.gif
- Save the two css files in your itheme folder, then save the gif file in your itheme/images/ folder.
- Now we will modify the single.php file. Open it up with vi or whatever you like
- Jump to line 9, in-between the div line and the h2 line, stick in these two lines:
- Now jump to your new line 14, between postdata and entry, stick in the following line:
- Now jump to your new line 14, between postdata and entry, stick in the following line:
- Save single.php. That is for the individual posts. Now do the same thing to index.php for the front page.
- Then you are done. Reload your website and see the nice calendar icon! 😉
To double check, your final code in single.php should look like the following:
<div class="post" id="post-"><a href="" rel="bookmark" title="Permanent Link: ">
Filed in: Add comments<?php the_content('Continue reading »
'); ?> <?php link_pages('Pages: ', '
', 'number'); ?>Sorry, no posts matched your criteria.