Skip to main content

Blog

Recent open source projects I worked on

The last few months I have been working on a few open source projects. It’s something I enjoy to do and also need to do for myself. Like today I have been working on making WordPress MU Domain Mapping working when the WordPress code is in a subdirectory. This is the case when you use WordPress […]

Read More

How my previous jobs has made me a better person

History When I graduated in July 2010 I first wanted to do some experience at a company. I did my internship at theFactor.e and it made sense to also start working there. It was an awesome time and it’s a great company to work at. In my job as iOS developer I just struggled to much […]

Read More

How WordCamp Europe is organized is a joke

The current way how WordCamp Europe is organized is a joke to me. It was claimed by a group of people without even checking who else wanted to organize it. That is something that irritates me since such kind of WordCamp should be elected somehow. It isn’t a small event and it can be misused for […]

Read More

First Meetup Serbia

First meetup Serbia is a fact. Yesterday we had an awesome start and it was great to see how many people came to the office of ManageWP. There were lots of questions and some nice discussions because of that. It is a shame that my Serbian is not that good yet and that I didn’t […]

Read More

Going to experiment with blogging

It’s always a pain to blog about something where you want to talk pages long about something and then you don’t blog at all. So I decided to do some short paragraph blogging with a maximum of 10 paragraphs. I’m not going to say that it always will happen because some things like WordSesh need […]

Read More

Cropping Post Thumbnails from Top instead of Center in WordPress

Last week someone I know asked me how to do always a top center crop on thumbnails and I knew it was possible because of WP_Image_Editor. But you always wondered what it was before 3.5 and it always seemed you needed to hack code till I founded a post from George Stephanis. His post shows that […]

Read More

How to load a custom WP_Image_Editor

In our previous post about the class WP_Image_Editor we only talked about some global information. Today this post is going to handle how to load a custom image editor. It isn’t that straight forward you would expected and the reason is that the the code in core is lazy loaded. So when you call wp_get_image_editor() the […]

Read More

WP_Image_Editor

In WordPress 3.5, GD has been abstracted out of core’s image manipulation functions and has been called WP_Image_Editor. Because of that WordPress also has support for Imagick and that is the default choose. It’s giving better image quality to those who have it available on their host. This is particularly important if you’re using images with […]

Read More

Different CSS class for wp_nav_menu in the menu widget

When playing with the awesome theme Responsive I notice the menu in widget was broken because it was styling on the CSS class ‘menu’. Since every menu has this class the widgets also get the main menu styling. You can fix this in the child theme by removing all styling but that seems hard to day. […]

Read More

Using code to register a widget to a sidebar

In almost every theme you see a check if dynamic_sidebar() did returned false then show HTML inside the if statement. See the sidebar.php of Twenty Eleven. Twenty Twelve and Twenty thirteen don’t do this anymore. This is ugly in two ways. The first one is that this kind of logic shouldn’t be in the template files. It […]

Read More

An horizontal sidebar

Last year I was working on a way to get a horizontal sidebar. I worked out a PHP only solution and added a nice selectbox to the widget admin page. Obviously you can just add the amount of sidebar to the widget area and do the magic in your template. I also going to show […]

Read More

Adding post type support to the recent post widget

This feature is probably something that should be in core and the change is that a client already asked you for this feature. There are a lot of plugins on WordPress.org that do this and much more but this solution is clean since it still uses the WordPress widget. It only adds a selectbox to the […]

Read More