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...
-
Q: Can I start my own company on oDesk? A: Yes! oDesk allows you to build and manage a team of workers, colleagues and collaborators. Yo...
-
Some times when you connect to the webhost via FileZilla you may encounter this error message. "421 Sorry, cleartext sessions are ...
-
The CSS frameworks here offer designers a structure going into their projects, so they aren’t starting entirely from scratch. Some offer lay...
-
Use the below code to create a calendar event in PHP and send it as email to Microsoft Outlook or iPhone Calendar. < ?php /** * @cate...
-
Holograms have long been a staple of science fiction, but in recent years, they’ve become more of a reality than ever before. Thanks to adva...
-
“Harbhajan Baba ki Jai” (Glory to Harbhajan Baba), cry out many voices in unison as tourist buses, packed with both Indian and ...
-
10 A Briefer History of Time Stephen Hawking and Leonard Mlodinow Stephen Hawking is one of the world’s most famous physicis...
-
One of the most amazing things about artificial intelligence is its ability to learn and improve through experience. This is especially true...
-
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. ...