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
-
The letterpress effect is becoming hugely popular in web design, and with a couple of modern browsers now showing support for the text-shado...
-
1. Stay Organized Just like anything else, it pays to keep yourself organized. Rather than haphazardly dropping in id’s and classes in the o...
-
10. Find a beautiful wallpaper for your desktop resolution with Google images Here’s how you do it: Go to Advanced Image Search Next t...
-
My next project is about converting comics to my native language. Since manual work is a time consuming, we are discussing about automating ...
-
Hi Folks, In Wordpress while uploading a file sometime you may encounter an HTTP Error while crunching file. Usually this error can be resol...
-
Seeing CSS3 on actual functioning websites is a lot like spotting a Himalayan Snow Leopard or a Giant Panda. Because roughly 53 percent ...
-
global $COURSE, $USER; $context = get_context_instance(CONTEXT_COURSE,$COURSE->id); if (has_capability('moodle/legacy:student', ...
-
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...
-
In Magento, we can add tags for a product using the steps below. Create a tag from here : Catalog->All Tags-> Add New Tag. Aft...