Jake Vanderwerf
2026-03-29 275c0d74cd68677622a5431505c5c870c473063d
inc/blocks/CustomBlocks.php
@@ -18,7 +18,7 @@
    {
        $this->cache = Cache::for('blocks', WEEK_IN_SECONDS);
      $this->cache->connect('post')->connect('taxonomy');
      add_filter('render_block', [$this, 'render'], 990, 3);
      add_filter('render_block', [$this, 'render'], 900, 3);
        add_action('init', [$this, 'registerBlockStyles']);
    }
@@ -613,10 +613,14 @@
            'main';
        if ($content == '') {
         global $post;
         if(is_singular()) {
            global $post;
         $block['innerBlocks'] = parse_blocks($post->post_content);
         $result = $this->innerBlocks($block);
            $block['innerBlocks'] = parse_blocks($post->post_content);
            $result = $this->innerBlocks($block);
         }else {
            $result = '';
         }
        } else {
            $result = $this->inside($block, $tag, $content);
        }