/ollie

A finely-crafted WordPress block theme by Mike McAlister

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

Ollie — A WordPress Block Theme

Image

Ollie is a modern WordPress block theme by Mike McAlister. Ollie is built to work seamlessly with the WordPress block editor and site editor, where you can create beautiful, fully-customizable websites with WordPress's built-in page builder — no page builder or coding skills required.

Ollie ships with over 50 beautifully-designed patterns, page templates, block styles, and style variations so you can design stunning pages quickly with drag and drop instead of code. Ollie is also blazing fast, fully customizable via the WordPress UI, fully responsive out of the box, and scores 100% across the board on performance.

My goal with OllieWP.com and this theme is to help educate both long-time and new WordPress creators about the many powerful, new features WordPress has to offer. Please feel free to dig through the code and learn a bit more about how to make WordPress block themes. ✌️

Table of Contents

Getting Started with Ollie

Links Description
View Ollie Demo Check out a full live demo of the Ollie theme.
Download Ollie Theme Zip Download the latest Ollie theme zip to install on your WordPress site.
Download Ollie Child Theme Zip Download the Ollie child theme zip for customizations
Download Ollie LocalWP Blueprint Zip Download a zip of the Ollie demo site that can be imported into LocalWP.

Ollie is built for modern WordPress features and requires WordPress 6.0 or later. To get started, download the theme and install it into your WordPress website by going to Appearance → Themes → Add New.

Local Blueprint

I've also included a blueprint of the Ollie demo site that can be imported into LocalWP. This will create a site exactly like you see on the demo, cutting out all the setup steps. Simply download the blueprint and drag the zip file onto the LocalWP app to create the site.

Use the username ollie and password demo to log in to the blueprint.

Working with Block Themes

Once you activate Ollie, it will largely behave like any other traditional WordPress theme. You can create posts and pages just like you always have. However, as a block theme, Ollie also supports powerful new features like the site editor, patterns, global styles, and more.

A block theme is a WordPress theme with templates entirely composed of blocks so that in addition to post and page content, the block editor can also be used to edit all areas of the site — headers, footers, templates, and more.

Site Editor

The WordPress site editor is the new way to build beautiful websites with WordPress. Using blocks, patterns, and a full suite of drag-and-drop design tools, you can build pages right inside WordPress without an extra page builder.

To edit your site via the site editor, go to Appearance → Editor. Here, you can create and edit templates, create menus, customize your website styles, color palette, typography, block styles, and much more. This interface is where you'll design and build your site before exporting it later.

site-editor.mp4

Patterns

Patterns are pre-designed page elements that can be used to quickly design a page section or a full page layout. Instead of designing a page from scratch, WordPress creators can now lean on patterns to quickly design their full website in the WordPress Site Editor.

You can access Ollie's patterns via the block inserter on posts, pages, or in the site editor.

Creating page designs with patterns

To create the pages you see on the Ollie theme demo, simply insert Ollie's full-page patterns onto any page, and apply the No Page Title template via the editor sidebar. This template removes the default page title, which better accommodates the full-page patterns, so make sure you have an H1 in your design for SEO best practices.

patterns-4k.mp4

Global Styles

Global styles is the user interface in the Site Editor where you can modify all the styles associated with your site. This could be typography, fonts, button colors, link colors, layout defaults, and more.

Global styles is powered by a theme.json in the root of the theme folder. This configuration file lets you define site-wide and block-specific styles to be used by the global styles interface.

global-styles.mp4

Template Parts

A template part is a part of your site that appears across most or all pages. The most common template parts are for the header, footer, and sidebar of a website. Template parts let you easily make global changes to the design or markup of global site elements.

template-parts.mp4

Export Your Site

Once you've finished building and customizing your site with the site editor, you can export a zip to install on another site. While in the site editor, go to the Options menu (upper right hand corner), and select Export under the Tools heading. WordPress will write all of your changes to a theme zip file.

export.mp4

Developer Notes

The Ollie theme works out of the box, so no build steps are required. However, I have included a Composer file that is used for linting to PHP and WordPress core standards.

  • composer run lint
  • composer run wpcs:scan
  • composer run wpcs:fix

License

Ollie is licensed under the GPL-3.0 license.

Beta Feedback

Ollie is currently in beta and looking for any and all feedback. Please open a new issue for bug reports, feature requests, or general feedback.

About the Creator

Ollie was created by Mike McAlister, a code-slinging, pixel-pushing, team-building, award-winning creator from Planet Earth.