revood

Month: June 2011

Adding visual editor to WordPress comments box

Read part 2 for adding visual editor to WordPress comments box using new editor API available in version  3.3 Writing HTML tags in comments is not easy for everyone. You can add visual editor/TinyMCE in comments box so that your site visitors can easily format text in bold, italic, etc. You can add visual editor

Continue reading→

Relative dates for posts and comments in WordPress

Calendar dates are nice but relative dates (i.e 1 day ago) can be more attractive. You may have noticed relative dates in Twitter and Facebook status updates. You can also display relative dates for posts and comments without using a WordPress plugin. In your Theme’s functions.php file, add the following snippet: The above snippet can

Continue reading→