Category Archives: WordPress

A new and easy to use WordPress plugin to show or hide content in your blog

I just created a new WordPress plugin that you can use when you have to compress the content in a FAQ or similar. Eg. when the information of your page is to long, you can initially hide content and show it when clicking on a given element.

This bird has nothing to do with the plugin ūüôā Image source

As said above a common use case is a FAQ where the questions are visible and the answers are initially hidden. Have a look at this example:
Use case:

Q1. This is the first faq question
A1. This is the answer for the first faq question.
Q2. This is the second faq question
A2. This is the answer for the second faq question.
Q3. This is the third faq question
A3. This is the answer for the third faq question.

Code for previous example:
<div class="ssh-question">Q1. This is the first faq question</div>
<div class="ssh-answer ssh-hide">A1. This is the answer for the first faq question.</div>

Get the Simple Show Hide for WordPress plugin from any of these locations: WordPress Download or GitHub

UStream for WordPress and the power of the community

Ustream_Logo_2013 I recently got a support question on my plugin called UStream for WordPress which is a plugin for embedding UStream videos on you blog. The plugin did not seem to work after the WordPress 4.0 update and the user seemed to have at least one client who really needed it.

The reason behind the failure of the plugin was that UStream had changed the way you embed the video from object tags to iframe tags and the fix was easy. I updated my plugin, answered the user and she was happy. And if she was happy, I’m happy!

The WordPress community for the win!

wordpress-logo-notext-rgbWhat I want to say with this is not that I fixed this bug and “Hey, I’m so good”. No, I really want to give thumbs up for the community thing where you can get a lot, and I mean really a lot of functionality for free but also¬†the possibility to give some back witch other can utilize on their WordPress driven sites.

I both use other plugins and on some of them I have reported bugs to the authors. I have in all cases gotten help pretty quickly and been able to continue to use their plugins and have not been forced to do the hard work of building these plugins my self.

There is one thing I want to encourage people to do when they use plugins they get for free and that is to give back a review of the plugin. Either by just mark the grade of the plugin or write a word or two what you think of it. This will help contributors to get their work used by even more people and probably make them put more effort in creating awesome stuff.

The WordPress community for the win!

Universal Analytics Injector

When Google announced that Universal Analytics went out of beta in April this year I thought it was time to create a WordPress plugin that is up-to-date with the new scripting syntax. I also wanted to add more features out of the box compared to the script you get in Google Analytics when you have activated a profile to be able to measure what you want.

I have previously created a couple of plugins to enable Google Analytics tracking on WordPress but this time I combined both the original Universal Analytics tracking script and a lot of extra tracking:

Universal Analytics Injector WordPress plugin settings page
The settings for Universal Analytics Injector WordPress plugin
  • Outbound links
    When the user clicks on a link that navigates¬†the user away from your site it’s good to know where they went to be able to know if the exit was good or bad for your business. Eg. if you have your conversion on a separate site the exit is the goal but if they leave your site where you want them to continue, you want to know where and why.
  • Downloads
    Which files are downloaded and from where? This is good to know if you want optimize your site and bring your most wanted files to the front.
  • Mailto clicks
    It’s good to know from where and when your visitors need to contact you. If you know that you probably find short comings in you web site or just make sure you have the resources during busy times to answer their questions.
  • Video tracking for YouTube and Vimeo embedded videos
    To produce video can be quite expensive and you would like to know if your visitors watch and get your meessage. Which videos do they begin to watch and for how long? Do the see your selling point or do they leave before they have had the chance?
  • Anonymized ip filtering
    If you want to anonymize your visitors ip addresses before you send the analytics data to Google you just click on the checkbox and it’s all done!


If you want to know what your users are doing on your site, how they navigate, what material they interact with and last but not least: improve your site from the knowledge you get out of web analytics, this plugin is what you want.

Install the plugin and paste your Google Analytics UA-xxxx code in to it and you are all set!

Download it from plugin repository: Universal Analytics Injector