7 Comments

  1. Andrew Starr
    · Reply

    This issue came up with my Pria theme. I wanted a page template with the page title within a cover block, but with no way to include a cover image due to the dynamic nature of the root directory, had to make do with just giving the cover block a background color.

    Also for the base theme of my WP Block Patterns site, I wanted the current number of preview themes do be displayed dynamically. Basically to avoid manually editing this every time in the page content.
    As I have yet to learn how to develop blocks, my solution was using the Shortcode block on the page, with a call to a custom PHP shortcode that would return this number dynamically.

    Themes adding their own shortcodes or creating their own blocks would obviously not be allowed in the org directory, so this new Pattern block would be the ideal solution.
    Additionally the placeholder content can be changed by the user and would not be lost when switching themes.

    Report

    • Justin Tadlock
      · Reply

      I wanted a page template with the page title within a cover block, but with no way to include a cover image due to the dynamic nature of the root directory, had to make do with just giving the cover block a background color.

      Another way to tackle this would be if there was an easy way to use the featured image as the Cover block image.

      Report

  2. Gary Taylor
    · Reply

    Gosh, that is a lovely theme. I might even make it my new default next year (with a few amends, of course). I even like the not-so dark mode.

    Thanks for sharing it with us!

    Report

    • Justin Tadlock
      · Reply

      You’re welcome. :) I definitely wanted to work it into a post in some way because it is just a nice blogging theme that should be shared.

      Report

    • Andrew Starr
      · Reply

      Agreed. Bai is a very nice theme.

      Slightly disappointing to find it doesn’t bundle any patterns. Would really help to show off the theme IMO.

      If the theme author happens to read this, I would be interested to know why they chose not to include any patterns.

      Report

  3. Brian Gardner
    · Reply

    Just a quick note to say how pleased I was when I saw the Bai theme demo. Props to the team at Seed Webs for designing something simple and beautiful yet showcases the abilities of the block editor. 👏👏👏

    Report

  4. Bobby Thompson
    · Reply

    Trying out Bai for the first time – is it common to use the html blocks in the header or footer or they just did that for inserting the svg code?

    I just can’t get myself to use the site editor until it looks like something usable. I keep trying…

    Report

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: