/
single.php
33 lines (30 loc) · 1.13 KB
/
single.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
/**
* The template for displaying all single posts
*
* This theme, out of the box, references the correspondingly named html file
* in the parts folder. This strategy leverages the quasi-block editor
* approach that Forum One is taking. If, for the purposes of your current
* build, it necessitates managing your template in PHP rather than the
* editor, you can use the following reference as a starter guide.
*
* Creating a php based single page.
*
* @link https://developer.wordpress.org/themes/template-files-section/post-template-files/#single-php
*
* Creating a custom post type template in php.
* @link https://developer.wordpress.org/themes/template-files-section/custom-post-type-template-files/
*
* Futher information about block template parts in traditional theme.
* @link https://make.wordpress.org/core/2022/10/04/block-based-template-parts-in-traditional-themes/
*
* Further information about the Wordpress template hierarchy.
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
*
* @package Gesso
*/
get_header();
?>
<?php block_template_part( 'single' ); ?>
<?php
get_footer();