Archives for February, 2011
This tutorial will help you to include google adsense custom search into your wordpress blog.
It's a little complicated The idea of this tutorial is display google custom search results as a page of your blog. This will improve your revenue and blog's usability. I recomend you to do a full blog and db backup.
Wordpress includes 2 file for search: search.php and searchresults.php. In most cases you can integrate Google custom search by editing of these two files, in other cases you must create a custom template for search results.
This is another great way to protect your wordpress "wp-content" folders. No code needed, just an Ftp client.
This code allow you to display a login form wherever in your template
If you see your blog's address like "example.com" and not like "www.example.com" and you want to fix this, you need to edit 2 fields, no more, no .htacces modification no more drama:
Using this code you can disable access to your wp-content/plugins folder, so nobody will be able to access to this folder.
Apply this code to your .htaccess file via ftp and remember do a full backup before
Using this code you can display the number of fans of your Facebook Pages. You need to specify the Page Id. You can put this code wherever you want in your template file.