Beginner – Recent post links

This template is about as simple as it gets and combines static HTML tags (like p, strong, and a) with dynamic tags (like Loop, Field, and If). This template contains a post loop that uses the 'count' attribute to only show three posts. For…

Beginner – Redirect a user if they aren’t an admin

The template below is a fairly simple demonstration of the If tag that contains the three main parts of most conditions: a subject (the thing that's being evaluated), a comparison (what to do with the subject), and a value (the value being…

Beginner – Template shortcode example

This template is designed to showcase how you can use the shortcode to render your templates anywhere on your site that accepts shortcodes, regardless of the page builder you use. To render a template using the shortcode, simply reference…