vector vector vector vector
● LIVE LESSON
Instructor
Live coding lesson

Custom Post Types

Module 3 · taught step by step

register-tutorial.php
Student🎧
Sofia listening…
Understanding
👍 Got it!

Learn it by watching

€0.01 · 5-day trial · 40 lessons

Start your trial →
Instructor

Watch a lesson in action

Press play for a quick tour of what's inside — from writing your first hook in a real editor to the full 40-lesson roadmap across themes, the REST API and Gutenberg blocks.

  • icon

    Real screen-recorded walkthroughs you can code along with.

  • icon

    Downloadable source code for every single lesson.

Unlock all 40 lessons icon
Curriculum

The full curriculum

Five modules · 40 video lessons · two real projects you build from scratch — a custom theme and a plugin.

✦ And it keeps growing — new lessons are added regularly, so your skills stay current.

Hands-on

Real code, explained line by line

Exactly the kind of code you write in Module 3.

<?php
/**
 * Register a "Tutorial" custom post type and a custom read-time filter.
 * The exact kind of code you write in Module 3.
 */
add_action( 'init', function () {
    register_post_type( 'tutorial', [
        'labels'       => [ 'name' => 'Tutorials', 'singular_name' => 'Tutorial' ],
        'public'       => true,
        'has_archive'  => true,
        'show_in_rest' => true,            // exposes it to the Block editor + REST API
        'menu_icon'    => 'dashicons-video-alt3',
        'supports'     => [ 'title', 'editor', 'thumbnail', 'excerpt' ],
        'rewrite'      => [ 'slug' => 'tutorials' ],
    ] );
} );

add_filter( 'the_content', function ( $content ) {
    if ( is_singular( 'tutorial' ) ) {
        $minutes  = max( 1, (int) ceil( str_word_count( wp_strip_all_tags( $content ) ) / 200 ) );
        $content  = '<p class="read-time">⏱ ' . $minutes . ' min read</p>' . $content;
    }
    return $content;
} );

— the same pattern you'll write in Module 3, line by line.

Membership

Everything you get inside

40+ HD video lessons

Structured, code-along tutorials covering themes, plugins, the REST API and Gutenberg blocks — with brand-new lessons added every month.

Source code & cheat sheets

Download the finished code for every lesson, plus printable PDF references for hooks, template tags and WP-CLI.

Two real projects

Finish having built and deployed a complete custom theme and a working plugin you can put in your portfolio.

line line Person Person Person Person Person Person

Join developers levelling up their WordPress skills

Start learning today icon
line line

Ready to build with WordPress?

Pay €0.01 to create your account and start a 5-day trial. Get instant access to all 40 lessons. Cancel anytime.

Start Learning Now icon