Skip to content

Commit

Permalink
Added/Fixed hAtom entries
Browse files Browse the repository at this point in the history
Fixed/added hEntry tags for hAtom compliance (line 12, 24, 25, 26) -
date updated, author, entry-title
  • Loading branch information
Andre Bulatov committed Jan 14, 2016
1 parent f1c1e13 commit ee7a6f8
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions wp-content/themes/mag-wp/single.php
Expand Up @@ -9,7 +9,7 @@
<div class="wrap-fullwidth">


<div class="single-content">
<div class="single-content hentry">

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="entry-top">
Expand All @@ -21,9 +21,9 @@
<?php if(get_the_author_meta('google')) { ?><li class="google"><a target="_blank" href="//plus.google.com/<?php echo the_author_meta('google'); ?>?rel=author"><i class="fa fa-google-plus"></i></a></li><?php } ?>
</ul>
</div>
<h1 class="article-title"><?php the_title(); ?></h1>
<span class="time"><?php echo time_ago_anthemes(); ?> <?php _e('ago', 'anthemes'); ?></span>
<span><?php _e('written by', 'anthemes'); ?> <?php the_author_posts_link(); ?></span>
<h1 class="article-title entry-title"><?php the_title(); ?></h1>
<span class="time date updated"><?php echo time_ago_anthemes(); ?> <?php _e('ago', 'anthemes'); ?></span>
<span class="vcard author"><?php _e('written by', 'anthemes'); ?> <?php the_author_posts_link(); ?></span>
</div><div class="clear"></div>
<?php endwhile; endif; ?>

Expand Down Expand Up @@ -76,20 +76,16 @@
<?php } ?>

<div class="clear"></div>
<?php // <div id="single-share">
// <div class="pw-server-widget" data-id="wid-6n09bahf"></div>
// <!-- end #single-share --> ?>
<div id="single-share"></div>
<!-- end #single-share -->

</div><!-- end .media-single-content -->

<div class="entry">
<!-- entry content -->
<!-- entry content -->
<div class="pw-server-widget" data-id="wid-6n09bahf"></div>
<div class="p-first-letter">
<?php if (!empty($smof_data['ads_entry_top'])) { ?>
<div class="entry-img-300">
<?php echo get_template_part('custom/advertisement/unit/mpu'); ?>
</div>
<?php } ?>
<?php if ( !empty( $post->post_excerpt ) ) : the_excerpt(); else : false; endif; ?>
<?php the_content(''); // content ?>
Expand Down Expand Up @@ -117,10 +113,6 @@
</article><!-- end article -->


<div class="single-728">
<?php echo get_template_part('custom/advertisement/unit/leaderboard2'); ?>
</div>

<!-- Recent and related Articles -->
<div class="related-box">
<!-- Recent -->
Expand Down Expand Up @@ -218,4 +210,4 @@
<div class="clear"></div>
</div><!-- end .wrap-fullwidth -->

<?php get_footer(); // add footer ?>
<?php get_footer(); // add footer ?>

0 comments on commit ee7a6f8

Please sign in to comment.