author | ymh <ymh.work@gmail.com> |
Fri, 05 Sep 2025 18:40:08 +0200 | |
changeset 21 | 48c4eec2b7e6 |
parent 19 | 3d72ae0968f4 |
permissions | -rw-r--r-- |
18 | 1 |
<?php |
2 |
/** |
|
3 |
* Template canvas file to render the current 'wp_template'. |
|
4 |
* |
|
5 |
* @package WordPress |
|
6 |
*/ |
|
7 |
||
19 | 8 |
/* |
18 | 9 |
* Get the template HTML. |
10 |
* This needs to run before <head> so that blocks can add scripts and styles in wp_head(). |
|
11 |
*/ |
|
12 |
$template_html = get_the_block_template_html(); |
|
19 | 13 |
?><!DOCTYPE html> |
18 | 14 |
<html <?php language_attributes(); ?>> |
15 |
<head> |
|
16 |
<meta charset="<?php bloginfo( 'charset' ); ?>" /> |
|
17 |
<?php wp_head(); ?> |
|
18 |
</head> |
|
19 |
||
20 |
<body <?php body_class(); ?>> |
|
21 |
<?php wp_body_open(); ?> |
|
22 |
||
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
23 |
<?php echo $template_html; ?> |
18 | 24 |
|
25 |
<?php wp_footer(); ?> |
|
26 |
</body> |
|
27 |
</html> |