Remove curly quotes from your wordpress comments
January 4, 2009
How to remove curly quotes on your comments? Simply paste the following line of code on the functions.php file from your theme. remove_filter('comment_text', 'wptexturize'); That’s easy as that! Read More →
Display a random post in your wordpress blog sidebar
January 4, 2009
If you want to display a random post in your wordpress blog sidebar, simply paste the following code on the sidebar.php file of your theme: <?php query_posts(array('orderby' => 'rand', 'showposts' => 1)); if (have_posts()) : while (have_posts()) : the_post(); the_title(); the_excerpt(); endwhile; endif; ?> Then your sidebar will display a random post on each of your wordpress blog pages. Read More →




















