Friday, July 23, 2010
Trick for displaying Number of Comments in your WordPress Blog
Place below code where you want to display your comment count:
<?php
$numcomms = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->comments WHERE comment_approved = '1'");
if (0 < $numcomms) $numcomms = number_format($numcomms);
echo "There's ".$numcomms." total comments on my blog";
?>
Wednesday, July 21, 2010
Thursday, July 15, 2010
A set of must have Cheat Sheets for Web Developers / Designers
HTML Cheat Sheets
HTML Character Entities Cheat Sheet
JAVA Scripts Cheat Sheets and JQuery
W3C – Cascading Style Sheets, Current Work
CSS Cheat Sheet
HTML Character Entities Cheat Sheet
SQL Cheat Sheet
Search Engine Optimization Cheat Sheets
Web Developer's SEO Cheat Sheet
Subscribe to:
Posts (Atom)
Popular Posts
-
Here is the working script for PHP Mailer in GoDaddy Hosting, include("includes/class.phpmailer.php"); date_default_timez...
-
Here is a simple way to generate a signed request for diferent services using AWS: /// AWS API keys $aws_access_key_id = 'your-aws...
-
Hi Folks, In Wordpress while uploading a file sometime you may encounter an HTTP Error while crunching file. Usually this error can be resol...
-
Use the below code to create a calendar event in PHP and send it as email to Microsoft Outlook or iPhone Calendar. < ?php /** * @cate...
-
When we are pulling date from the server having UTC, it may display in local timezone format in Arshaw's Full Calendar . This is due...
-
Wordpress WP E-Commerce Plugin, There is a widget called Product Category Widget which lists all the product categories. During the site d...
-
There are some common email related issues in Prestashop. Some of them are when we do registration, forgot password etc they say email has...
-
Some times when you connect to the webhost via FileZilla you may encounter this error message. "421 Sorry, cleartext sessions are ...