Custom Post Types for a Scout project

Over on X I talked about my current experience with using Custom Post Types and here is a quick rundown of what I’ve built this time.

CO2 Tracker in WordPress

I’m part of an organizer team for a bigger scout event for 15 to 21 year old scouts from Germany. Our plan is to sensitize the young people for their ecological foot- and handprint and show them ways on how to reduce both of them. In roughly 10 months we challenge them to think about their CO2 emissions and try to “save” as much as they can to have a “greener” camp at the end of the project.

To track those emision and savings I created two new custom post types in WordPress:

  • CO2 Tracker
  • Teams
WordPress Backend menu showing two new menu items: "CO2 Tracker" and "Teams".

The tracker CPT allows to track any emission for each team in certain categories by the actual emission, the projected emission and any savings.

Now if anyone from our team receives a new submission from one of the teams they can login to the WordPress backend and add a new emission for the teams.

The output

To also reuse the added data I created an Elementor template for all of the teams pages where we not only show a teampicture, some descriptions and a “feed” of all their emissions but also a nice tabular overview of the categories:

Image of a table on example CO2 emissions on a teams page.

The tech stack

I want to blog more about such types of projects where I can use WordPress in new ways. Therefore I wanted to share parts of the “stack” I used for those projects.

Beside a custom developed plugin for the CO2 Tracker I’ve relied on:

  • Pods for easy configuration of the CPT and meta fields
  • Elementor and Elementor Pro as a template engine and website builder


Leave a comment