The Masonry jQuery Plugin by David DeSandro is one of the most-used jQuery plugins these days when it comes to arranging pictures with various dimensions. No matter if you have a mixture of landscape, portrait and square pics, the plugin will always figure out, how to arrange them best in a nice…
A blog is not just a great way to post text, but also images, videos, links or quotes. Putting all those different types of content into a dumb old article template is quite boring and so custom post types have become very popular. This is a quick introduction, how to build custom post types for…
1.0.5 is here and brings some bug fixes and improvements and one main new feature. I've been asked by a bunch of users, who wanted to use Kirby as a blog system primarily, if it would be possible to have article URLs without an additional subdirectory in the URL. Right now you could add all the…
I'm always trying to improve the Kirby site to be more informative and helpful for all new and existing Kirby users and so I spent the weekend to revamp the homepage with a new "What others say…" section and to create a better design for the Downloads section. Both are good examples how you can…
I was asked by Luke Dorny on Twitter yesterday about a good Flash-less option to show your latest Flickr pictures on your site. I knew from all the API fiddling for Zootool that the Flickr API can be quite annoying. You often need to make much more calls to get the stuff you want, than you would…
I always wanted to write a little tutorial on how to implement an image slider with Kirby and the carousel component from Twitter's Bootstrap seems like the perfect little piece of code to do that. The Demo Check out the demo of the final image slider first. The Images Let's suppose we are adding…
I got a request today, how it would be possible to react on odd or even rows in a foreach loop. You often need this to create a striped effect in a table or list for example. So I thought I write a little tutorial about it. The code <ul> <?php $n = 0;…
Kirby has a built in formatting language called Kirbytext. Kirbytext is an extension of John Gruber's Markdown. Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid…
We all remember those days when every blog had a tagcloud with variable font sizes to show the most important tags – man, this has been so cool six years ago. But still tags are a great way to separate your content into different categories and make it easier for your visitors to find the…
Another week, another minor release. There has still been a tiny bug in the sortBy() method for pages and files. It all worked well unless you were trying to sort dates. I double and tripple checked and it's working fine now. Sorry for that. Download the latest version here. What's new? I took the…