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:
Kumi 2024-06-20 15:02:13 +02:00
parent 98a3faf4ed
commit bc77ba4aba
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -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>