fix: add title-tag theme support for proper <title> output (v1.0.2)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
3620d9b1d1
commit
702c0c35f4
4 files changed
+33
-2
No files matched your search
@@ -23,6 +23,9 @@ if ( file_exists( get_template_directory() . '/vendor/autoload.php' ) ) {
|
||||
*/
|
||||
if ( ! function_exists( 'wp_bootstrap_setup' ) ) :
|
||||
function wp_bootstrap_setup() {
|
||||
// Add support for automatic document title tag.
|
||||
add_theme_support( 'title-tag' );
|
||||
|
||||
// Add support for post formats.
|
||||
add_theme_support( 'post-formats', array(
|
||||
'aside', 'audio', 'chat', 'gallery', 'image',
|
||||
|
||||
Reference in new issue
Block a user