about 1 year ago - No comments
Most WordPress Themes suck! I’m not kidding. I’ve tried hundreds of WordPress Themes (free and premium) and most of them look great at first … I’ll think a theme looks clean, beautiful and professional — then I install it, have a look under the hood and realize that it has fatal flaws.
This really makes me
You've read the post. What's next?
If you like this post, I meant REALLY like it, then consider bookmarking or help us promote it. Many thanks.
Share and Enjoy:
about 1 year ago - No comments
I think that is very useful trick to exclude your own visits in Google Analytics when you access your WordPress blogs, using the code bellow to do that:
<?php if (!$user_ID) { ?> your Google Analytics code here <?php } ?>
But the code is not pretty well for blogs with enabled user registration because using
$user_ID variable
You've read the post. What's next?
If you like this post, I meant REALLY like it, then consider bookmarking or help us promote it. Many thanks.
Share and Enjoy:
about 1 year ago - No comments
If you want to display how many SQL queries have been made to your database as I’ve done on this blog like this:
29 queries in 1.598 seconds
Just open the footer.php in your theme folder and paste the following code at anywhere you like:
<?php echo get_num_queries(); ?> queries in <?php timer_stop(1); ?> seconds
Another code for displaying
You've read the post. What's next?
If you like this post, I meant REALLY like it, then consider bookmarking or help us promote it. Many thanks.
Share and Enjoy:
about 1 year ago - No comments
This article will guide you how to display the number of comments on your blog (of course those are approved comments) by a simple php code below.
<?php
global $wpdb;
$num_comments = $wpdb->get_var(“SELECT COUNT(comment_ID) FROM $wpdb->comments WHERE comment_approved = ‘1′”);
if ($num_comments > 0) $num_comments = number_format($num_comments);
echo “There are ” . $num_comments . ” comments on my blog”;
?>
Paste the
You've read the post. What's next?
If you like this post, I meant REALLY like it, then consider bookmarking or help us promote it. Many thanks.
Share and Enjoy:
about 1 year ago - No comments
Blocking users or sites that originate from a particular domain is another useful trick of .htaccess. Lets say you check your logs one day, and see tons of referrals from a particular site, yet upon inspection you can’t
You've read the post. What's next?
If you like this post, I meant REALLY like it, then consider bookmarking or help us promote it. Many thanks.
Share and Enjoy:
about 1 year ago - No comments
tr.im is an URL shortening service to prepare long URLs for use with status updates in social networks like Twitter or Identi.ca
tr.im is better than the alternatives because it is designed, via our tr.im bookmarklet, to tr.im and tweet an URL to your network of choice in one quick step. You return to what you
You've read the post. What's next?
If you like this post, I meant REALLY like it, then consider bookmarking or help us promote it. Many thanks.
Share and Enjoy:
about 1 year ago - No comments
1link.in allows you to shorten your URLs by saves you from having to use long and ugly URLs that can break in your e-mails, forum posts, IM messages, SMS & etc…
You will have to simply put in a list of links in the box there and click 1link to get one link.
You can
shorten your
You've read the post. What's next?
If you like this post, I meant REALLY like it, then consider bookmarking or help us promote it. Many thanks.
Share and Enjoy: