Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save PascaleBeier/440be44730c4f1ac7d85d2c444dd0efc to your computer and use it in GitHub Desktop.
Save PascaleBeier/440be44730c4f1ac7d85d2c444dd0efc to your computer and use it in GitHub Desktop.
<?= wp_count_posts()->publish ?>
<?php
if ( is_home() ) { ?>
<meta name="description" content="In meinem Blog gibt es schon <?= wp_count_posts()->publish ?> Beiträge.">
<?php }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment