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...
-
When adding a fancybox popup you may encounter a common issue, which shows the below error message, while clicking the link. "Th...
-
Here is the working script for PHP Mailer in GoDaddy Hosting, include("includes/class.phpmailer.php"); date_default_timez...
-
The Peach Design Praline En Schachtel Douglas Menezes BAD Health Narfstuff – Web and Graphic Design Meomi Cochemer Stadtsoldaten...
-
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...
-
1. TinyMCE TinyMCE is an open source (under the GNU Lesser General Public License ) rich-text editor released and maintained by Moxiecode...
-
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...
-
(conceptual design) New version of my SMS software is currently on development which has a lot more features than the ...