Papi

A different approach on how to work with fields and page types in WordPress.

Introduction

Papi has a different approach on how to work with fields and page types in WordPress. The idea is coming from how Page Type Builder in EPiServer works and has been loved by the developers.

So we thought, why not use the same approach in WordPress? Papi is running in production today and has been easy to work with when it came to adding new fields. Papi doesn’t have any admin user interface where you must add all fields. Instead we use classes in PHP, where one class represents one page type and in your class you add all fields you need. It’s that easy!

What does the code look like?

This is a example of a page type that works with page post type. Papi has page post type as default, you can use page types with other post types, like post. Head over to the documentation to read more.

Papi is a free open source project for everyone who uses WordPress. The best payment is to Tweet and star the project on GitHub so others can find it and contribute.