Skip to content

Commit

Permalink
add: og:site_name meta tag
Browse files Browse the repository at this point in the history
`og:site_name` is used on platforms like Telegram.
  • Loading branch information
HolgerHuo authored Apr 14, 2022
1 parent ceb4579 commit 2347eb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
<?php }else{ ?>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
<?php } ?>
<meta property="og:site_name" content="<?php echo get_bloginfo('name');?>">
<meta property="og:title" content="<?php echo wp_get_document_title();?>">
<meta property="og:type" content="article">
<meta property="og:url" content="<?php echo home_url(add_query_arg(array(),$wp->request));?>">
Expand Down

0 comments on commit 2347eb6

Please sign in to comment.