add files
This commit is contained in:
17
template-parts/header/head-meta-author.php
Normal file
17
template-parts/header/head-meta-author.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<!--[header/head-meta-author]-->
|
||||
|
||||
<?php
|
||||
|
||||
$authors = implode(
|
||||
",",
|
||||
array_map(
|
||||
fn ($author) => htmlspecialchars( $author->display_name ),
|
||||
get_coauthors()
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
||||
<meta name="author" content="<?= $authors ?>" />
|
||||
|
||||
<!--[header/head-meta-author]-->
|
||||
Reference in New Issue
Block a user