Helpful Hints Find the best solution!

21May/100

Adding Favorites icon for your website

If you want to customize your visitors' experience, when visiting your website you would probably want to draw an icon. If so add this line inside <head></head> tags on every page of your website.

Add this line between head tags:
<link rel="shortcut icon" href="http://yoursite.com/favicon.ico" type="image/x-icon" />

For drawing a favicon i would probably recommend this site: Favicon.cc. Or use Adobe Photoshop.

20Apr/100

Specifying a subject and a body of the message in e-mail link

Very simple solution, which is very useful and saves your website visitors time when writing you a letter.

<a href="mailto:email@gmail.com?subject=Hello Web master&body=Howdy master">email@gmail.com</a>

Result — email@gmail.com

If you want to add another line in body, add another &body=text in the end!

11Jan/100

Showing certain number of items in archive category in WordPress

Probably many of you faced a lot of items in archive showing on first page and all other pages in wordpress.

To fix that go to you theme editor in wordpress, find sidebar.php, or left_sidebar.php/right_sidebar.php (depending on the theme you are using). Find something like that:
<?php wp_get_archives('type=monthly'); ?>

Replace with:
<?php wp_get_archives('type=monthly&limit=5'); ?>

Where 5 is the number of items to be displayed.

Tagged as: No Comments