From 543fbbcb3710d750f89b60d474fc60d04a702e0b Mon Sep 17 00:00:00 2001 From: Kurtis Holsapple Date: Tue, 6 May 2025 08:33:55 -0700 Subject: [PATCH] WIP --- config.php | 5 +++++ tpl/header.tpl | 50 -------------------------------------------------- tpl/index.tpl | 39 --------------------------------------- 3 files changed, 5 insertions(+), 89 deletions(-) diff --git a/config.php b/config.php index 7d1fda2..abd9a52 100644 --- a/config.php +++ b/config.php @@ -72,5 +72,10 @@ return [ */ "disable" => [ "editor", + "gutenberg", + "customizer", + "emojis", + "meta-generator", + "patterns", ], ]; diff --git a/tpl/header.tpl b/tpl/header.tpl index bf4d2d6..5fa6115 100644 --- a/tpl/header.tpl +++ b/tpl/header.tpl @@ -6,56 +6,6 @@ {{#wp-title}} - - - - - {{#wp-header}} diff --git a/tpl/index.tpl b/tpl/index.tpl index bacfef6..e69de29 100644 --- a/tpl/index.tpl +++ b/tpl/index.tpl @@ -1,39 +0,0 @@ - -
-
-

- Welcome to Rad Theme Engine! -

- - -

Get started by editing these template files to build out your site layouts and content.

-

All template files need to be valid handlebars files, with tags that look like this: {{#raw}}{{#formatDate now}}{{/raw}}. Note: the now variable got its value passed by the PHP file to this template, and the #formatDate prefix is a handlebars helper. You can write your own helpers very easily, and RAD comes preloaded with a bunch of really useful ones!

- -

That tag is rendered into this: {{#formatDate now }}

-
-
-
- -
-
-

We also passed the WordPress saved content to this template, asking specifically for the content, title, and published_at date. Here is a quick example of how to use that data:

-

Title: {{ post.title }}

-

Published: {{ post.published_at }}

-

Content:

- {{{ post.content }}} -
-
-
- -
-

- For more help getting started on your new RAD project, visit the
- RAD Theme Engine Docs -

-