DEV Community

Paul
Paul

Posted on • Originally published at eichefam.net

Ankur, a WordPress block theme for everyone

Introducing a new WordPress block theme with support for color variations and custom patterns.

Screenshot of Ankur

Ankur is a block theme for WordPress. It’s named after a Sanskrit word which means “flower” or “blossom,” imagery often used to depict a new beginning. At the same time, an anchor (because I love wordplay) symbolizes stability and confidence. With Ankur as the fully customizable starting point, whether as a brand new site or revamping an existing one, you can tell your story with clean typography and bold colors.

Theme style variants

Ankur comes bundled with multiple style variants: light, dark, and three nature-themed alternates.

Screenshot of color variations

To apply one of these styles, open the new Site Editor and select the Styles menu item. In the Styles sidebar, you’ll be able to pick your theme’s style.

Screenshot of Ankur using the "woody" color theme

Choose the one that speaks to you, and click Save to apply it to your site.

Default patterns and customization

Ankur also comes bundled with several patterns to give you a head start in making your site your own. A little bit of everything is included: headers and footers, featured content areas, post previews, and even a custom large blockquote.

Screenshot of Ankur's included block patterns

Remember that you don’t just have to use what Ankur provides, either. Click the three-dot menu on any pattern and select “Copy to My patterns” to customize it to your liking.

Screenshot of a website's patterns

Goodbye child themes, probably

The WordPress site editor removes, in large part, the necessity to create a child theme. For style or design changes, it’s no longer a requirement; simply make your changes and save right in the editor.

My own website is, however, running a child theme of Ankur. The reason for this is — beyond simply because “Paul is a programmer” — I have custom functionality not needed for a general-purpose theme. For example, I have a color theme switcher in the site footer. The custom JavaScript for this functionality is not included in the base theme. (In fact, no custom JavaScript is included with Ankur.) Therefore, child theme.

Screenshot of my website's footer

I also use a custom plugin and service to handle the search functionality. The service is a cloud search called Algolia (and I highly recommend them, I don’t get paid to say it but they’re awesome). The templates I use for displaying the search results are custom. So again, a child theme is necessary for that.

Screenshot of my website's search page

But if you don’t need to do anything super custom, then you probably don’t need a child theme.

Top comments (0)