Skip to content

Commit

Permalink
ADDed WPFooter Schema.org
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Bulatov committed Jan 20, 2016
1 parent a2bf2a0 commit 27d372c
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions wp-content/themes/mag-wp/footer.php
@@ -1,11 +1,29 @@
<?php
/*-----------------------------------------------------------------------------------*/
/* Start Footer
/*-----------------------------------------------------------------------------------*/
/**
*
* The template for displaying the footer
*
* Displays all of the <head> section and everything up till <div id="main">
*
* @package WordPress
* @subpackage Earmilk Theme
* @since Earmilk ...
*/
?>
<?php
// Options from admin panel
global $smof_data;

?>

<!-- Begin Footer -->
<footer>
<footer role="contentinfo"
itemprop="hasPart" itemscope itemtype="http://schema.org/WPFooter">
<meta itemprop="name" content="EARMILK Site Footer" />
<meta itemprop="description" content="This is the footer for EARMILK.com" />
<div class="footer-section">
<div class="social-section">
<!-- footer social icons. -->
Expand All @@ -29,7 +47,7 @@
</div><div class="clear"></div>
</div>

<div class="copyright">
<div class="copyright" itemprop="creator copyrightHolder copyrightYear" itemscope itemtype="http://schema.org/Organization">
<?php if (!empty($smof_data['copyright_footer'])) { ?>
<?php echo stripslashes($smof_data['copyright_footer']); ?>
<?php } ?>
Expand Down

0 comments on commit 27d372c

Please sign in to comment.