Monthly Archive for August, 2009

26 Aug 2009

Returns the URL of Author Archive Page OR Website

Returns the URL of Author Archive page OR Author website (if the Website field is set in the user’s profile) of the current post. Add the following lines to your WordPress Theme’s template functions.php file (For example, functions.php file for a Theme named “default” would probably reside in the directory wp-content/themes/default/functions.php) or create it as [...]

11 Aug 2009

Overwrite Comment Allowed Tags

WordPress, by default only allows <a> tag with href and title attribute; <abbr> and <acronym> tags with title attribute; <blockquote> and <q> tags with cite attribute; <b>, <cite>, <code>, <del>, <em>, <i>, <strike> and <strong> tags to be used in comment. The example below will overwrite the default and only allows <a> tag with href [...]