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
-
My next project is about converting comics to my native language. Since manual work is a time consuming, we are discussing about automating ...
-
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...
-
Depending on your location on the Earth's surface, a spacecraft's position in orbit and the time of day, you may be abl...
-
To fix 404 page errors while using wp_paginate() in wordpress. while going to sample-page/page/2 will leads to 404 as the 'page' wil...
-
The CSS frameworks here offer designers a structure going into their projects, so they aren’t starting entirely from scratch. Some offer lay...
-
Follow the below steps to create bootable Windows 7/Vista USB drive using which you can install Windows 7/Vista easily. 1. Plug-in your U...
-
Step 1 Download below JS file and replace your print.button.js with below it, https://github.com/aravindnc/Buttons/blob/repeating-print-...
-
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. ...
-
When sending emails to lists, it is important that you use what is called "Blind Carbon Copying (BCC)." Instead of using the box i...
-
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...