# ablocks/2.9.1/addons/theme-builder/compatibility/fallback.php

aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder &amp; Animation Builder, version 2.9.1. 24 lines.

- Page: https://pluginprobe.com/plugins/ablocks/2.9.1/code/addons/theme-builder/compatibility/fallback.php
- Raw: https://pluginprobe.com/plugins/ablocks/2.9.1/raw/addons/theme-builder/compatibility/fallback.php
- Modified: 2025-04-22T12:59:06+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ablocks/2.9.1/code/addons/theme-builder/compatibility/fallback.php#L10-L20`.

```php
<?php
namespace ABlocksThemeBuilder\Compatibility;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

use ABlocksThemeBuilder\AbstractCompatibilityBase;

class Fallback extends AbstractCompatibilityBase {

	public function render_header() {
		echo $this->get_rendered_block_content_by_id( $this->get_settings( 'header' ) );
	}

	public function render_footer() {
		echo $this->get_rendered_block_content_by_id( $this->get_settings( 'footer' ) );
	}

	public function render_before_footer() {
		echo $this->get_rendered_block_content_by_id( $this->get_settings( 'before-footer' ) );
	}
}

```
