Cookbook
-
Extension
A/B Testing with Kirby
This tutorial will introduce you to the A/B testing plugin, which is basically just a simple function.
-
HTML
Adding IndieAuth to your site
RelMeAuth/IndieAuth lets you log in to other sites with your domain. In this recipe, we will take a look at how to set it up.
-
Design
Art-directed pages
Add custom CSS and javascript to style individual pages without the need for additional templates
-
PHP
Basic error hunting & prevention
When developing a Kirby website, debugging helps identify errors more easily. This recipe collects some basic tips.
-
Extension
Columns in Kirbytext
Learn how you can add columns to your textarea fields with this KirbyTag.
-
Content Structure
Creating a Kirby-powered blog
Learn how to setup your perfect blog system with tags, feeds and more.
-
Database
Creating pages from database
Get an idea how to edit database-based pages in the Panel and access them in templates.
-
Content Structure
Custom fields
Use Kirby's power of custom fields to structure your content in a most flexible way
-
HTML
Custom homepage title
How to set a unique title for the homepage.
-
Templating
Custom post‑types
Learn how to create different templates for different kinds of content
-
Deployment
Dropbox Sync
Learn how to setup Dropbox Sync for your Kirby site (VPS or dedicated server required).
-
Templating
Editable redirects
Learn how to easily redirect visitors to external resources.
-
Content Structure
Filtering collections with tags
Tags are an excellent way to classify your content and make it easy for your visitors to find related content. Here's how.
-
Search & Filtering
Filtering Compendium
Learn how to filter pages, files and users with Kirby's extensive filtering methods
-
Templating
Fun with loops and collections
Foreach loops are control structures useful in many contexts. Learn how to use them.
-
Templating
Generating JSON with Kirby
Create a JSON representation of your blog cotent in Kirby.
-
Content Structure
Grouping collections
In this cookbook recipe we go through using Kirby's API to group collections like articles, events or files by various criteria
-
Content Structure
How to add authors to your articles
Create an author system for your blog posts. Also useful for other pages you want to tie to a person.
-
Languages
How to import and export translations
Learn how to write scripts to import and export translations for external translators.
-
Migration
How to migrate file metadata
Learn how to update your file metadata to make it work with Kirby 3
-
Migration
How to migrate Kirby 2 users
Learn how to move your Kirby 2 user accounts over
-
Migration
How to upgrade from Kirby 2
Learn how to upgrade an existing Kirby 2 project to Kirby 3
-
Migration
How to upgrade Kirby 2 plugins
Learn how to adapt your Kirby 2 plugins to our new plugin system
-
Live
How we built getkirby.com
Learn more about the hidden gems and secrets in our own website
-
Installation
Kirby meets Composer
How to install and update Kirby via Composer
-
Installation
Kirby meets Git
How to install and update Kirby via Git
-
Templating
Kirby templates 101
Learn some PHP basics that make creating templates a breeze.
-
Content Structure
One-pager
One-pager sites are a perfect solution for many small companies or simple portfolios. Learn how to build them.
-
Navigation
Pagination
Use pagination to divide a list of post or similar content into digestible chunks to prevent endless scrolling
-
Navigation
Previous / Next
Learn how to add a previous/next navigation to your pages.
-
Languages
Quicktip: Filtering by language
Learn how to prevent Kirby's falling back to the default language if no translated content exist.
-
Languages
Quicktip: Flexible language variables
Learn how to define language variables the way you need them
-
Content Structure
Random content
Simulate activity on your site by showing random content.
-
Security
Restricting access to your site
Learn how to use Kirby’s authentication system to build login-protected pages
-
Search & Filtering
Search
Learn how to build a simple search for your site or sections of your site.
-
SEO
Sitemap for search engines
How to automatically create a sitemap for search engines.
-
Content Structure
Sorting
In this cookbook recipe we will look into how you can use Kirby's API to sort content like by all sorts of criteria.
-
Content Structure
Structured Field Content
Use the structure field to add structured data like addresses, events, etc. to your site.
-
Templating
Using blueprints in the front‑end
Learn how to access blueprints and use this data to control your logic.
-
Content Structure
Using Kirby for multiple sites
How to run multiple sites on the same Kirby setup
-
Content Structure
Working with dates
Learn how to use date fields in your content files and output different date formats