PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 3.3.4
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v3.3.4
4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 3.4.2 3.5.0 3.5.1 3.5.2 All 199 releases
betterdocs / includes / Editors / BlockEditor / Patterns / DocsPage.php

DocsPage.php in BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 3.3.4, at includes/Editors/BlockEditor/Patterns/DocsPage.php

26 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace WPDeveloper\BetterDocs\Editors\BlockEditor\Patterns;
3
4
5 class DocsPage extends BasePattern {
6
7 public function register() {
8 register_block_pattern(
9 'betterdocs/doc-category-archive',
10 array(
11 'title' => __( 'Docs Page', 'betterdocs' ),
12 'description' => _x( 'Docs Category Archive Layout', 'Block pattern description', 'betterdocs' ),
13 'content' => '<!-- wp:group {"layout":{"inherit":true,"contentSize":"1400px","type":"constrained"}} -->
14 <div class="wp-block-group">
15 <!-- wp:betterdocs/searchbox {"template":"archive-docs"} /-->
16 <!-- wp:betterdocs/categorygrid {"template":"archive-docs"} /-->
17 </div>
18 <!-- /wp:group -->',
19 'categories' => array( 'betterdocs-docs-page' ),
20 'keywords' => array( 'betterdocs', 'docs page', 'category grid layout' ),
21 'viewportWidth' => 800,
22 )
23 );
24 }
25 }
26