Skip to content

Commit

Permalink
Added CollectionPage Schema differentiation for Author Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Bulatov committed Feb 14, 2016
1 parent 1c276e5 commit d1f5146
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wp-content/themes/mag-wp/header.php
Expand Up @@ -156,6 +156,8 @@
itemscope itemtype="http://schema.org/<?php
if (is_page(array(248463, 'about', 'About'))) {
echo 'AboutPage';
} elseif (is_author()) {
echo 'CollectionPage';
} elseif (is_page(array(248509, 'contact-us', 'Contact Us'))) {
echo 'ContactPage';
} else {
Expand Down

0 comments on commit d1f5146

Please sign in to comment.