From 69a84618f0b7820465072de47e6624b1373049b5 Mon Sep 17 00:00:00 2001 From: Syed Imran <41104393+syedimran22@users.noreply.github.com> Date: Wed, 17 Jun 2020 12:53:20 +0530 Subject: [PATCH] #4550 Merged in 1.0.52 --- templates/design-manager/design-1/elements/meta-info.php | 1 + templates/design-manager/design-2/elements/meta-info.php | 1 + templates/design-manager/design-3/elements/meta-info.php | 3 ++- templates/design-manager/swift/single.php | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/templates/design-manager/design-1/elements/meta-info.php b/templates/design-manager/design-1/elements/meta-info.php index 3aa775e81..87bacd2de 100644 --- a/templates/design-manager/design-1/elements/meta-info.php +++ b/templates/design-manager/design-1/elements/meta-info.php @@ -46,6 +46,7 @@ echo esc_attr(apply_filters('ampforwp_modify_post_date', ampforwp_translation($redux_builder_amp['amp-translator-on-text'], 'On') . ' ' . $date )); }?> + diff --git a/templates/design-manager/design-2/elements/meta-info.php b/templates/design-manager/design-2/elements/meta-info.php index d398fc221..833c83e23 100644 --- a/templates/design-manager/design-2/elements/meta-info.php +++ b/templates/design-manager/design-2/elements/meta-info.php @@ -29,6 +29,7 @@ } echo esc_attr(apply_filters('ampforwp_modify_post_date', ampforwp_translation($redux_builder_amp['amp-translator-on-text'], 'On') . ' ' . $date )) ?> + diff --git a/templates/design-manager/design-3/elements/meta-info.php b/templates/design-manager/design-3/elements/meta-info.php index 1be898541..cb0fe6406 100644 --- a/templates/design-manager/design-3/elements/meta-info.php +++ b/templates/design-manager/design-3/elements/meta-info.php @@ -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 (''. esc_html($cat->name) .''); + echo (''. esc_html($cat->name) .''); + do_action('ampforwp_post_views_ct'); }else{ echo ''. esc_html($cat->name) .''; } diff --git a/templates/design-manager/swift/single.php b/templates/design-manager/swift/single.php index 3b567c275..cd58c3dd6 100644 --- a/templates/design-manager/swift/single.php +++ b/templates/design-manager/swift/single.php @@ -102,7 +102,7 @@
- +