Created
July 19, 2023 17:40
-
-
Save cdils/437496f43e3d546bc48f3bb39f08d35d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** Template for displaying single posts. | |
* | |
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post | |
*/ | |
// Theme template stuff | |
// Blah blah | |
the_loop() | |
// Load helper functions if we haven't already so that we can call get_reusable_block(). | |
if ( ! function_exists( 'get_reusable_block' ) ) { | |
require_once get_stylesheet_directory() . '/inc/helpers.php'; | |
} | |
//Display 'The Title of My Reusable Block' reusable block. | |
echo get_reusable_block( 'The Title of My Reusable Block' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment