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 ...
-
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...
-
global $COURSE, $USER; $context = get_context_instance(CONTEXT_COURSE,$COURSE->id); if (has_capability('moodle/legacy:student', ...
-
Do you know It-s possible create Table without using mouse and menus in MS word and Outlook. Here its that… Type the content ( +--+---...
-
1. Open a blank notepad document 2. Copy and paste the following code into the blank notepad You are not using mod_rewrite - Try LINK2...
-
Lots of times when you're developing a site, you'll want to have a snippet of text in one place. PHP doesn't really have a goo...
-
Use the below code to create a calendar event in PHP and send it as email to Microsoft Outlook or iPhone Calendar. < ?php /** * @cate...
-
GitHub Link: https://github.com/aravindnc/A-to-Z-List-of-Useful-Node.js-Modules Use Ctrl + F or command + F to search for a module. ...
-
The CSS frameworks here offer designers a structure going into their projects, so they aren’t starting entirely from scratch. Some offer lay...
-
Hi Folks, In Wordpress while uploading a file sometime you may encounter an HTTP Error while crunching file. Usually this error can be resol...