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 ...
-
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...
-
The CSS frameworks here offer designers a structure going into their projects, so they aren’t starting entirely from scratch. Some offer lay...
-
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...
-
Now i'm telling you on how to add a rich text editor inside a Text/HTML widget in a Wordpress Admin Panel - Widget Area. Here we are usi...
-
Google chrome is Popular these days and Most of us don,t know about the latest tips and Tricks that we can use with google chrome. Google st...
-
1. Open the Firefox “config” page: click into the Firefox address location bar, and type about:config , press Enter. 2. Search the line br...
-
This only applies to cars that can be unlocked by remote control. Should you lock your keys in the car and the spare keys are home. If some ...
-
Here is a list of WordPress Code Snippets that can be used in your every day coding phase. If you take a print out of it then it will b...
-
1. TinyMCE TinyMCE is an open source (under the GNU Lesser General Public License ) rich-text editor released and maintained by Moxiecode...