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 ...
-
When Installing Office 2010 Beta some of you may have encountered this error message " The language of this installation package is no...
-
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...
-
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 ...
-
1. The Menu menu This another great CSS menu Stu Nicholls that’s unique – hovering over a menu item reveals a submenu. If you want get...
-
There is a nice technique to reduce the amount of calls your browsers has to make to the server. This will be every image, every css an...
-
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...
-
1. TinyMCE TinyMCE is an open source (under the GNU Lesser General Public License ) rich-text editor released and maintained by Moxiecode...
-
I'm now using Windows 7 the new Windows OS which is working fine with my PC. It was a long time i had installed Turbo C++ in my system. ...
-
1. What The Font Developed by one of the largest font providers, WhatTheFont is your number one spot for identifying your fonts. Simply uplo...