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
-
Some times when you connect to the webhost via FileZilla you may encounter this error message. "421 Sorry, cleartext sessions are ...
-
1. Include a Tagline A tagline is a statement or a motto that represents a company’s, or in our case a website’s, philosophy and mission. It...
-
In PHP there are so many ways to perform the same task. Normally developers are using the way which is most comfortable for them or which ...
-
HTML Cheat Sheets HTML 5 Visual Cheat Sheet HTML5 Canvas Cheat Sheet HTML Cheat Sheet HTML Elements and Attributes HTML 5 Cheat Sheet HTML C...
-
Akkarakkaazhchakal, the Malayalam language Indian sitcom that aired on Kairali TV from 2008 to 2010, is considered the first true Malayalam ...
-
If anyone using PostgreSQL may encounter Fatal error: Call to undefined function pg_connect() initially. This is because the PostgreSQL m...
-
Depending on your location on the Earth's surface, a spacecraft's position in orbit and the time of day, you may be abl...
-
Here is the working script for PHP Mailer in GoDaddy Hosting, include("includes/class.phpmailer.php"); date_default_timez...
-
Quick SMS v3 - The 3rd and new version of my software is to be released soon.So here is the BETA Release. Its with a whole new experience...
-
Use the below code to create a calendar event in PHP and send it as email to Microsoft Outlook or iPhone Calendar. < ?php /** * @cate...