WordPress Plugins

Automatic Image Compression with SmushIt for WordPress

I constantly re-evaluate the WordPress plugins I use to ensure that my blog is running smoothly and there are no resource-hogging plugins running. I covered this in my earlier post about plugins slowing down a blog.

So yes, I’m a plugin junkie and I love great WordPress plugins, but I’m more and less settled for the list of essential WordPress plugins I have now. But every now and then such a great plugin comes up that I just have to try and this time, it stick and I already added it to all my blogs..

Most of the best plugins in my mind have been created by Joost de Valk, who has created many great plugins, with over 1 million downloads in total. These plugins include such masterpieces like Google Analytics for WordPress and Sociable.

But this post isn’t about Joost’s plugins, but the SmushIt for WordPress -post he wrote to his blog at Yoast.com, a post about an automatic image optimization plugin called WP Smush.it, written by Alex Dunae. As mentioned, this plugin quickly made it to my list of essential plugins for WordPress, and I think you should install it too, if you use images on your blog (and you do, right?)

Click to read

Tags: Optimization, Performance, Plugins, Speed, WordPress

Is Your WordPress Blog Super-Slow (Because of Plugins)?

When was the last time you (or your tech person) checked the list of plugins you use and think do you really need all those plugins?

  • Are you using too many plugins?
  • Or are you running three plugins that all do the same things (overlapping features)?
  • Have you checked how much the plugins you use actually burden your server, mysql database and slow your page loading times?

JTPratt is concerned about WP beginners getting caught up in “plugin overload” and wrote about Wordpress File Include Hacks which questioned the need for so many plugins and promoted editing and hacking your WordPress theme instead. While the post is an excellent guide and tutorial to hacking your WordPress Theme files, I wouldn’t go as far as telling people to stop downloading so many plugins…

As I see it, for most bloggers editing their theme by themselves is something that is not worth their time and they are better off just writing more content to their blog instead of learning how to edit the template files. But it’s definitely worth it to check your plugins-list and get rid of the ones you don’t really need or do the same thing as the other, a better one.

Why WordPress Plugins Are So Cool?

I think WordPress Plugins are so popular and people use them a lot, because they make complicated things and manual editing one-click-easy and using only plugins/widgets to add content on top of the WordPress theme makes it easy to change or update themes, which can be important for a beginning blogger.

In a sense, plugins reduce the maintenance and manual editing one has to do. Having to go through all the templates that need some “hack” in them every time you change or update your theme can be a pain. Especially if there’s many manual editing in the different templates.

For example, the Google Analytics JTPratt mentioned, yes – adding the code to the footer is simple, but what if you want to track outgoing links? Or what if you want to disable analytics tracking for logged in visitors (like yourself). Using a plugin does all that and I don’t have to worry about that issue at all. (I wrote about this in my Track Outgoing Links with Google Analytics -article)

I’m all about DIY, hacking and php-/javascript-coding myself, but I also like convenience. Thus, I like to use plugins for certain tasks and minimize the tasks I have to do often without the plugin.

How To Test The Performance of Your Blog

Test Your Blog With Web Page Analyzer

  • Go to the Web Page Analyzer,
  • enter your URL and
  • hit send,
  • master the captcha and you’re done…
  • Check the report page for the load times and tips for improving the efficiency of your blog.

Web Page Analyzer is not designed to test blogs, or WordPress for that matter, but you can get some idea what might be slowing your website down, for example are your pages loaded with large images or such. My T1 loading times are under 4 seconds at the moment, which is great, but on the other hand I run minimal images with my self-brewed and brand new pure css, no images theme.

Test Your Blog With Firebug Addon to Firefox

  • Go and get Firebug,
  • Install Firebug for Firefox.
  • Restart your Firefox.
  • Look into the bottom right of the browser window
  • You should see little Firebug icon
  • Right click the bug icon, and
  • Open firebug in New Window

Now, go to your own blog (not admin, but the front page for example) and check the Firebug window.

Inside the Firebug window:

  • Click on the NET tab and
  • Turn on the Console logging, Script- and Net monitoring by clicking on the check-boxes,
  • Click Apply settings for yourdomain.com.
  • See the data pouring in as you navigate your website

You can use Firebug to analyze your HTML code, CSS and all the scripts, plugins, images, etc. that are used and loaded on your pages.

You can see how fast your blog loads, what images and scripts are loaded and how much time it takes to get them. For example it might be a surprise to you how much images are loaded in your theme, if all list bullets, menus, etc. are done using images. You’ll also notice how much WP Super Cache helps if you’re running that plugin – a plugin you really should have… see, it didn’t take me too long to recommend yet another plugin for you. But seriously, WP Super Cache is on my top 2 plugins, right alongside All In One SEO Pack.

After playing enough with the firebug, disable Firebug by right-clicking on the Net tab, and setting disable (+ uncheck the check-boxes and click apply)

Firebug is priceless for WordPress Theme and Web Designers, but it is so easy to use, it can be for you too.

Bonus Tip for Minimizing Your Images

Reduce the size of your images but still maintain as good quality as possible, try RIOT – Radical Image Optimization Tool.

I spotted this nice little tool from a Lifehacker postRadical Image Optimization Tool Provides Side by Side Image Comparison – couple of months ago, and I’ve been using it ever since, mostly because I can see the preview shot right next to the original and see the effects of the compression right there. There are probably better alternatives if you need to batch process a load of images, but if you just need to go through one or two, check Riot out.

Other Means to Test the Performance of Your Blog

