New Wagtail Course! 🥳 The Ultimate Wagtail Developers Course

Tutorial Wagtail Version: 2.x

13. Adding Code and Code Blocks to StreamField in Wagtail

Related tutorials

12. Adding Embedded Video to StreamField in Wagtail

Posted on

View lesson, 12. Adding Embedded Video to StreamField in Wagtail

Adding Custom StreamField Logic

Posted on

There will be times when you need to provide multiple optional fields in a StreamField, and naturally we lean towards using logic in the template. In this video we're going to learn how to pull out template logic and use Python instead. In this example we'll be using a StructValue and StructBlock to return a single URL in the template even though the StreamField has a PageChooserBlock and a URLBlock (pick one and return it).

View lesson, Adding Custom StreamField Logic

How to use Orderables in Wagtail CMS

Posted on

Discover how to use Djangos Inline Models within a Wagtail Page in a feature called Orderable. Orderables let you add movable content to your page without needing a StreamField. In this video, we'll create a Bootstrap 4 Image Gallery on our Home Page model using an Orderable.

View lesson, How to use Orderables in Wagtail CMS

Adding Custom CSS and JavaScript to Your Admin Area

Posted on

Customizing the styling and adding some additional JavaScript functionality to your Wagtail Admin (backend) is often a good idea for user experience and a higher perceived value for clients. In this tutorial I'll show you how to add a custom .css and .js file to your /admin/ area so you can give your clients a truly customized experience.

View lesson, Adding Custom CSS and JavaScript to Your Admin Area

The Ultimate Wagtail Developers Course

This course covers everything from basic installation to advanced features like custom blocks and API integration, it's perfect for developers looking to enhance their skills with this powerful CMS.

Ultimate Wagtail Developers Course Logo