feat: enhance title rendering with wp_title function
Updated the header to use wp_title for more flexible and SEO-friendly title formatting. This change improves the handling of page titles by generating titles dynamically based on the context, providing better SEO and user experience.
This commit is contained in:
parent
98a3faf4ed
commit
bc77ba4aba
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title><?php bloginfo('name'); ?> - <?php bloginfo('description'); ?></title>
|
||||
<title><?php wp_title('|', true, 'right'); ?></title>
|
||||
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>">
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
|
|
Loading…
Reference in a new issue