In addition to these, you might want to check and monitor the usage of the mysql database your WordPress is running on and also the load your server is under (for example, checking the uptime by connecting to your server with a shell.)

Plugins, oh Plugins

I’m still planning, testing and choosing the plugins I’ll be using in the long run, and I also want to keep my blog running smoothly by minimizing over-complicated solutions and unneeded functionality. I guess there’s a “Middle of the road” in using plugins & hacking the files in your WordPress and getting the performance of your blog to desired level, but I haven’t found it yet..

Are you happy with your plugins and blog performance?

Tags: Performance, Plugins, Testing, WordPress

How To Add Feedburner RSS Feed to the Sociable Plugin

I admit it, I’m a junkie for quality plugins and I’m testing all kinds of plugins to see if I could make something out of it. And in the end I keep the best and go with that.

I’ve been especially fond of the plugins found at the Yoast.com by Joost de Valk. The plugins are super quality and do exactly what they are meant to do and they do it efficiently. With that said, for Social Bookmarking, I use the Sociable -plugin (also from Yoast), which does a great job at adding those little social network and other useful icons (like “make a pdf”, “email” or “print”) at the end of the post and is very versatile and configurable.

In the recent update of the plugin, “RSS” was added to the available sites list, but that used the default feed of the WordPress. As I use feedburner to manage my feeds, I wanted the RSS link to take the reader to feedburner feed, so I edited the sociable.php and added the site – if you want to do the same, I’ll show how you can do the same (it’s quite easy, if you just dare to go and edit the sociable.php)

Click to read

Tags: Customize, Guide, php, Plugins, WordPress

How To Manage Ads and Track Clickthroughs with AdRotate Plugin in Your WordPress Blog

Managing your advertising, affiliate links and banners can be load of work if you do too much manually. You should set tracking of links, track the number of times the ads are displayed, test different banners, etc. Fortunately, there are many plugins to WordPress that do all this for you.

In this article, I present the one plugin, AdRotate, that I’m currently testing in this blog. I’ll tell you:

  • What the AdRotate plugin is
  • Examples on how you can use this plugin for many different purposes
  • Step-by-step tutorial to set up ads with AdRotate, AdRotate 101 if you will, with screenshots

AdRotate is free plugin under GPL license, so you don’t have to pay anything for it. And with this guide, you can set it up in matter of minutes + the time you use to set the ads up and set the placements for the ad groups you create. After that, you just have to watch and AdRotate displays your ads, at random if you configured it that way, and track clicks to boot – so you can focus on writing or whatever aspect of blogging you enjoy the most.

Like said, I’m test running the plugin at the monent and from what I’ve seen so far, I like it. I wanted to share these experiences with you, so if you want to find out more, read on…

Click to read

Tags: AdSense, Advertising, How-To, Make Money Online, Tracking, WordPress

Posting Source Code on Your WordPress Blog Posts

Getting source code to display correctly in your blog can be a pain. I tried and tried to work with the <code> tags, but occasionally the visible code wasn’t ok (for example replacing quotes and doublequotes incorrectly), taking one “-” off from html comment etc. Jumping on and off from “Visual” and “HTML” editor and updating a post seems to do this.

But of course there’s a solution in the wonderful open source community and WordPress plugins that utilize the power. This isn’t exactly breaking news as these have been around for while, as I picked up this post:

I checked if this would’ve worked by default on self-hosted WordPress, but it seemed like it wouldn’t, so I went to plugin hunt. And there seemed to be aplenty of plugins for source code publishing, some with syntax highlighting, some just making sure code displays correctly in <code> tag.

But this is what I decided to try for now and it seems to work nicely:

So whether you want to display just some html code or more advanced source code, these kind of plugins are for you. They are good for both one-two liners as they are for hundreds of lines of serious code. There’s plenty of tags in use and all you have to do is enclose the code in a tag and define a language if you want. And the plugin supports a “lighter” style with no highlighting, but securing the formatting the same way.

Since writing this post I have removed the plugin, as I only post sourcecode to posts so often, and the plugin is on with the default so it puts the javascript code to every page, unless you set if off on the post window. However, if you’re blog is about coding and you post sourcecode, like html, php, c, or whatever almost every post, this plugin works great (at least until WordPress version 2.7).

Thanks for all these great blogs and bloggers for helping me by providing a bunch of information on the subject:

So if you like to read more about source code in posts, check the above for detailed info.

Tags: Plugins, Source Code, WordPress

Experimenting Different WordPress Plugins

For the whole time I’ve been blogging, I’ve always been into widgets and plugins, but there really wasn’t much to do inside the blogspot. While blogspot is great to start blogging, being free and very easy to use, self-hosted blog is the only option for more serious blogging and/or tech-geek like me.

Wordpress (.org) as blogging platform comes with great features as default and maintaining basic blog is very easy, like with the free services. Of course, one has to take care of hosting the blog somewhere, instead of the free spot for the blog at Wordpress.com or Blogspot.com.

But when you get deeper into the Wordpress and start playing with themes and plugins, it gets fun. There are thousands of plugins for Wordpress, most of them free, like the platform itself, so trying them all out would take a lot of time. But fortunately there are lists and review service inside the Wordpress.org, which you can check here: WordPress.org Plugin Directory.

I look for plugins with great reviews and/or lot of downloads. With little experimenting, I’ve found about 20 plugins I use at every Wordpress blog I have at the moment.

Essential Wordpress Plugins

The list has 19 Wordpress Plugins, which I consider “must haves”. These 19 were in use on this blog at the time this post was written…

Click to read

Tags: Plugins, WordPress