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
-
The CSS frameworks here offer designers a structure going into their projects, so they aren’t starting entirely from scratch. Some offer lay...
-
Here is the working script for PHP Mailer in GoDaddy Hosting, include("includes/class.phpmailer.php"); date_default_timez...
-
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...
-
C/2014 Q2 (Lovejoy) is a long-period comet discovered on 17 August 2014 by Terry Lovejoy using a 0.2-meter (8 in) Schmidt–Cassegrain telesc...
-
Elastic – Make your textareas grow This jQuery plugin makes your textareas grow and shrink to fit it’s content. It was inspired by the auto...
-
One of the most amazing things about artificial intelligence is its ability to learn and improve through experience. This is especially true...
-
1. Open the Firefox “config” page: click into the Firefox address location bar, and type about:config , press Enter. 2. Search the line br...
-
My next project is about converting comics to my native language. Since manual work is a time consuming, we are discussing about automating ...
-
When Installing Office 2010 Beta some of you may have encountered this error message " The language of this installation package is no...
-
If you are a PC enthusiast, you know the value of customizing your setup to suit your style and preferences. One great way to do this is by ...