Skip to content

Commit

Permalink
#4550 Merged in 1.0.52
Browse files Browse the repository at this point in the history
  • Loading branch information
syedimran22 committed Jun 17, 2020
1 parent 69c0fbd commit 69a8461
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions templates/design-manager/design-1/elements/meta-info.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
echo esc_attr(apply_filters('ampforwp_modify_post_date', ampforwp_translation($redux_builder_amp['amp-translator-on-text'], 'On') . ' ' . $date ));
}?>
</time>
<?php do_action('ampforwp_post_views_ct'); ?>
</div>

</div>
Expand Down
1 change: 1 addition & 0 deletions templates/design-manager/design-2/elements/meta-info.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
}
echo esc_attr(apply_filters('ampforwp_modify_post_date', ampforwp_translation($redux_builder_amp['amp-translator-on-text'], 'On') . ' ' . $date )) ?></li>
<?php } ?>
<?php do_action('ampforwp_post_views'); ?>
</div>
<?php endif; ?>

Expand Down
3 changes: 2 additions & 1 deletion templates/design-manager/design-3/elements/meta-info.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
if( true == ampforwp_get_setting('ampforwp-archive-support') && true == ampforwp_get_setting('ampforwp-archive-support-cat')){
$cat_link = ampforwp_url_controller(get_category_link( $cat->term_id ));
}
echo ('<span class="amp-cat-'.esc_attr($cat->term_id).'"><a href="'.esc_url($cat_link). '" >'. esc_html($cat->name) .'</a></span>');
echo ('<span class="amp-cat-'.esc_attr($cat->term_id).'"><a href="'.esc_url($cat_link). '" >'. esc_html($cat->name) .'</a></span>');
do_action('ampforwp_post_views_ct');
}else{
echo '<span class="amp-cat">'. esc_html($cat->name) .'</span>';
}
Expand Down
2 changes: 1 addition & 1 deletion templates/design-manager/swift/single.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
<div class="post-date">
<?php amp_date(); ?><?php edit_post_link(); ?>
</div>

<?php do_action('ampforwp_post_views_ctr'); ?>
<?php }
if ( ampforwp_get_setting('rp_design_type') == '1' && true == ampforwp_get_setting('ampforwp-single-related-posts-switch')) {
$my_query = ampforwp_related_post_loop_query();
Expand Down

0 comments on commit 69a8461

Please sign in to comment.