Simple, reuseable WordPress pagination without a plugin

Pagination might be one of the most seen ui-patterns on the web. The concept of showing just a limited amount of articles, posts or whatever and making the reader click through the rest, comes in quite a few variations. Googles search results are coming to mind or more advanced infinite scroll solutions. Naturally, WordPress implements [...]

Read more Tweet me Plus me

Simply related posts: Add thumbnails to the related posts widget

The Snippets Story The code above is simply adding the post-thumbnail before the related post titles if it exists. Works only with my Simply related Posts plugin

Read more Tweet me Plus me

Add custom WP_Query parameters

The snippets story Some weeks ago I wanted to pass a custom parameter to the WP_Query object to change the where-query if the param was true. The problem was that the WP_Query object is already filtered when the posts_where filter is applied, so my custom parameter didn’t get through. I solved this by hooking into [...]

Read more Tweet me Plus me

Plugin update: Simply Related Posts 1.2

I’ve just released version 1.2 of my Simply Related Posts plugin. Now it supports pages, attachment-pages and custom post-types, which makes it a lot more flexible. Additionally I’ve added a filter to the related post-title, so you can add thumbnails, excerpts or anything else you can think of. As always, post your questions, feedback etc. [...]

Read more Tweet me Plus me

WordPress as a CMS – Ways of organizing your content to achieve multi-level navigation for static-page websites.

If you are using WordPress as a blog, organizing your content is quite straight forward. You categorize and tag your posts, create nav-menus, to link the most important categories, use archive or calender widgets and order your posts by publishing date (which is the default). Using WordPress as a CMS for a common website and [...]

Read more Tweet me Plus me

Plugin Update: Color Scheme every Theme

Version 2.0 of my color scheme plugin (read about v1.o here) makes it even more easy to create color schemes for WordPress themes. Get version 2.0 on wordpress.org After the release of version 1.0, some bug-fixing and the release of two minor versions I had got so much feedback that I thought it was time [...]

Read more Tweet me Plus me

New WordPress Plugin: Color Scheme every Theme

A WordPress plugin to change the entire color scheme of your theme via the theme customizer. Just three simple steps to give your current theme a completely new outfit.

Read more Code on github Tweet me Plus me

Fix cropping of custom image sizes in the WordPress image editor

The snippets Story If you are using custom image sizes in your WordPress theme you likely know the problem. Cropping, rotating or flipping an image via the WordPress image editor, works just on the original. After editing the image is not available in your custom sizes anymore, all you get in your theme is the [...]

Read more Tweet me Plus me

HTML5 Navigation without a List with WordPress’ wp_nav_menu

Result: Source: Remove LI Elements From Output of wp_nav_menu The Snippets Story This is how you build a HTML5-navigation without lists in WordPress. I slightly changed the code I found on CSS-Tricks. Had to post this after todays reading of “Navigation in Lists: To Be or Not To Be” by Chris Coyier.

Read more Tweet me Plus me

My three golden Rules for WordPress Plugin Development

“A man must have a code” – Bunk in The Wire I recently uploaded my first plugin to the WordPress Plugin Directory, wrote some plugins at work and most importantly used a lot of the plugins out there. So I thought the time has come, to step back and think of what I’ve learned about [...]

Read more Tweet me Plus me