Google Analytics Events getting Spam: “to use this feature visit: EVENT-TRACKING.COM”

It could sound incredible, but someone has figured out a way to Spam Events inside Google Analytics.   This new technique is nothing out of the ordinary and extremely simple, but seems nobody had though about it before: “to use this feature visit: EVENT-TRACKING.COM” Basically, there’s a robot that, since May 5th, has been changing the event…

Create a Widget in WordPress

  Let’s ensamble the plugin step by step so you can see how is the workflow here. Let’s start by adding a class: class myplugin_newsletter_subscriber_set_widget extends WP_Widget { } Inside this class we need to create four functions: class myplugin_newsletter_subscriber_set_widget extends WP_Widget { function __construct() {} function form($instance) {} function update($new_instance, $old_instance) {} function widget($args,…

Using the link manager on wordpress

Forget about get_links_list() and get_links().  These are deprecated and will never be back to wordpress! Now there’s a new way of using the “Link Manager” section on wordpress.  With one and only one php function, you can call your links and place them wherever you want inside the template.  This is the function: <?php wp_list_bookmarks(…

Add a smooth transition between pages

Thanks to jQuery, you can have a nice smooth transition between pages in your website.  This is specially useful if you have a website with background color different to white, as it will be more pleasant to your visitors if they click on a link and they don’t get a white page, but a transition…