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:
Comments (Atom)
Popular Posts
-
Some times when you connect to the webhost via FileZilla you may encounter this error message. "421 Sorry, cleartext sessions are ...
-
Yesterday I got a chance to capture the transit of International Space Station. The iridium flare was too faint due to the light pollution i...
-
Here is the working script for PHP Mailer in GoDaddy Hosting, include("includes/class.phpmailer.php"); date_default_timez...
-
Wordpress WP E-Commerce Plugin, There is a widget called Product Category Widget which lists all the product categories. During the site d...
-
Here is a simple way to generate a signed request for diferent services using AWS: /// AWS API keys $aws_access_key_id = 'your-aws...
-
If anyone using PostgreSQL may encounter Fatal error: Call to undefined function pg_connect() initially. This is because the PostgreSQL m...
-
Most of the readers are familiar with the International Space Station or "ISS" as it’s often referred to. But just in case you ...
-
The Peach Design Praline En Schachtel Douglas Menezes BAD Health Narfstuff – Web and Graphic Design Meomi Cochemer Stadtsoldaten...
-
When adding a fancybox popup you may encounter a common issue, which shows the below error message, while clicking the link. "Th...
-
GitHub Link: https://github.com/aravindnc/A-to-Z-List-of-Useful-Node.js-Modules Use Ctrl + F or command + F to search for a module. ...