Allot of plugin have a function that is triggered when the plugin is activated. This ‘activation’ function allows the plugin to setup itself, e.g. create a custom table or set some options in the options table. This works fine in a ‘normal’ WordPress website, but when you create a new site in a WordPress Network website these plugin activation functions are not triggered. Continue Reading…
Category Archives: WordPress Development
Creating a widget
Today I’ll explain how to create one of my favourite WordPress features, a widget. Widgets allow WordPress users to add functionality to their website without requiring any coding experience. Before we create our first widget it’s important we understand the way they work.
Continue Reading…
Bootstrap submenu open on mouse over
When developing a custom theme I love using Roots Theme. One of the reasons I do is because of it’s integration of Twitter’s Bootstrap. The only thing I always change is the menu’s behaviour, I want it to open on mouse over instead of on click.
Continue Reading…
Getting the URL for a translated page based on the URL of a different language using WPML
When working with WPML the other day I ran into the following issue. I had to redirect the visitor to the preferred language translated page, based on an url. This also ment that at the point of redirecting there no post id yet know.
Continue Reading…
Remove unwanted WordPress menu items
When creating WordPress websites for clients I like to remove features that will not be used to prevent confusion and questions. For example, allot of WordPress website I create do not contain a blog and therefore have no ‘Posts’ menu item.
Continue Reading…