AMP for WP – Accelerated Mobile Pages - Version 0.9.74

Version Description

(23rd January 2018) = * View More details on the blog post * Fixed: Push Notifications button alligned in center #1500 * Added: Meta robots tag support from Yoast #1563 * Added: Option to Disable wptexturize/smart-quotes Support #1458 * Fixed: Changed the label id to avoid conflict with Advanced AMP Ads #1591 * Fixed: esc_attr causing validation issues with single and double quotes #1616 * Fixed: Image stretching problem resolved when "Featured Image from the content" was set #1580 #1582 * Added: Create Template by Custom taxonomy name like product-jeans.php in AMP Theme FrameWork #1594 * Added: Custom Post type support added in the Core #1612 * Fixed: custom-amp-content.php cleaned with PHPCS #1497 * Added: Basic Product(WooCommerce) support added #992 #1276 for full WooCommerce Support please check this Extension * Added: Proper fallback support added if the current active AMP theme is not available #1624 * Fixed: Resolved debug errors #1622 * Added: All in One SEO compatibility #1557 * Fixed: Load AMP Styling only on AMP pages #1441 * Added: 7 New Social Media Integrations added (Reddit, Tumblr, Telegram, Digg, StumbleUpon, Wechat, Viber) #1265 * Fixed: itemprop="url" was adding in non-amp #1626 * Fixed: SiteOrigin Pagebuilder compatibility with Custom Frontpage #1592 #1593 * Added: MediaAce lazy load compatibility of Bibmer Theme #1472 * Fixed: Content Links plugin was causing validation errors #1569 * Added: Filter added called get_content_from_dom to modify the output in AMP function #1462 * Added: amp_breadcrumb component added in AMP Theme Framework #1636 * Fixed: Sidebar Styling and proper sanitizer updated * Added: amp_author_meta component added in AMP Theme Framework #1641 * Fixed: amp_post_pagination component improvement in AMP Theme Framework * Added: Ability to add link classes in amp_post_pagination in AMP Theme Framework * Fixed: amp_author_meta image code improvement in AMP Theme Framework

Download this release

Release Info

Developer mohammed_kaludi
Plugin Icon 128x128 AMP for WP – Accelerated Mobile Pages
Version 0.9.74
Comparing to
See all releases

Code changes from version 0.9.73 to 0.9.74

README.md CHANGED
@@ -4,7 +4,7 @@ Tags: AMP, accelerated mobile pages, mobile, amp project, google amp, amp wp, go
4
  Donate link: https://www.paypal.me/Kaludi/25
5
  Requires at least: 3.0
6
  Tested up to: 4.9.1
7
- Stable tag: 0.9.73
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -97,6 +97,7 @@ Bug reports for AMP for WP are [welcomed on GitHub](https://github.com/ahmedkalu
97
  * NEW - AMP Installation Wizard that makes it easy to setup for new users.
98
  * NEW - Category base remover support
99
  * NEW - Tag base remover support
 
100
  * NEW - AMP Theme Framework Core Support Added. You can now create AMP templates of your own in just minutes. **[More](https://ampforwp.com/amp-theme-framework/)**
101
 
102
  **[JOIN CHAT GROUP COMMUNITY](http://ampforwp.com/community/)**: Purpose of this group is to get proper suggestions and feedback from plugin users and the community so that we can make the plugin even better.
@@ -177,6 +178,35 @@ You can contact us from [here](http://ampforwp.com/contact/)
177
 
178
  == Changelog ==
179
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
180
  = 0.9.73 (15th January 2018) =
181
  * View More details on the [blog post](https://ampforwp.com/0-9-73-released-stability-update-78th-update/)
182
  * Added: Instagram Sanitizer added to process Instagram Embeds inside the BlockQuotes #1581
4
  Donate link: https://www.paypal.me/Kaludi/25
5
  Requires at least: 3.0
6
  Tested up to: 4.9.1
7
+ Stable tag: 0.9.74
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
97
  * NEW - AMP Installation Wizard that makes it easy to setup for new users.
98
  * NEW - Category base remover support
99
  * NEW - Tag base remover support
100
+ * NEW - 7 New Social Media Integrations added (Reddit, Tumblr, Telegram, Digg, StumbleUpon, Wechat, Viber)
101
  * NEW - AMP Theme Framework Core Support Added. You can now create AMP templates of your own in just minutes. **[More](https://ampforwp.com/amp-theme-framework/)**
102
 
103
  **[JOIN CHAT GROUP COMMUNITY](http://ampforwp.com/community/)**: Purpose of this group is to get proper suggestions and feedback from plugin users and the community so that we can make the plugin even better.
178
 
179
  == Changelog ==
180
 
181
+ = 0.9.74 (23rd January 2018) =
182
+ * View More details on the [blog post](https://ampforwp.com/0-9-74-released-stability-update-79th-update/)
183
+ * Fixed: Push Notifications button alligned in center #1500
184
+ * Added: Meta robots tag support from Yoast #1563
185
+ * Added: Option to Disable wptexturize/smart-quotes Support #1458
186
+ * Fixed: Changed the label id to avoid conflict with Advanced AMP Ads #1591
187
+ * Fixed: esc_attr causing validation issues with single and double quotes #1616
188
+ * Fixed: Image stretching problem resolved when "Featured Image from the content" was set #1580 #1582
189
+ * Added: Create Template by Custom taxonomy name like product-jeans.php in AMP Theme FrameWork #1594
190
+ * Added: Custom Post type support added in the Core #1612
191
+ * Fixed: custom-amp-content.php cleaned with PHPCS #1497
192
+ * Added: Basic Product(WooCommerce) support added #992 #1276 for full WooCommerce Support please check this [Extension](https://ampforwp.com/woocommerce/#utm_source=readme-log&utm_medium=0.9.74-readme&utm_campaign=AMP%20Plugin)
193
+ * Added: Proper fallback support added if the current active AMP theme is not available #1624
194
+ * Fixed: Resolved debug errors #1622
195
+ * Added: All in One SEO compatibility #1557
196
+ * Fixed: Load AMP Styling only on AMP pages #1441
197
+ * Added: 7 New Social Media Integrations added (Reddit, Tumblr, Telegram, Digg, StumbleUpon, Wechat, Viber) #1265
198
+ * Fixed: itemprop="url" was adding in non-amp #1626
199
+ * Fixed: SiteOrigin Pagebuilder compatibility with Custom Frontpage #1592 #1593
200
+ * Added: MediaAce lazy load compatibility of Bibmer Theme #1472
201
+ * Fixed: Content Links plugin was causing validation errors #1569
202
+ * Added: Filter added called get_content_from_dom to modify the output in AMP function #1462
203
+ * Added: amp_breadcrumb component added in AMP Theme Framework #1636
204
+ * Fixed: Sidebar Styling and proper sanitizer updated
205
+ * Added: amp_author_meta component added in AMP Theme Framework #1641
206
+ * Fixed: amp_post_pagination component improvement in AMP Theme Framework
207
+ * Added: Ability to add link classes in amp_post_pagination in AMP Theme Framework
208
+ * Fixed: amp_author_meta image code improvement in AMP Theme Framework
209
+
210
  = 0.9.73 (15th January 2018) =
211
  * View More details on the [blog post](https://ampforwp.com/0-9-73-released-stability-update-78th-update/)
212
  * Added: Instagram Sanitizer added to process Instagram Embeds inside the BlockQuotes #1581
accelerated-moblie-pages.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Accelerated Mobile Pages
4
  Plugin URI: https://wordpress.org/plugins/accelerated-mobile-pages/
5
  Description: AMP for WP - Accelerated Mobile Pages for WordPress
6
- Version: 0.9.73
7
  Author: Ahmed Kaludi, Mohammed Kaludi
8
  Author URI: https://ampforwp.com/
9
  Donate link: https://www.paypal.me/Kaludi/25
@@ -19,7 +19,7 @@ define('AMPFORWP_PLUGIN_DIR_URI', plugin_dir_url(__FILE__));
19
  define('AMPFORWP_DISQUS_URL',plugin_dir_url(__FILE__).'includes/disqus.php');
20
  define('AMPFORWP_IMAGE_DIR',plugin_dir_url(__FILE__).'images');
21
  define('AMPFORWP_MAIN_PLUGIN_DIR', plugin_dir_path( __DIR__ ) );
22
- define('AMPFORWP_VERSION','0.9.73');
23
 
24
  // any changes to AMP_QUERY_VAR should be refelected here
25
  function ampforwp_generate_endpoint(){
@@ -38,10 +38,17 @@ load_plugin_textdomain( 'accelerated-mobile-pages', false, trailingslashit(AMPFO
38
  // Rewrite the Endpoints after the plugin is activate, as priority is set to 11
39
  function ampforwp_add_custom_post_support() {
40
  global $redux_builder_amp;
 
 
41
  if ( isset($redux_builder_amp['amp-on-off-for-all-pages']) && $redux_builder_amp['amp-on-off-for-all-pages'] ) {
42
- add_rewrite_endpoint( AMPFORWP_AMP_QUERY_VAR, EP_PAGES | EP_PERMALINK | EP_AUTHORS | EP_ALL_ARCHIVES | EP_ROOT );
43
  add_post_type_support( 'page', AMPFORWP_AMP_QUERY_VAR );
44
  }
 
 
 
 
 
 
45
  }
46
  add_action( 'init', 'ampforwp_add_custom_post_support',11);
47
 
3
  Plugin Name: Accelerated Mobile Pages
4
  Plugin URI: https://wordpress.org/plugins/accelerated-mobile-pages/
5
  Description: AMP for WP - Accelerated Mobile Pages for WordPress
6
+ Version: 0.9.74
7
  Author: Ahmed Kaludi, Mohammed Kaludi
8
  Author URI: https://ampforwp.com/
9
  Donate link: https://www.paypal.me/Kaludi/25
19
  define('AMPFORWP_DISQUS_URL',plugin_dir_url(__FILE__).'includes/disqus.php');
20
  define('AMPFORWP_IMAGE_DIR',plugin_dir_url(__FILE__).'images');
21
  define('AMPFORWP_MAIN_PLUGIN_DIR', plugin_dir_path( __DIR__ ) );
22
+ define('AMPFORWP_VERSION','0.9.74');
23
 
24
  // any changes to AMP_QUERY_VAR should be refelected here
25
  function ampforwp_generate_endpoint(){
38
  // Rewrite the Endpoints after the plugin is activate, as priority is set to 11
39
  function ampforwp_add_custom_post_support() {
40
  global $redux_builder_amp;
41
+ add_rewrite_endpoint( AMPFORWP_AMP_QUERY_VAR, EP_PAGES | EP_PERMALINK | EP_AUTHORS | EP_ALL_ARCHIVES | EP_ROOT );
42
+ // Pages
43
  if ( isset($redux_builder_amp['amp-on-off-for-all-pages']) && $redux_builder_amp['amp-on-off-for-all-pages'] ) {
 
44
  add_post_type_support( 'page', AMPFORWP_AMP_QUERY_VAR );
45
  }
46
+ // Custom Post Types
47
+ if ( isset($redux_builder_amp['ampforwp-custom-type'] ) && $redux_builder_amp['ampforwp-custom-type'] ) {
48
+ foreach ( $redux_builder_amp['ampforwp-custom-type'] as $custom_post ) {
49
+ add_post_type_support( $custom_post, AMP_QUERY_VAR );
50
+ }
51
+ }
52
  }
53
  add_action( 'init', 'ampforwp_add_custom_post_support',11);
54
 
components/breadcrumb/breadcrumb.php ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php function amp_breadcrumb_output(){
2
+ global $redux_builder_amp;
3
+ if( 1 == $redux_builder_amp['ampforwp-bread-crumb'] ) { ?>
4
+ <div class="amp-wp-content breadcrumb"> <?php
5
+ // Settings
6
+ $breadcrums_id = 'breadcrumbs';
7
+ $breadcrums_class = 'breadcrumbs';
8
+ $home_title = ampforwp_translation($redux_builder_amp['amp-translator-breadcrumbs-homepage-text'] , 'Homepage' );
9
+ // If you have any custom post types with custom taxonomies, put the taxonomy name below (e.g. product_cat)
10
+ $custom_taxonomy = 'product_cat';
11
+ // Get the query & post information
12
+ global $post,$wp_query;
13
+ // Do not display on the homepage
14
+ if ( !is_front_page() ) {
15
+ // Build the breadcrums
16
+ echo '<ul id="' . $breadcrums_id . '" class="' . $breadcrums_class . '">';
17
+ // Home page
18
+ echo '<li class="item-home"><a class="bread-link bread-home" href="' . ampforwp_url_controller( get_home_url('', '/') ) . '" title="' . $home_title . '">' . $home_title . '</a></li>';
19
+
20
+ if ( is_archive() && !is_tax() && !is_category() && !is_tag() && !is_author() ) {
21
+ echo '<li class="item-current item-archive"><strong class="bread-current bread-archive">' . post_type_archive_title($prefix, false) . '</strong></li>';
22
+ } else if ( is_author() ) {
23
+ global $author;
24
+
25
+ $userdata = get_userdata( $author );
26
+ $author_url= get_author_posts_url($userdata->ID);
27
+ $author_url = trailingslashit($author_url);
28
+ // Display author name
29
+ echo '<li class="item-current item-current-' . $userdata->user_nicename . '"><a class="bread-current bread-current-' . $userdata->user_nicename . '" title="' . $userdata->display_name . '" href="'. ampforwp_url_controller( $author_url ). '">' . 'Author: ' . $userdata->display_name . '</a></li>';
30
+
31
+ } else if ( is_archive() && is_tax() && !is_category() && !is_tag() ) {
32
+ // If post is a custom post type
33
+ $post_type = get_post_type();
34
+ // If it is a custom post type display name and link
35
+ if($post_type != 'post') {
36
+ $post_type_object = get_post_type_object($post_type);
37
+ $post_type_archive = get_post_type_archive_link($post_type);
38
+ $post_type_archive = trailingslashit($post_type_archive);
39
+ echo '<li class="item-cat item-custom-post-type-' . $post_type . '"><a class="bread-cat bread-custom-post-type-' . $post_type . '" href="' . ampforwp_url_controller( $post_type_archive ) . '" title="' . $post_type_object->labels->name . '">' . $post_type_object->labels->name . '</a></li>';
40
+ }
41
+ $custom_tax_name = get_queried_object()->name;
42
+ echo '<li class="item-current item-archive"><strong class="bread-current bread-archive">' . $custom_tax_name . '</strong></li>';
43
+ } else if ( is_single() ) {
44
+ // If post is a custom post type
45
+ $post_type = get_post_type();
46
+ // If it is a custom post type display name and link
47
+ if($post_type != 'post') {
48
+ $post_type_object = get_post_type_object($post_type);
49
+ $post_type_archive = get_post_type_archive_link($post_type);
50
+ $post_type_archive = trailingslashit($post_type_archive);
51
+ echo '<li class="item-cat item-custom-post-type-' . $post_type . '"><a class="bread-cat bread-custom-post-type-' . $post_type . '" href="' .ampforwp_url_controller( $post_type_archive ) . '" title="' . $post_type_object->labels->name . '">' . $post_type_object->labels->name . '</a></li>';
52
+ }
53
+ // Get post category info
54
+ $category = get_the_category();
55
+ if(!empty($category)) {
56
+ // Get last category post is in
57
+ $last_category = array_values($category);
58
+ $last_category = end($last_category);
59
+ $category_name = get_category($last_category);
60
+ // Get parent any categories and create array
61
+ $get_cat_parents = rtrim(get_category_parents($last_category->term_id, false, ','),',');
62
+ $cat_parents = explode(',',$get_cat_parents);
63
+ // Loop through parent categories and store in variable $cat_display
64
+ $cat_display = '';
65
+ foreach($cat_parents as $parents) {
66
+ $cat_id = get_cat_ID( $parents);
67
+ $cat_link = get_category_link($cat_id);
68
+ $cat_display .= '<li class="item-cat item-cat-' . $cat_id . '"><a class="bread-cat bread-cat-' . $cat_id . ' bread-cat-' . $parents. '" href="'. ampforwp_url_controller( $cat_link ).'" title="' . $parents . '">' . $parents . '</a></li>';
69
+ }
70
+ }
71
+ // If it's a custom post type within a custom taxonomy
72
+ $taxonomy_exists = taxonomy_exists($custom_taxonomy);
73
+ if(empty($last_category) && !empty($custom_taxonomy) && $taxonomy_exists) {
74
+ $taxonomy_terms = get_the_terms( $post->ID, $custom_taxonomy );
75
+ $cat_id = $taxonomy_terms[0]->term_id;
76
+ $cat_nicename = $taxonomy_terms[0]->slug;
77
+ $cat_link = get_term_link($taxonomy_terms[0]->term_id, $custom_taxonomy);
78
+ $cat_link = trailingslashit($cat_link);
79
+ $cat_name = $taxonomy_terms[0]->name;
80
+ }
81
+ // Check if the post is in a category
82
+ if(!empty($last_category)) {
83
+ echo $cat_display;
84
+ // Else if post is in a custom taxonomy
85
+ } else if(!empty($cat_id)) {
86
+ echo '<li class="item-cat item-cat-' . $cat_id . ' item-cat-' . $cat_nicename . '"><a class="bread-cat bread-cat-' . $cat_id . ' bread-cat-' . $cat_nicename . '" href="' . ampforwp_url_controller( $cat_link ) . '" title="' . $cat_name . '">' . $cat_name . '</a></li>';
87
+ }
88
+ } else if ( is_category() ) {
89
+ // Category page
90
+ echo '<li class="item-current item-cat"><strong class="bread-current bread-cat">' . single_cat_title('', false) . '</strong></li>';
91
+ } else if ( is_page() ) {
92
+ // Standard page
93
+ if( $post->post_parent ){
94
+ // If child page, get parents
95
+ $anc = get_post_ancestors( $post->ID );
96
+ // Get parents in the right order
97
+ $anc = array_reverse($anc);
98
+ // Parent page loop
99
+ if ( !isset( $parents ) ) $parents = null;
100
+ foreach ( $anc as $ancestor ) {
101
+ $parents .= '<li class="item-parent item-parent-' . $ancestor . '"><a class="bread-parent bread-parent-' . $ancestor . '" href="' . ampforwp_url_controller( get_permalink( $ancestor ) ) . '" title="' . get_the_title($ancestor) . '">' . get_the_title($ancestor) . '</a></li>';
102
+ }
103
+ // Display parent pages
104
+ echo $parents;
105
+ // Current page
106
+ }
107
+ } else if ( is_tag() ) {
108
+ // Tag page
109
+ // Get tag information
110
+ $term_id = get_query_var('tag_id');
111
+ $taxonomy = 'post_tag';
112
+ $args = 'include=' . $term_id;
113
+ $terms = get_terms( $taxonomy, $args );
114
+ $get_term_id = $terms[0]->term_id;
115
+ $get_term_slug = $terms[0]->slug;
116
+ $get_term_name = $terms[0]->name;
117
+ // Display the tag name
118
+ echo '<li class="item-current item-tag-' . $get_term_id . ' item-tag-' . $get_term_slug . '"><strong class="bread-current bread-tag-' . $get_term_id . ' bread-tag-' . $get_term_slug . '">' . $get_term_name . '</strong></li>';
119
+ } elseif ( is_day() ) {
120
+ // Day archive
121
+ // Year link
122
+ echo '<li class="item-year item-year-' . get_the_time('Y') . '"><a class="bread-year bread-year-' . get_the_time('Y') . '" href="' . get_year_link( get_the_time('Y') ) . '" title="' . get_the_time('Y') . '">' . get_the_time('Y') . ' Archives</a></li>';
123
+ // Month link
124
+ echo '<li class="item-month item-month-' . get_the_time('m') . '"><a class="bread-month bread-month-' . get_the_time('m') . '" href="' . get_month_link( get_the_time('Y'), get_the_time('m') ) . '" title="' . get_the_time('M') . '">' . get_the_time('M') . ' Archives</a></li>';
125
+ // Day display
126
+ echo '<li class="item-current item-' . get_the_time('j') . '"><strong class="bread-current bread-' . get_the_time('j') . '"> ' . get_the_time('jS') . ' ' . get_the_time('M') . ' Archives</strong></li>';
127
+
128
+ } else if ( is_month() ) {
129
+ // Month Archive
130
+ // Year link
131
+ echo '<li class="item-year item-year-' . get_the_time('Y') . '"><a class="bread-year bread-year-' . get_the_time('Y') . '" href="' . get_year_link( get_the_time('Y') ) . '" title="' . get_the_time('Y') . '">' . get_the_time('Y') . ' Archives</a></li>';
132
+ // Month display
133
+ echo '<li class="item-month item-month-' . get_the_time('m') . '"><strong class="bread-month bread-month-' . get_the_time('m') . '" title="' . get_the_time('M') . '">' . get_the_time('M') . ' Archives</strong></li>';
134
+
135
+ } else if ( is_year() ) {
136
+ // Display year archive
137
+ echo '<li class="item-current item-current-' . get_the_time('Y') . '"><strong class="bread-current bread-current-' . get_the_time('Y') . '" title="' . get_the_time('Y') . '">' . get_the_time('Y') . ' Archives</strong></li>';
138
+ } else if ( get_query_var('paged') ) {
139
+ // Paginated archives
140
+ echo '<li class="item-current item-current-' . get_query_var('paged') . '"><strong class="bread-current bread-current-' . get_query_var('paged') . '" title="Page ' . get_query_var('paged') . '">'.__('Page') . ' ' . get_query_var('paged') . '</strong></li>';
141
+ } else if ( is_search() ) {
142
+ // Search results page
143
+ echo '<li class="item-current item-current-' . get_search_query() . '"><strong class="bread-current bread-current-' . get_search_query() . '" title="Search results for: ' . get_search_query() . '">Search results for: ' . get_search_query() . '</strong></li>';
144
+ } elseif ( is_404() ) {
145
+ // 404 page
146
+ echo '<li>' . 'Error 404' . '</li>';
147
+ }
148
+ echo '</ul>';
149
+ }?>
150
+ </div>
151
+ <?php }
152
+ }
components/components-core.php CHANGED
@@ -2,8 +2,8 @@
2
  global $redux_builder_amp;
3
  $loadComponent = array();
4
  $scriptComponent = array();
5
- $supportComponent = array('AMP-search','AMP-menu','AMP-logo','AMP-social-icons','AMP-sidebar','AMP-featured-image','AMP-author-box','AMP-loop','AMP-categories-tags','AMP-comments','AMP-post-navigation','AMP-related-posts','AMP-post-pagination','AMP-call-now');
6
- //$removeScriptComponent = array('amp-carousel');
7
  add_filter( 'amp_post_template_data', 'ampforwp_framework_add_and_form_scripts',20);
8
  function ampforwp_framework_add_and_form_scripts($data) {
9
  global $scriptComponent, $loadComponent; //$removeScriptComponent;
@@ -128,13 +128,13 @@ function amp_menu(){
128
  }
129
 
130
  // Social Icons component
131
- function amp_social($social_icons=""){
132
  global $loadComponent;
133
  $amp_social = array();
134
  //Supported social icons
135
- $amp_social = array('twitter','facebook','pinterest','google-plus','linkedin','youtube','instagram','reddit','VKontakte','snapchat','tumblr');
136
- if(isset($loadComponent['AMP-social-icons']) && $loadComponent['AMP-social-icons']==true){
137
- if($social_icons!=null){
138
  ampforwp_framework_get_social_icons($social_icons);
139
  }
140
  else
@@ -209,7 +209,7 @@ function amp_related_posts($argsdata = array()){
209
  function amp_post_pagination($args='' ){
210
  global $loadComponent;
211
  if(isset($loadComponent['AMP-post-pagination']) && $loadComponent['AMP-post-pagination']==true){
212
- ampforwp_framework_get_post_pagination();
213
  }
214
  }
215
 
@@ -221,6 +221,14 @@ function amp_call_now(){
221
  }
222
  }
223
 
 
 
 
 
 
 
 
 
224
  //Get Core of AMP HTML
225
  function amp_header_core(){
226
  $post_id = get_queried_object_id();
@@ -355,7 +363,7 @@ $thisTemplate = new AMP_Post_Template($post_id);
355
 
356
  function amp_date($args=array()){
357
  global $redux_builder_amp;
358
- if(isset($args['format']) && $args['format']=='traditional'){
359
  $post_date = esc_html( get_the_date() ) . ' '.esc_html( get_the_time());
360
  }else{
361
  $post_date = human_time_diff(
@@ -363,7 +371,11 @@ function amp_date($args=array()){
363
  current_time('timestamp') ) .' '. ampforwp_translation( $redux_builder_amp['amp-translator-ago-date-text'],
364
  'ago');
365
  }
366
- echo '<div class="loop-date">'.$post_date.'</div>';
 
 
 
 
367
  }
368
 
369
  //Load font Compoment
@@ -396,4 +408,44 @@ if( ! function_exists('amp_theme_framework_rtl_styles') ){
396
  body amp-carousel{ direction: ltr;}
397
  <?php }
398
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
399
  }
2
  global $redux_builder_amp;
3
  $loadComponent = array();
4
  $scriptComponent = array();
5
+ $supportComponent = array('AMP-search','AMP-menu','AMP-logo','AMP-social-icons','AMP-sidebar','AMP-featured-image','AMP-author-box','AMP-loop','AMP-categories-tags','AMP-comments','AMP-post-navigation','AMP-related-posts','AMP-post-pagination','AMP-call-now', 'AMP-breadcrumb');
6
+ //$removeScriptComponent = array('amp-carousel');'
7
  add_filter( 'amp_post_template_data', 'ampforwp_framework_add_and_form_scripts',20);
8
  function ampforwp_framework_add_and_form_scripts($data) {
9
  global $scriptComponent, $loadComponent; //$removeScriptComponent;
128
  }
129
 
130
  // Social Icons component
131
+ function amp_social( $social_icons="" ) {
132
  global $loadComponent;
133
  $amp_social = array();
134
  //Supported social icons
135
+ $amp_social = array( 'twitter', 'facebook', 'pinterest', 'google-plus', 'linkedin', 'youtube', 'instagram', 'reddit', 'VKontakte', 'snapchat', 'tumblr' );
136
+ if ( isset($loadComponent['AMP-social-icons']) && $loadComponent['AMP-social-icons']==true ) {
137
+ if ( null != $social_icons ) {
138
  ampforwp_framework_get_social_icons($social_icons);
139
  }
140
  else
209
  function amp_post_pagination($args='' ){
210
  global $loadComponent;
211
  if(isset($loadComponent['AMP-post-pagination']) && $loadComponent['AMP-post-pagination']==true){
212
+ ampforwp_framework_get_post_pagination($args);
213
  }
214
  }
215
 
221
  }
222
  }
223
 
224
+ // Breadcrumb
225
+ function amp_breadcrumb(){
226
+ global $loadComponent;
227
+ if ( isset($loadComponent['AMP-breadcrumb']) && true == $loadComponent['AMP-breadcrumb'] ) {
228
+ echo amp_breadcrumb_output();
229
+ }
230
+ }
231
+
232
  //Get Core of AMP HTML
233
  function amp_header_core(){
234
  $post_id = get_queried_object_id();
363
 
364
  function amp_date($args=array()){
365
  global $redux_builder_amp;
366
+ if ( (isset($args['format']) && $args['format']=='traditional') || 'time' == $args ) {
367
  $post_date = esc_html( get_the_date() ) . ' '.esc_html( get_the_time());
368
  }else{
369
  $post_date = human_time_diff(
371
  current_time('timestamp') ) .' '. ampforwp_translation( $redux_builder_amp['amp-translator-ago-date-text'],
372
  'ago');
373
  }
374
+ if ( 'date' === $args || 'time' == $args ) {
375
+ echo $post_date .' ';
376
+ }
377
+ else
378
+ echo '<div class="loop-date">'.$post_date.'</div>';
379
  }
380
 
381
  //Load font Compoment
408
  body amp-carousel{ direction: ltr;}
409
  <?php }
410
  }
411
+ }
412
+
413
+ // Author Meta
414
+ function amp_author_meta( $args ) {
415
+ global $post;
416
+ $author_name = false;
417
+ $avatar = false;
418
+ $avatar_size = 40;
419
+ if ( isset($args['name']) ) {
420
+ $author_name = $args['name'];
421
+ }
422
+ if ( 'name' === $args ) {
423
+ $author_name = true;
424
+ }
425
+ if ( 'avatar' === $args || 'image' === $args ) {
426
+ $avatar = true;
427
+ }
428
+ if ( isset($args['image']) ) {
429
+ $avatar = $args['image'];
430
+ }
431
+ if ( isset($args['image_size']) ) {
432
+ $avatar_size = $args['image_size'];
433
+ }
434
+ $post_author = get_userdata($post->post_author);
435
+ $author_link = get_author_posts_url($post_author->ID);
436
+ if ( $author_name ) {
437
+ echo ' <a href="'. esc_url(ampforwp_url_controller($author_link)).'"> ' .esc_html( $post_author->display_name ).'</a>';
438
+ }
439
+ if ( $avatar && true == ampforwp_gravatar_checker($post_author->user_email) ) {
440
+ $author_avatar_url = get_avatar_url( $post_author->ID, array( 'size' => $avatar_size ) );
441
+ ?>
442
+ <amp-img src="<?php echo esc_url($author_avatar_url); ?>" width="<?php echo $avatar_size; ?>" height="<?php echo $avatar_size; ?>" layout="fixed"></amp-img>
443
+ <?php }
444
+ elseif ( $avatar && false == ampforwp_gravatar_checker($post_author->user_email ) ) {
445
+ $avatar_img = get_avatar( $post_author->user_email, $avatar_size );
446
+ $amp_html_sanitizer = new AMPFORWP_Content( $avatar_img, array(), apply_filters( 'ampforwp_content_sanitizers', array( 'AMP_Img_Sanitizer' => array() ) ) );
447
+ $amp_html = $amp_html_sanitizer->get_amp_content();
448
+ echo $amp_html;
449
+ }
450
+
451
  }
components/post-pagination/post-pagination.php CHANGED
@@ -3,7 +3,7 @@ function ampforwp_framework_get_post_pagination( $args = '' ) {
3
 
4
  wp_reset_postdata();
5
  global $page, $numpages, $multipage, $more, $redux_builder_amp;
6
-
7
  $defaults = array(
8
  'before' => '<p>' . __( 'Page:' ),
9
  'after' => '</p>',
@@ -24,7 +24,12 @@ function ampforwp_framework_get_post_pagination( $args = '' ) {
24
  * @param array $params An array of arguments for page links for paginated posts.
25
  */
26
  $r = apply_filters( 'ampforwp_framework_get_post_pagination_args', $params );
27
-
 
 
 
 
 
28
  $output = '';
29
  if ( $multipage ) {
30
  if ( 'number' == $r['next_or_number'] ) {
@@ -50,7 +55,7 @@ function ampforwp_framework_get_post_pagination( $args = '' ) {
50
  $output .= $r['before'];
51
  $prev = $page - 1;
52
  if ( $prev > 0 ) {
53
- $link = ampforwp_framework_get_post_paginated_link( $prev ) . $r['link_before'] . $r['previouspagelink'] . $r['link_after'] . '</a>';
54
  $output .= apply_filters( 'ampforwp_framework_get_post_pagination_link', $link, $prev );
55
  }
56
  $next = $page + 1;
@@ -58,7 +63,7 @@ function ampforwp_framework_get_post_pagination( $args = '' ) {
58
  if ( $prev ) {
59
  $output .= $r['separator'];
60
  }
61
- $link = ampforwp_framework_get_post_paginated_link( $next ) . $r['link_before'] . $r['nextpagelink'] . $r['link_after'] . '</a>';
62
  $output .= apply_filters( 'ampforwp_framework_get_post_pagination_link', $link, $next );
63
  }
64
  $output .= $r['after'];
@@ -71,13 +76,10 @@ function ampforwp_framework_get_post_pagination( $args = '' ) {
71
  * @param array $args An array of arguments.
72
  */
73
  $html = apply_filters( 'ampforwp_framework_get_post_pagination', $output, $args );
74
- if($redux_builder_amp['amp-pagination']) {
75
  if ( $r['echo'] ) {
76
  echo $html;
77
  }
78
  return $html;
79
- }
80
-
81
  }
82
 
83
  /**
@@ -89,10 +91,13 @@ function ampforwp_framework_get_post_pagination( $args = '' ) {
89
  * @param int $i Page number.
90
  * @return string Link.
91
  */
92
- function ampforwp_framework_get_post_paginated_link( $i ) {
93
  global $wp_rewrite;
94
  $post = get_post();
95
  $query_args = array();
 
 
 
96
  if ( 1 == $i ) {
97
  $url = get_permalink();
98
  } else {
@@ -113,8 +118,7 @@ function ampforwp_framework_get_post_paginated_link( $i ) {
113
 
114
  $url = get_preview_post_link( $post, $query_args, $url );
115
  }
116
-
117
- return '<a href="' . esc_url(trailingslashit( $url) ) . '?amp">';
118
  }
119
 
120
  add_filter('ampforwp_modify_rel_canonical','amp_paginated_post_modify_amphtml');
@@ -157,20 +161,21 @@ function amp_paginated_post_rel_canonical(){
157
  add_filter('ampforwp_modify_the_content','ampforwp_post_paginated_content');
158
  function ampforwp_post_paginated_content($content){
159
  global $redux_builder_amp;
160
- $ampforwp_new_content = '';
161
- $ampforwp_the_content = '';
162
  $ampforwp_the_content = $content;
163
- if($redux_builder_amp['amp-pagination']) {
164
- $ampforwp_new_content = explode('<!--nextpage-->', $ampforwp_the_content);
165
- $queried_var = get_query_var('page');
166
- if ( $queried_var > 1 ) {
167
- $queried_var = $queried_var -1 ;
168
- }
169
- else{
170
- $queried_var = 0;
171
- }
172
- return $ampforwp_new_content[$queried_var];
173
- } else{
174
- return $ampforwp_the_content;
175
- }
 
 
176
  }
3
 
4
  wp_reset_postdata();
5
  global $page, $numpages, $multipage, $more, $redux_builder_amp;
6
+ $next_class = $previous_class = '';
7
  $defaults = array(
8
  'before' => '<p>' . __( 'Page:' ),
9
  'after' => '</p>',
24
  * @param array $params An array of arguments for page links for paginated posts.
25
  */
26
  $r = apply_filters( 'ampforwp_framework_get_post_pagination_args', $params );
27
+ if ( isset($params['next_class']) ) {
28
+ $next_class = $params['next_class'];
29
+ }
30
+ if ( isset($params['previous_class']) ) {
31
+ $previous_class = $params['previous_class'];
32
+ }
33
  $output = '';
34
  if ( $multipage ) {
35
  if ( 'number' == $r['next_or_number'] ) {
55
  $output .= $r['before'];
56
  $prev = $page - 1;
57
  if ( $prev > 0 ) {
58
+ $link = ampforwp_framework_get_post_paginated_link( $prev, $previous_class ) . $r['link_before'] . $r['previouspagelink'] . $r['link_after'] . '</a>';
59
  $output .= apply_filters( 'ampforwp_framework_get_post_pagination_link', $link, $prev );
60
  }
61
  $next = $page + 1;
63
  if ( $prev ) {
64
  $output .= $r['separator'];
65
  }
66
+ $link = ampforwp_framework_get_post_paginated_link( $next, $next_class ) . $r['link_before'] . $r['nextpagelink'] . $r['link_after'] . '</a>';
67
  $output .= apply_filters( 'ampforwp_framework_get_post_pagination_link', $link, $next );
68
  }
69
  $output .= $r['after'];
76
  * @param array $args An array of arguments.
77
  */
78
  $html = apply_filters( 'ampforwp_framework_get_post_pagination', $output, $args );
 
79
  if ( $r['echo'] ) {
80
  echo $html;
81
  }
82
  return $html;
 
 
83
  }
84
 
85
  /**
91
  * @param int $i Page number.
92
  * @return string Link.
93
  */
94
+ function ampforwp_framework_get_post_paginated_link( $i, $args = '' ) {
95
  global $wp_rewrite;
96
  $post = get_post();
97
  $query_args = array();
98
+ if ( isset($args) ) {
99
+ $class = "class='$args'";
100
+ }
101
  if ( 1 == $i ) {
102
  $url = get_permalink();
103
  } else {
118
 
119
  $url = get_preview_post_link( $post, $query_args, $url );
120
  }
121
+ return '<a href="' . esc_url(trailingslashit( $url) ) . '?amp" ' . $class . '>';
 
122
  }
123
 
124
  add_filter('ampforwp_modify_rel_canonical','amp_paginated_post_modify_amphtml');
161
  add_filter('ampforwp_modify_the_content','ampforwp_post_paginated_content');
162
  function ampforwp_post_paginated_content($content){
163
  global $redux_builder_amp;
164
+ $ampforwp_new_content = $ampforwp_the_content = $checker = '';
 
165
  $ampforwp_the_content = $content;
166
+ $checker = preg_match('/<!--nextpage-->/', $ampforwp_the_content);
167
+ if ( 1 === $checker ) {
168
+ $ampforwp_new_content = explode('<!--nextpage-->', $ampforwp_the_content);
169
+ $queried_var = get_query_var('page');
170
+ if ( $queried_var > 1 ) {
171
+ $queried_var = $queried_var -1 ;
172
+ }
173
+ else {
174
+ $queried_var = 0;
175
+ }
176
+ return $ampforwp_new_content[$queried_var];
177
+ }
178
+ else {
179
+ return $ampforwp_the_content;
180
+ }
181
  }
components/social-icons/social-icons.php CHANGED
@@ -16,9 +16,18 @@ function ampforwp_framework_get_social_icons($selected_social_icons){
16
  $thumb_id = get_post_thumbnail_id($post_id);
17
  $image = wp_get_attachment_image_src( $thumb_id, 'full' );
18
  }
 
 
 
 
 
 
 
 
 
19
  $social_icons_names = array();
20
  $url = get_the_permalink();
21
- $title = get_the_title();
22
  if(isset($redux_builder_amp['enable-single-twitter-share-link']) && $redux_builder_amp['enable-single-twitter-share-link']){
23
  $twitter_url = get_the_permalink();
24
  }
@@ -27,42 +36,66 @@ function ampforwp_framework_get_social_icons($selected_social_icons){
27
  foreach ($selected_social_icons as $key => $value) {
28
  $social_icons_names[] = $key;
29
  }
 
30
 
31
- if( empty($selected_social_icons['twitter'] ) && null == $selected_social_icons['twitter'] ){
32
  $selected_social_icons['twitter'] = 'https://twitter.com/intent/tweet?url='. $twitter_url.'&text='. $title .' ';
33
  //https://twitter.com/intent/tweet?url={url}&text={title}&via={via}&hashtags={hashtags}
34
  }
35
 
36
- if( empty($selected_social_icons['facebook'] ) && null == $selected_social_icons['facebook'] ){
37
  $selected_social_icons['facebook'] = 'https://www.facebook.com/sharer.php?u='. $url. '';
38
  //or https://www.facebook.com/dialog/share?app_id={app_id}&display=page&href={url}&redirect_uri={redirect_url}
39
  }
40
- if( empty($selected_social_icons['pinterest'] ) && null == $selected_social_icons['pinterest'] ){
41
  $selected_social_icons['pinterest'] = 'https://pinterest.com/pin/create/bookmarklet/?media='.$image.' &url='. $url.'&description='. $title .'';
42
  //https://pinterest.com/pin/create/bookmarklet/?media={img}&url={url}&is_video={is_video}&description={title}
43
  }
44
- if( empty($selected_social_icons['google-plus']) && $selected_social_icons['google-plus'] == null){
45
  $selected_social_icons['google-plus'] = 'https://plus.google.com/share?url='. $url. '';
46
  //https://plus.google.com/share?url={url}
47
  }
48
- if( empty($selected_social_icons['linkedin']) && $selected_social_icons['linkedin'] == null){
49
  $selected_social_icons['linkedin'] = 'https://www.linkedin.com/shareArticle?url='. $url. '&title='. $title .'';
50
  //https://www.linkedin.com/shareArticle?url={url}&title={title}
51
  }
52
 
53
- if( empty($selected_social_icons['reddit']) && $selected_social_icons['reddit'] == null){
54
  $selected_social_icons['reddit'] = 'https://reddit.com/submit?url='. $url. '&title='. $title .'';
55
  //https://reddit.com/submit?url={url}&title={title}
56
  }
57
- if( empty($selected_social_icons['VKontakte']) && $selected_social_icons['VKontakte'] == null){
58
  $selected_social_icons['VKontakte'] = 'http://vk.com/share.php?url='. $url. '';
59
  //http://vk.com/share.php?url={url}
60
  }
 
 
 
61
 
62
- if( empty($selected_social_icons['tumblr']) && $selected_social_icons['tumblr'] == null){
63
  $selected_social_icons['tumblr'] = 'https://www.tumblr.com/widgets/share/tool?canonicalUrl='. $url. '&title='. $title .'&caption='.$desc.'';
64
  //https://www.tumblr.com/widgets/share/tool?canonicalUrl={url}&title={title}&caption={desc}
65
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
 
67
  ?>
68
  <div class="amp-social">
@@ -101,7 +134,11 @@ function ampforwp_framework_get_social_icons($selected_social_icons){
101
 
102
  <?php if( ( in_array( 'VKontakte' , $selected_social_icons,true ) || in_array( 'VKontakte' , $social_icons_names,true ) ) && !empty($selected_social_icons['VKontakte']) ) { ?>
103
  <a href="<?php echo $selected_social_icons['VKontakte'] ?>" target ="_blank"><li class="icon-vk"></li></a>
104
- <?php } ?>
 
 
 
 
105
 
106
  <?php if( (in_array( 'snapchat' , $selected_social_icons,true ) || in_array( 'snapchat' , $social_icons_names,true ) ) && !empty($selected_social_icons['snapchat']) ) { ?>
107
  <a href="<?php echo $selected_social_icons['snapchat'] ?>" target ="_blank"><li class="icon-snapchat-ghost"></li></a>
@@ -109,33 +146,64 @@ function ampforwp_framework_get_social_icons($selected_social_icons){
109
 
110
  <?php if( (in_array( 'tumblr' , $selected_social_icons,true ) || in_array( 'tumblr' , $social_icons_names,true )) && !empty($selected_social_icons['tumblr']) ) { ?>
111
  <a href="<?php echo $selected_social_icons['tumblr'] ?>" target ="_blank"><li class="icon-tumblr"></li></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
  <?php } ?>
113
  </ul>
114
  </div>
115
  <?php
116
  }
 
 
 
 
 
 
117
  //Load styling for social icons
118
 
119
  add_action('amp_post_template_css','amp_social_styles',11);
120
 
121
 
122
- function amp_social_styles(){?>
123
-
124
- /* Social icons */
125
  @font-face {
126
  font-family: 'icomoon';
127
- src: url('<?php echo plugin_dir_url(__FILE__) ?>fonts/icomoon.eot?b9qrme');
128
- src: url('<?php echo plugin_dir_url(__FILE__) ?>fonts/icomoon.eot?b9qrme#iefix') format('embedded-opentype'),
129
- url('<?php echo plugin_dir_url(__FILE__) ?>fonts/icomoon.ttf?b9qrme') format('truetype'),
130
- url('<?php echo plugin_dir_url(__FILE__) ?>fonts/icomoon.woff?b9qrme') format('woff'),
131
- url('<?php echo plugin_dir_url(__FILE__) ?>fonts/icomoon.svg?b9qrme#icomoon') format('svg');
132
  font-weight: normal;
133
  font-style: normal;
134
  }
135
 
136
  [class^="icon-"], [class*=" icon-"]{ font-family: 'icomoon'; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1;
137
-
138
- /* Better Font Rendering =========== */
139
  -webkit-font-smoothing: antialiased;
140
  -moz-osx-font-smoothing: grayscale;
141
  }
@@ -156,6 +224,7 @@ function amp_social_styles(){?>
156
  .amp-social{ font-size: 15px; display: inline-block; }
157
  .amp-social ul{ list-style-type:none; padding:0;margin:0; text-align:center }
158
  .amp-social li{ box-sizing: initial; display:inline-block; }
159
- .amp-social li:before{ box-sizing: initial; color:#fff; padding: 6px; display: inline-block; border-radius: 70px; width: 18px; height: 18px; line-height: 20px; text-align: center; }
 
160
 
161
  <?php }
16
  $thumb_id = get_post_thumbnail_id($post_id);
17
  $image = wp_get_attachment_image_src( $thumb_id, 'full' );
18
  }
19
+
20
+ if(!ampforwp_is_associative($selected_social_icons)){
21
+ $icons_list_temp = array();
22
+ foreach ($selected_social_icons as $key => $icons) {
23
+ $icons_list_temp[$icons] = '';
24
+ }
25
+ $selected_social_icons = $icons_list_temp;
26
+ }
27
+
28
  $social_icons_names = array();
29
  $url = get_the_permalink();
30
+ $title = esc_attr(get_the_title());
31
  if(isset($redux_builder_amp['enable-single-twitter-share-link']) && $redux_builder_amp['enable-single-twitter-share-link']){
32
  $twitter_url = get_the_permalink();
33
  }
36
  foreach ($selected_social_icons as $key => $value) {
37
  $social_icons_names[] = $key;
38
  }
39
+
40
 
41
+ if( isset($selected_social_icons['twitter'] ) && null == $selected_social_icons['twitter'] ){
42
  $selected_social_icons['twitter'] = 'https://twitter.com/intent/tweet?url='. $twitter_url.'&text='. $title .' ';
43
  //https://twitter.com/intent/tweet?url={url}&text={title}&via={via}&hashtags={hashtags}
44
  }
45
 
46
+ if( isset($selected_social_icons['facebook'] ) && null == $selected_social_icons['facebook'] ){
47
  $selected_social_icons['facebook'] = 'https://www.facebook.com/sharer.php?u='. $url. '';
48
  //or https://www.facebook.com/dialog/share?app_id={app_id}&display=page&href={url}&redirect_uri={redirect_url}
49
  }
50
+ if( isset($selected_social_icons['pinterest'] ) && null == $selected_social_icons['pinterest'] ){
51
  $selected_social_icons['pinterest'] = 'https://pinterest.com/pin/create/bookmarklet/?media='.$image.' &url='. $url.'&description='. $title .'';
52
  //https://pinterest.com/pin/create/bookmarklet/?media={img}&url={url}&is_video={is_video}&description={title}
53
  }
54
+ if( isset($selected_social_icons['google-plus']) && $selected_social_icons['google-plus'] == null){
55
  $selected_social_icons['google-plus'] = 'https://plus.google.com/share?url='. $url. '';
56
  //https://plus.google.com/share?url={url}
57
  }
58
+ if( isset($selected_social_icons['linkedin']) && $selected_social_icons['linkedin'] == null){
59
  $selected_social_icons['linkedin'] = 'https://www.linkedin.com/shareArticle?url='. $url. '&title='. $title .'';
60
  //https://www.linkedin.com/shareArticle?url={url}&title={title}
61
  }
62
 
63
+ if( isset($selected_social_icons['reddit']) && $selected_social_icons['reddit'] == null){
64
  $selected_social_icons['reddit'] = 'https://reddit.com/submit?url='. $url. '&title='. $title .'';
65
  //https://reddit.com/submit?url={url}&title={title}
66
  }
67
+ if( isset($selected_social_icons['VKontakte']) && $selected_social_icons['VKontakte'] == null){
68
  $selected_social_icons['VKontakte'] = 'http://vk.com/share.php?url='. $url. '';
69
  //http://vk.com/share.php?url={url}
70
  }
71
+ if( isset($selected_social_icons['Odnoklassniki']) && $selected_social_icons['Odnoklassniki'] == null){
72
+ $selected_social_icons['Odnoklassniki'] = 'https://ok.ru/dk?st.cmd=addShare&st._surl='. $url. '';
73
+ }
74
 
75
+ if( isset($selected_social_icons['tumblr']) && $selected_social_icons['tumblr'] == null){
76
  $selected_social_icons['tumblr'] = 'https://www.tumblr.com/widgets/share/tool?canonicalUrl='. $url. '&title='. $title .'&caption='.$desc.'';
77
  //https://www.tumblr.com/widgets/share/tool?canonicalUrl={url}&title={title}&caption={desc}
78
  }
79
+ if ( isset($selected_social_icons['telegram']) && null == $selected_social_icons['telegram'] ) {
80
+ $selected_social_icons['telegram'] = 'https://telegram.me/share/url?url='. $url. '&text='. $title .'';
81
+ //https://telegram.me/share/url?url={url}&text={title}
82
+ }
83
+ if ( isset($selected_social_icons['digg']) && null == $selected_social_icons['digg'] ) {
84
+ $selected_social_icons['digg'] = 'http://digg.com/submit?url='. $url. '&title='. $title .'';
85
+ //http://digg.com/submit?url={url}&title={title}
86
+ }
87
+ if ( isset($selected_social_icons['StumbleUpon']) && null == $selected_social_icons['StumbleUpon'] ) {
88
+ $selected_social_icons['StumbleUpon'] = 'http://www.stumbleupon.com/submit?url='. $url. '&title='. $title .'';
89
+ //http://www.stumbleupon.com/submit?url={url}&title={title}
90
+ }
91
+ if ( isset($selected_social_icons['Wechat']) && null == $selected_social_icons['Wechat'] ) {
92
+ $selected_social_icons['Wechat'] = 'http://api.addthis.com/oexchange/0.8/forward/wechat/offer?url='. $url. '';
93
+ // http://api.addthis.com/oexchange/0.8/forward/wechat/offer?url={url}
94
+ }
95
+ if ( isset($selected_social_icons['Viber']) && null == $selected_social_icons['Viber'] ) {
96
+ $selected_social_icons['Viber'] = 'viber://forward?text='. $url. '';
97
+ //viber://forward?text={url}
98
+ }
99
 
100
  ?>
101
  <div class="amp-social">
134
 
135
  <?php if( ( in_array( 'VKontakte' , $selected_social_icons,true ) || in_array( 'VKontakte' , $social_icons_names,true ) ) && !empty($selected_social_icons['VKontakte']) ) { ?>
136
  <a href="<?php echo $selected_social_icons['VKontakte'] ?>" target ="_blank"><li class="icon-vk"></li></a>
137
+ <?php } ?>
138
+
139
+ <?php if( ( in_array( 'Odnoklassniki' , $selected_social_icons,true ) || in_array( 'Odnoklassniki' , $social_icons_names,true ) ) && !empty($selected_social_icons['Odnoklassniki']) ) { ?>
140
+ <a href="<?php echo esc_url($selected_social_icons['Odnoklassniki']) ?>" target ="_blank"><li class="icon-Odnoklassniki"></li></a>
141
+ <?php } ?>
142
 
143
  <?php if( (in_array( 'snapchat' , $selected_social_icons,true ) || in_array( 'snapchat' , $social_icons_names,true ) ) && !empty($selected_social_icons['snapchat']) ) { ?>
144
  <a href="<?php echo $selected_social_icons['snapchat'] ?>" target ="_blank"><li class="icon-snapchat-ghost"></li></a>
146
 
147
  <?php if( (in_array( 'tumblr' , $selected_social_icons,true ) || in_array( 'tumblr' , $social_icons_names,true )) && !empty($selected_social_icons['tumblr']) ) { ?>
148
  <a href="<?php echo $selected_social_icons['tumblr'] ?>" target ="_blank"><li class="icon-tumblr"></li></a>
149
+ <?php } ?>
150
+
151
+ <?php if ( (in_array( 'telegram' , $selected_social_icons,true ) || in_array( 'telegram' , $social_icons_names,true )) && ! empty($selected_social_icons['telegram']) ) { ?>
152
+ <a href="<?php echo esc_url($selected_social_icons['telegram']); ?>" target ="_blank"><li class="icon-telegram"></li></a>
153
+ <?php } ?>
154
+
155
+ <?php if ( (in_array( 'digg' , $selected_social_icons,true ) || in_array( 'digg' , $social_icons_names,true )) && ! empty($selected_social_icons['digg']) ) { ?>
156
+ <a href="<?php echo esc_url($selected_social_icons['digg']); ?>" target ="_blank"><li class="icon-digg"></li></a>
157
+ <?php } ?>
158
+
159
+ <?php if ( (in_array( 'StumbleUpon' , $selected_social_icons,true ) || in_array( 'StumbleUpon' , $social_icons_names,true )) && ! empty($selected_social_icons['StumbleUpon']) ) { ?>
160
+ <a href="<?php echo esc_url($selected_social_icons['StumbleUpon']); ?>" target ="_blank"><li class="icon-StumbleUpon"></li></a>
161
+ <?php } ?>
162
+
163
+ <?php if ( (in_array( 'Wechat' , $selected_social_icons,true ) || in_array( 'Wechat' , $social_icons_names,true )) && !empty($selected_social_icons['Wechat']) ) { ?>
164
+ <a href="<?php echo esc_url($selected_social_icons['Wechat']); ?>" target ="_blank"><li class="icon-Wechat"></li></a>
165
+ <?php } ?>
166
+
167
+ <?php if ( (in_array( 'Viber' , $selected_social_icons,true ) || in_array( 'Viber' , $social_icons_names,true )) && ! empty($selected_social_icons['Viber']) ) { ?>
168
+ <a href="<?php echo ($selected_social_icons['Viber']); ?>" target ="_blank"><li class="icon-Viber"></li></a>
169
+ <?php } ?>
170
+
171
+ <?php if( (in_array( 'facebook-like' , $selected_social_icons,true ) || in_array( 'facebook-like' , $social_icons_names,true )) ) { ?>
172
+ <amp-facebook-like width=90 height=28
173
+ layout="fixed"
174
+ data-size="large"
175
+ data-layout="button_count"
176
+ data-href="<?php echo esc_url(get_the_permalink()); ?>">
177
+ </amp-facebook-like>
178
  <?php } ?>
179
  </ul>
180
  </div>
181
  <?php
182
  }
183
+
184
+ function ampforwp_is_associative(array $arr)
185
+ {
186
+ if (array() === $arr) return false;
187
+ return array_keys($arr) !== range(0, count($arr) - 1);
188
+ }
189
  //Load styling for social icons
190
 
191
  add_action('amp_post_template_css','amp_social_styles',11);
192
 
193
 
194
+ function amp_social_styles(){ ?>
 
 
195
  @font-face {
196
  font-family: 'icomoon';
197
+ src: url('<?php echo plugin_dir_url(__FILE__) ?>fonts/icomoon.eot');
198
+ src: url('<?php echo plugin_dir_url(__FILE__) ?>fonts/icomoon.eot') format('embedded-opentype'),
199
+ url('<?php echo plugin_dir_url(__FILE__) ?>fonts/icomoon.ttf') format('truetype'),
200
+ url('<?php echo plugin_dir_url(__FILE__) ?>fonts/icomoon.woff') format('woff'),
201
+ url('<?php echo plugin_dir_url(__FILE__) ?>fonts/icomoon.svg') format('svg');
202
  font-weight: normal;
203
  font-style: normal;
204
  }
205
 
206
  [class^="icon-"], [class*=" icon-"]{ font-family: 'icomoon'; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1;
 
 
207
  -webkit-font-smoothing: antialiased;
208
  -moz-osx-font-smoothing: grayscale;
209
  }
224
  .amp-social{ font-size: 15px; display: inline-block; }
225
  .amp-social ul{ list-style-type:none; padding:0;margin:0; text-align:center }
226
  .amp-social li{ box-sizing: initial; display:inline-block; }
227
+ .amp-social li:before{box-sizing: initial;color: #fff;display: inline-block;width: 18px;height: 18px;line-height: 18px;}
228
+ amp-facebook-like{top:8px;}
229
 
230
  <?php }
components/theme-loader.php CHANGED
@@ -67,7 +67,138 @@ if(!defined('AMPFORWP_CUSTOM_THEME')){
67
  $file = AMPFORWP_CUSTOM_THEME . '/search.php';
68
  }
69
  }
70
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
 
72
  return $file;
73
  }
67
  $file = AMPFORWP_CUSTOM_THEME . '/search.php';
68
  }
69
  }
70
+ //For template pages
71
+ switch ( true ) {
72
+ case ( is_tax() ):
73
+ $term = get_queried_object();
74
+ $templates = array();
75
+ if ( ! empty( $term->slug ) ) {
76
+ $taxonomy = $term->taxonomy;
77
+ $slug_decoded = urldecode( $term->slug );
78
+ if ( $slug_decoded !== $term->slug ) {
79
+ $templates[] = AMPFORWP_CUSTOM_THEME . "/taxonomy-$taxonomy-{$slug_decoded}.php";
80
+ }
81
+ $templates[] = AMPFORWP_CUSTOM_THEME . "/taxonomy-$taxonomy-{$term->slug}.php";
82
+ $templates[] = AMPFORWP_CUSTOM_THEME . "/taxonomy-$taxonomy.php";
83
+ }
84
+ $templates[] = AMPFORWP_CUSTOM_THEME . "/taxonomy.php";
85
+ foreach ($templates as $key => $value) {
86
+ if('single' === $type && file_exists($value)){
87
+ $file = $value;
88
+ break;
89
+ }
90
+ }
91
+ break;
92
+ case ( is_category() ):
93
+ $category = get_queried_object();
94
+ $templates = array();
95
+ if ( ! empty( $category->slug ) ) {
96
+ $slug_decoded = urldecode( $category->slug );
97
+ if ( $slug_decoded !== $category->slug ) {
98
+ $templates[] = AMPFORWP_CUSTOM_THEME . "/category-{$slug_decoded}.php";
99
+ }
100
+ $templates[] = AMPFORWP_CUSTOM_THEME . "/category-{$category->slug}.php";
101
+ $templates[] = AMPFORWP_CUSTOM_THEME . "/category-{$category->term_id}.php";
102
+ }
103
+ $templates[] = AMPFORWP_CUSTOM_THEME . '/category.php';
104
+ foreach ($templates as $key => $value) {
105
+ if('single' === $type && file_exists($value)){
106
+ $file = $value;
107
+ break;
108
+ }
109
+ }
110
+ break;
111
+ case ( is_tag() ):
112
+ $tag = get_queried_object();
113
+ $templates = array();
114
+ if ( ! empty( $tag->slug ) ) {
115
+ $slug_decoded = urldecode( $tag->slug );
116
+ if ( $slug_decoded !== $tag->slug ) {
117
+ $templates[] = AMPFORWP_CUSTOM_THEME . "/tag-{$slug_decoded}.php";
118
+ }
119
+ $templates[] = AMPFORWP_CUSTOM_THEME . "/tag-{$tag->slug}.php";
120
+ $templates[] = AMPFORWP_CUSTOM_THEME . "/tag-{$tag->term_id}.php";
121
+ }
122
+ $templates[] = AMPFORWP_CUSTOM_THEME . '/tag.php';
123
+ foreach ($templates as $key => $value) {
124
+ if('single' === $type && file_exists($value)){
125
+ $file = $value;
126
+ break;
127
+ }
128
+ }
129
+ break;
130
+ case ( is_archive() ):
131
+ $post_types = array_filter( (array) get_query_var( 'post_type' ) );
132
+ $templates = array();
133
+ if ( count( $post_types ) == 1 ) {
134
+ $post_type = reset( $post_types );
135
+ $templates[] = AMPFORWP_CUSTOM_THEME . "/archive-{$post_type}.php";
136
+ }
137
+ $templates[] = AMPFORWP_CUSTOM_THEME . '/archive.php';
138
+ foreach ($templates as $key => $value) {
139
+ if('single' === $type && file_exists($value)){
140
+ $file = $value;
141
+ break;
142
+ }
143
+ }
144
+ break;
145
+ case (is_post_type_archive()):
146
+ $post_type = get_query_var( 'post_type' );
147
+ if ( is_array( $post_type ) )
148
+ $post_type = reset( $post_type );
149
+
150
+ $obj = get_post_type_object( $post_type );
151
+ if ( ! ( $obj instanceof WP_Post_Type ) || ! $obj->has_archive ) {
152
+ //return '';
153
+ break;
154
+ }
155
+
156
+ $post_types = array_filter( (array) get_query_var( 'post_type' ) );
157
+
158
+ $templates = array();
159
+
160
+ if ( count( $post_types ) == 1 ) {
161
+ $post_type = reset( $post_types );
162
+ $templates[] = AMPFORWP_CUSTOM_THEME . "/archive-{$post_type}.php";
163
+ }
164
+ $templates[] = AMPFORWP_CUSTOM_THEME . '/archive.php';
165
+ foreach ($templates as $key => $value) {
166
+ if('single' === $type && file_exists($value)){
167
+ $file = $value;
168
+ break;
169
+ }
170
+ }
171
+ break;
172
+ case is_single():
173
+ $object = get_queried_object();
174
+
175
+ $templates = array();
176
+
177
+ if ( ! empty( $object->post_type ) ) {
178
+ $template = get_page_template_slug( $object );
179
+ if ( $template && 0 === validate_file( $template ) ) {
180
+ $templates[] = $template;
181
+ }
182
+
183
+ $name_decoded = urldecode( $object->post_name );
184
+ if ( $name_decoded !== $object->post_name ) {
185
+ $templates[] = AMPFORWP_CUSTOM_THEME . "/single-{$object->post_type}-{$name_decoded}.php";
186
+ }
187
+
188
+ $templates[] = AMPFORWP_CUSTOM_THEME . "/single-{$object->post_type}-{$object->post_name}.php";
189
+ $templates[] = AMPFORWP_CUSTOM_THEME . "/single-{$object->post_type}.php";
190
+ }
191
+
192
+ $templates[] = AMPFORWP_CUSTOM_THEME . "/single.php";
193
+
194
+ foreach ($templates as $key => $value) {
195
+ if('single' === $type && file_exists($value) ) {
196
+ $file = $value;
197
+ break;
198
+ }
199
+ }
200
+ break;
201
+ }
202
 
203
  return $file;
204
  }
includes/options/admin-config.php CHANGED
@@ -2074,6 +2074,15 @@ Redux::setSection( $opt_name, array(
2074
  'false' => 'false',
2075
  'default' => 1,
2076
  ),
 
 
 
 
 
 
 
 
 
2077
 
2078
  ),
2079
 
@@ -3215,6 +3224,55 @@ Redux::setSection( $opt_name, array(
3215
  'title' => __('Odnoklassniki', 'accelerated-mobile-pages'),
3216
  'default' => 0,
3217
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3218
  array(
3219
  'id' => 'social-media-profiles-subsection',
3220
  'type' => 'section',
@@ -3540,7 +3598,35 @@ Redux::setSection( $opt_name, array(
3540
  )
3541
 
3542
  ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3543
 
 
 
 
3544
 
3545
 
3546
  // Extension Section
2074
  'false' => 'false',
2075
  'default' => 1,
2076
  ),
2077
+ array(
2078
+ 'id' => 'ampforwp-wptexturize',
2079
+ 'type' => 'switch',
2080
+ 'title' => __('Disable wptexturize'),
2081
+ 'subtitle' => __('Enable this option to Disable wptexturize Globally', 'accelerated-mobile-pages'),
2082
+ 'true' => 'true',
2083
+ 'false' => 'false',
2084
+ 'default' => 0,
2085
+ ),
2086
 
2087
  ),
2088
 
3224
  'title' => __('Odnoklassniki', 'accelerated-mobile-pages'),
3225
  'default' => 0,
3226
  ),
3227
+ // Reddit
3228
+ array(
3229
+ 'id' => 'enable-single-reddit-share',
3230
+ 'type' => 'switch',
3231
+ 'title' => __('Reddit', 'accelerated-mobile-pages'),
3232
+ 'default' => 0,
3233
+ ),
3234
+ // Tumblr
3235
+ array(
3236
+ 'id' => 'enable-single-tumblr-share',
3237
+ 'type' => 'switch',
3238
+ 'title' => __('Tumblr', 'accelerated-mobile-pages'),
3239
+ 'default' => 0,
3240
+ ),
3241
+ // Telegram
3242
+ array(
3243
+ 'id' => 'enable-single-telegram-share',
3244
+ 'type' => 'switch',
3245
+ 'title' => __('Telegram', 'accelerated-mobile-pages'),
3246
+ 'default' => 0,
3247
+ ),
3248
+ // Digg
3249
+ array(
3250
+ 'id' => 'enable-single-digg-share',
3251
+ 'type' => 'switch',
3252
+ 'title' => __('Digg', 'accelerated-mobile-pages'),
3253
+ 'default' => 0,
3254
+ ),
3255
+ // StumbleUpon
3256
+ array(
3257
+ 'id' => 'enable-single-stumbleupon-share',
3258
+ 'type' => 'switch',
3259
+ 'title' => __('StumbleUpon', 'accelerated-mobile-pages'),
3260
+ 'default' => 0,
3261
+ ),
3262
+ // Wechat
3263
+ array(
3264
+ 'id' => 'enable-single-wechat-share',
3265
+ 'type' => 'switch',
3266
+ 'title' => __('Wechat', 'accelerated-mobile-pages'),
3267
+ 'default' => 0,
3268
+ ),
3269
+ // Viber
3270
+ array(
3271
+ 'id' => 'enable-single-viber-share',
3272
+ 'type' => 'switch',
3273
+ 'title' => __('Viber', 'accelerated-mobile-pages'),
3274
+ 'default' => 0,
3275
+ ),
3276
  array(
3277
  'id' => 'social-media-profiles-subsection',
3278
  'type' => 'section',
3598
  )
3599
 
3600
  ) );
3601
+ function ampforwp_get_cpt_generated_post_types() {
3602
+ $options = '';
3603
+ $options = get_option('ampforwp_cpt_generated_post_types');
3604
+ return $options;
3605
+ }
3606
+ Redux::setSection( $opt_name, array(
3607
+ 'title' => __( 'Custom Post Type', 'accelerated-mobile-pages' ),
3608
+ 'id' => 'ampforwp-custom-post-type-section',
3609
+ 'icon' => 'el el-th-large',
3610
+ 'fields' => array(
3611
+ array(
3612
+ 'id' => 'ampforwp-custom-type',
3613
+ 'type' => 'select',
3614
+ 'title' => __('Number of Custom Types', 'redux-framework-demo'),
3615
+ 'multi' => true,
3616
+ //'data' => 'post_type',
3617
+ 'options' => ampforwp_get_cpt_generated_post_types(),
3618
+ ),
3619
+ array(
3620
+ 'id' => 'ampforwp-custom-type-amp-endpoint',
3621
+ 'type' => 'switch',
3622
+ 'title' => __('Make endpoint ?amp=1', 'redux-framework-demo'),
3623
+ 'default' => 0,
3624
+ 'subtitle' => 'Enable this option when /amp/ is giving 404 after resaving the permalink settings.',
3625
+ 'desc' => __( 'Making endpoints ?amp=1 is required for directory based themes or have multiple taxonomies in the url. Question mark in the url will not make any difference in the SEO.' ),
3626
 
3627
+ ),
3628
+ ),
3629
+ ) );
3630
 
3631
 
3632
  // Extension Section
includes/vendor/amp/includes/utils/class-amp-dom-utils.php CHANGED
@@ -34,6 +34,7 @@ class AMP_DOM_Utils {
34
  foreach ( $body->childNodes as $node ) {
35
  $out .= $dom->saveXML( $node );
36
  }
 
37
  return $out;
38
  }
39
 
34
  foreach ( $body->childNodes as $node ) {
35
  $out .= $dom->saveXML( $node );
36
  }
37
+ $out = apply_filters('amp_get_content_from_dom', $out);
38
  return $out;
39
  }
40
 
includes/vendor/vendor-changelog.txt CHANGED
@@ -37,4 +37,5 @@ Check #1033 for more details on 10 and 11
37
  12. Argument specific filters added at line number 43 and 47 of class-amp-content.php
38
  Reason: To extend the functionality of sidebars and Pagebuilder
39
 
40
- 13. Foo Gallery Support code added in class-amp-img-sanitizer.php in line no 35 #1424
 
37
  12. Argument specific filters added at line number 43 and 47 of class-amp-content.php
38
  Reason: To extend the functionality of sidebars and Pagebuilder
39
 
40
+ 13. Foo Gallery Support code added in class-amp-img-sanitizer.php in line no 35 #1424
41
+ 14. Filter added in class-amp-dom-utils.php on line no 37 #1462
includes/welcome.php CHANGED
@@ -335,9 +335,13 @@ function ampforwp_offline_admin_notice() {
335
  <?php
336
  }
337
 
 
 
 
 
338
 
339
- add_action('admin_footer','afdfddf');
340
- function afdfddf(){?>
341
  <style>
342
  .getstarted_wrapper{ display: inline-block; margin: 0px 0px 5px 0px; }
343
  .getstarted_options{float: left; margin-right: 15px;
@@ -345,26 +349,26 @@ function afdfddf(){?>
345
  .getstarted_links{float: right; background: #fff; border: 1px solid #ddd; padding: 10px 30px 10px 30px; border-radius: 2px; }
346
  .ampforwp-post-installtion-instructions, .ampforwp-pre-installtion-instructions{ margin-left: 15px;margin-top: 15px;}
347
  .getstarted_ul li{ list-style-type: decimal;
348
- list-style-position: inside;
349
- line-height: 23px;
350
- font-size: 15px; }
351
- .getstarted_options p {
352
- font-size: 16px;
353
- margin-top: 13px;
354
- margin-bottom: 10px;
355
- color: #333;
356
- }
357
- .getstarted_ul a {
358
- text-decoration: none;
359
- color: #ed1c26;
360
- }
361
- .getstarted_ul a:hover {
362
- text-decoration: underline;
363
- color: #222
364
- }
365
- .getstarted_ul {
366
- margin-top: 6px;
367
- }
368
  a.getstarted_btn{
369
  background: #666;
370
  color: #fff;
@@ -443,85 +447,86 @@ font-size: 16px;
443
  } .authors{font-style: italic}
444
  .ampforwp-custom-btn a{ font-size: 18px !important; background: #388E3C !important; border: 0px !important; border-radius: 2px !important; box-shadow: none !important; padding: 8px 20px !important; height: auto !important}
445
  .plugin-card-top h4{margin-top: 10px;}
446
-
447
- /*User Onboarding start*/
448
- .amp_user_onboarding_choose {
449
- float: left;
450
- text-align: center;
451
- max-width: 260px;
452
- background: #fff;
453
- padding: 25px 20px 25px 20px;
454
- border-radius: 5px;
455
- margin-right: 20px;
456
- box-shadow: 1px 1px 5px rgba(221, 221, 221, 0.75);
457
- transition: 0.25s all;
458
- }
459
- .amp_user_onboarding_choose:hover{
460
- box-shadow: 1px 1px 10px rgba(212, 212, 212, 1);
461
- }
462
- .amp_user_onboarding_choose a {
463
- background: #fff;
464
- border: 1px solid #ed1c25;
465
- color: #ed1c25;
466
- text-decoration: none;
467
- padding: 8px 15px;
468
- margin-top: 5px;
469
- font-weight: 500;
470
- display: inline-block;
471
- font-size: 14px;
472
- border-radius: 30px;
473
- transition: 0.2s all;
474
- box-shadow: none;
475
- }
476
- .amp_user_onboarding_choose:hover a{
477
- background: #ed1c25;
478
- color: #fff;
479
- }
480
- .amp_user_onboarding_choose h3 {
481
- font-size: 18px;
482
- font-weight: 600;
483
- }
484
- .amp_new_user .amp_user_avatar{
485
- background-image: url(data:image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k1Ljg0MXoiLz48cGF0aCBzdHlsZT0iZmlsbDojMUMxOTE4OyIgZD0iTTIyOC4wMzQsMjAxLjg0MWMzLjYyOCwwLDYuNjU1LTIuNTc3LDcuMzUtNmg5LjkyYzQuMTQzLDAsNy41LTMuMzU3LDcuNS03LjVzLTMuMzU3LTcuNS03LjUtNy41aC0xNy4yN2MtNC4xNDMsMC03LjUsMy4zNTctNy41LDcuNXY2QzIyMC41MzQsMTk4LjQ4MywyMjMuODkyLDIwMS44NDEsMjI4LjAzNCwyMDEuODQxeiIvPjwvZz48Zz48L2c+PGc+PC9nPjxnPjwvZz48Zz48L2c+PGc+PC9nPjxnPjwvZz48Zz48L2c+PGc+PC9nPjxnPjwvZz48Zz48L2c+PGc+PC9nPjxnPjwvZz48Zz48L2c+PGc+PC9nPjxnPjwvZz48L3N2Zz4=);
489
 
490
- }
491
- .amp_user_avatar {
492
- padding: 30px;
493
- background-repeat: no-repeat;
494
- margin: 0 auto;
495
- display: inline-block;
496
- }
497
- /*User Onboarding end*/
498
- .amp_installed_heading{ color:#388E3C;font-weight:500;margin-top: 20px; }
499
- .amp_installed_heading:before{
500
- content: "";
501
- background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjUycHgiIGhlaWdodD0iMjUycHgiIHZpZXdCb3g9IjAgMCAyNTIgMjUyIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPiAgICAgICAgPHRpdGxlPkNhcGFfMTwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZGVmcz48L2RlZnM+ICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9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YzNDExLDExNC45MzU3OTggMTI4LjUyMTQ3MSwxMTIuNDcwNjY4IDEzMC41MDc4NzgsMTA5LjQwNDgyIEwxNjcuMDk5NDk2LDUzLjE0NDMyNDEgQzE3MS4wNzgxOTksNDcuMDI5NDU1MiAxNzAuMTE3Mzg3LDQ2LjI1NjI2MjUgMTY0Ljk2NTg1NCw1MS40MTQ1MjYzIEw4NC41NzA2NDA2LDEzMS44MDIxNjggQzc5LjQxMDY5NDEsMTM2Ljk2MTI3MyA4MS4xNDM4NTczLDE0MS4xMjA4NjUgODguNDQxNjUyMSwxNDEuMDkxNDE4IEwxMTYuMDE0OTMyLDE0MC45Nzk1MTkgQzEyMy4zMDc2NzksMTQwLjk0OTIzMSAxMjYuMDA0MTc4LDE0NS44ODIwMTUgMTIyLjAyNjMxNiwxNTEuOTk4NTY3IEw4NS40MzYzODA4LDIwOC4yNjA3NDUgQzgzLjQ0OTEzMjUsMjExLjMxOTAyMSA4My45Mjg2OTcxLDIxMS43MTM2MSA4Ni41MTgzNDU4LDIwOS4xNDQxNTQgTDE0My45Nzc3NTMsMTUyLjA5Mjc5NyBDMTQ2LjU2MzE5NSwxNDkuNTE5OTc1IDE1MC43Mzc5MzEsMTQ1LjMzNTk4NSAxNTMuMjg5NzE5LDE0Mi43MzYyNCBMMTcxLjYzNTE2NywxMjQuMTMzMzQxIEMxNzYuNzU2NDEyLDExOC45NDM5NDggMTc0Ljk4OTU5NSwxMTQuNzQ4MTc5IDE2Ny43MDAyMTQsMTE0Ljc4MDE1IFoiIGlkPSJTaGFwZSI+PC9wYXRoPiAgICAgICAgICAgICAgICA8L2c+ICAgICAgICAgICAgPC9nPiAgICAgICAgPC9nPiAgICA8L2c+PC9zdmc+);
502
- width: 30px;
503
- height: 30px;
504
- position: absolute;
505
- display: inline-block;
506
- background-repeat: no-repeat;
507
- background-size: 30px;
508
- left: 0px;
509
- top: 10px;
510
- }
511
- .wrap .amp_installed_heading{
512
- color: #333;
513
- padding-left: 40px;
514
- position: relative;
515
- font-weight: 300;
516
- }
517
- .amp_installed_text{ margin: 10px 0px 20px 0px; max-width: 700px}
518
- .amp_installed_text p {
519
- margin: 0;
520
- font-size: 18px;
521
- font-weight: 300;
522
- line-height: 27px;
523
- color: #666;
524
- }
525
- .amp_user_onboarding_choose p{color: #444}
526
  </style>
527
- <?php }
 
335
  <?php
336
  }
337
 
338
+ add_action('admin_footer','ampforwp_add_welcome_styling');
339
+ function ampforwp_add_welcome_styling(){
340
+ $current = "";
341
+ $current = get_current_screen();
342
 
343
+ if ( 'amp_page_ampforwp-welcome-page' == $current->base || 'toplevel_page_amp_options' == $current->base ) {
344
+ ?>
345
  <style>
346
  .getstarted_wrapper{ display: inline-block; margin: 0px 0px 5px 0px; }
347
  .getstarted_options{float: left; margin-right: 15px;
349
  .getstarted_links{float: right; background: #fff; border: 1px solid #ddd; padding: 10px 30px 10px 30px; border-radius: 2px; }
350
  .ampforwp-post-installtion-instructions, .ampforwp-pre-installtion-instructions{ margin-left: 15px;margin-top: 15px;}
351
  .getstarted_ul li{ list-style-type: decimal;
352
+ list-style-position: inside;
353
+ line-height: 23px;
354
+ font-size: 15px; }
355
+ .getstarted_options p {
356
+ font-size: 16px;
357
+ margin-top: 13px;
358
+ margin-bottom: 10px;
359
+ color: #333;
360
+ }
361
+ .getstarted_ul a {
362
+ text-decoration: none;
363
+ color: #ed1c26;
364
+ }
365
+ .getstarted_ul a:hover {
366
+ text-decoration: underline;
367
+ color: #222
368
+ }
369
+ .getstarted_ul {
370
+ margin-top: 6px;
371
+ }
372
  a.getstarted_btn{
373
  background: #666;
374
  color: #fff;
447
  } .authors{font-style: italic}
448
  .ampforwp-custom-btn a{ font-size: 18px !important; background: #388E3C !important; border: 0px !important; border-radius: 2px !important; box-shadow: none !important; padding: 8px 20px !important; height: auto !important}
449
  .plugin-card-top h4{margin-top: 10px;}
450
+
451
+ /*User Onboarding start*/
452
+ .amp_user_onboarding_choose {
453
+ float: left;
454
+ text-align: center;
455
+ max-width: 260px;
456
+ background: #fff;
457
+ padding: 25px 20px 25px 20px;
458
+ border-radius: 5px;
459
+ margin-right: 20px;
460
+ box-shadow: 1px 1px 5px rgba(221, 221, 221, 0.75);
461
+ transition: 0.25s all;
462
+ }
463
+ .amp_user_onboarding_choose:hover{
464
+ box-shadow: 1px 1px 10px rgba(212, 212, 212, 1);
465
+ }
466
+ .amp_user_onboarding_choose a {
467
+ background: #fff;
468
+ border: 1px solid #ed1c25;
469
+ color: #ed1c25;
470
+ text-decoration: none;
471
+ padding: 8px 15px;
472
+ margin-top: 5px;
473
+ font-weight: 500;
474
+ display: inline-block;
475
+ font-size: 14px;
476
+ border-radius: 30px;
477
+ transition: 0.2s all;
478
+ box-shadow: none;
479
+ }
480
+ .amp_user_onboarding_choose:hover a{
481
+ background: #ed1c25;
482
+ color: #fff;
483
+ }
484
+ .amp_user_onboarding_choose h3 {
485
+ font-size: 18px;
486
+ font-weight: 600;
487
+ }
488
+ .amp_new_user .amp_user_avatar{
489
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/PjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDUxMi4wMDIgNTEyLjAwMiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTEyLjAwMiA1MTIuMDAyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggc3R5bGU9ImZpbGw6I0RGRTRFODsiIGQ9Ik00NTYuMTE3LDI1Ni4wMDFjMC0yLjM2MS0wLjA0NS00LjcxNS0wLjEzMS03LjA2Yy0wLjA4NS0yLjMyOSwxLjQ3My00LjM5OSwzLjcyMy01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499
+ display: inline-block;
500
+ }
501
+ /*User Onboarding end*/
502
+ .amp_installed_heading{ color:#388E3C;font-weight:500;margin-top: 20px; }
503
+ .amp_installed_heading:before{
504
+ content: "";
505
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjUycHgiIGhlaWdodD0iMjUycHgiIHZpZXdCb3g9IjAgMCAyNTIgMjUyIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPiAgICAgICAgPHRpdGxlPkNhcGFfMTwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZGVmcz48L2RlZnM+ICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9IkFydGJvYXJkLTIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yLjAwMDAwMCwgLTIuMDAwMDAwKSIgZmlsbD0iI0VEMUMyNCI+ICAgICAgICAgICAgPGcgaWQ9IkNhcGFfMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMi4wMDAwMDAsIDIuMDAwMDAwKSI+ICAgICAgICAgICAgICAgIDxnIGlkPSJfeDMyXzQwLl9Qb3dlciI+ICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTI1LjYwNTYsMCBDNTYuMjMzNiwwIDAsNTYuMjMzNiAwLDEyNS42MDU2IEMwLDE5NC45NzIgNTYuMjMzNiwyNTEuMjExMiAxMjUuNjA1NiwyNTEuMjExMiBDMTk0Ljk3MjgsMjUxLj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My45Mjg2OTcxLDIxMS43MTM2MSA4Ni41MTgzNDU4LDIwOS4xNDQxNTQgTDE0My45Nzc3NTMsMTUyLjA5Mjc5NyBDMTQ2LjU2MzE5NSwxNDkuNTE5OTc1IDE1MC43Mzc5MzEsMTQ1LjMzNTk4NSAxNTMuMjg5NzE5LDE0Mi43MzYyNCBMMTcxLjYzNTE2NywxMjQuMTMzMzQxIEMxNzYuNzU2NDEyLDExOC45NDM5NDggMTc0Ljk4OTU5NSwxMTQuNzQ4MTc5IDE2Ny43MDAyMTQsMTE0Ljc4MDE1IFoiIGlkPSJTaGFwZSI+PC9wYXRoPiAgICAgICAgICAgICAgICA8L2c+ICAgICAgICAgICAgPC9nPiAgICAgICAgPC9nPiAgICA8L2c+PC9zdmc+);
506
+ width: 30px;
507
+ height: 30px;
508
+ position: absolute;
509
+ display: inline-block;
510
+ background-repeat: no-repeat;
511
+ background-size: 30px;
512
+ left: 0px;
513
+ top: 10px;
514
+ }
515
+ .wrap .amp_installed_heading{
516
+ color: #333;
517
+ padding-left: 40px;
518
+ position: relative;
519
+ font-weight: 300;
520
+ }
521
+ .amp_installed_text{ margin: 10px 0px 20px 0px; max-width: 700px}
522
+ .amp_installed_text p {
523
+ margin: 0;
524
+ font-size: 18px;
525
+ font-weight: 300;
526
+ line-height: 27px;
527
+ color: #666;
528
+ }
529
+ .amp_user_onboarding_choose p{color: #444}
530
  </style>
531
+ <?php }
532
+ }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: AMP, accelerated mobile pages, mobile, amp project, google amp, amp wp, go
4
  Donate link: https://www.paypal.me/Kaludi/25
5
  Requires at least: 3.0
6
  Tested up to: 4.9.1
7
- Stable tag: 0.9.73
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -97,6 +97,7 @@ Bug reports for AMP for WP are [welcomed on GitHub](https://github.com/ahmedkalu
97
  * NEW - AMP Installation Wizard that makes it easy to setup for new users.
98
  * NEW - Category base remover support
99
  * NEW - Tag base remover support
 
100
  * NEW - AMP Theme Framework Core Support Added. You can now create AMP templates of your own in just minutes. **[More](https://ampforwp.com/amp-theme-framework/)**
101
 
102
  **[JOIN CHAT GROUP COMMUNITY](http://ampforwp.com/community/)**: Purpose of this group is to get proper suggestions and feedback from plugin users and the community so that we can make the plugin even better.
@@ -177,6 +178,35 @@ You can contact us from [here](http://ampforwp.com/contact/)
177
 
178
  == Changelog ==
179
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
180
  = 0.9.73 (15th January 2018) =
181
  * View More details on the [blog post](https://ampforwp.com/0-9-73-released-stability-update-78th-update/)
182
  * Added: Instagram Sanitizer added to process Instagram Embeds inside the BlockQuotes #1581
4
  Donate link: https://www.paypal.me/Kaludi/25
5
  Requires at least: 3.0
6
  Tested up to: 4.9.1
7
+ Stable tag: 0.9.74
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
97
  * NEW - AMP Installation Wizard that makes it easy to setup for new users.
98
  * NEW - Category base remover support
99
  * NEW - Tag base remover support
100
+ * NEW - 7 New Social Media Integrations added (Reddit, Tumblr, Telegram, Digg, StumbleUpon, Wechat, Viber)
101
  * NEW - AMP Theme Framework Core Support Added. You can now create AMP templates of your own in just minutes. **[More](https://ampforwp.com/amp-theme-framework/)**
102
 
103
  **[JOIN CHAT GROUP COMMUNITY](http://ampforwp.com/community/)**: Purpose of this group is to get proper suggestions and feedback from plugin users and the community so that we can make the plugin even better.
178
 
179
  == Changelog ==
180
 
181
+ = 0.9.74 (23rd January 2018) =
182
+ * View More details on the [blog post](https://ampforwp.com/0-9-74-released-stability-update-79th-update/)
183
+ * Fixed: Push Notifications button alligned in center #1500
184
+ * Added: Meta robots tag support from Yoast #1563
185
+ * Added: Option to Disable wptexturize/smart-quotes Support #1458
186
+ * Fixed: Changed the label id to avoid conflict with Advanced AMP Ads #1591
187
+ * Fixed: esc_attr causing validation issues with single and double quotes #1616
188
+ * Fixed: Image stretching problem resolved when "Featured Image from the content" was set #1580 #1582
189
+ * Added: Create Template by Custom taxonomy name like product-jeans.php in AMP Theme FrameWork #1594
190
+ * Added: Custom Post type support added in the Core #1612
191
+ * Fixed: custom-amp-content.php cleaned with PHPCS #1497
192
+ * Added: Basic Product(WooCommerce) support added #992 #1276 for full WooCommerce Support please check this [Extension](https://ampforwp.com/woocommerce/#utm_source=readme-log&utm_medium=0.9.74-readme&utm_campaign=AMP%20Plugin)
193
+ * Added: Proper fallback support added if the current active AMP theme is not available #1624
194
+ * Fixed: Resolved debug errors #1622
195
+ * Added: All in One SEO compatibility #1557
196
+ * Fixed: Load AMP Styling only on AMP pages #1441
197
+ * Added: 7 New Social Media Integrations added (Reddit, Tumblr, Telegram, Digg, StumbleUpon, Wechat, Viber) #1265
198
+ * Fixed: itemprop="url" was adding in non-amp #1626
199
+ * Fixed: SiteOrigin Pagebuilder compatibility with Custom Frontpage #1592 #1593
200
+ * Added: MediaAce lazy load compatibility of Bibmer Theme #1472
201
+ * Fixed: Content Links plugin was causing validation errors #1569
202
+ * Added: Filter added called get_content_from_dom to modify the output in AMP function #1462
203
+ * Added: amp_breadcrumb component added in AMP Theme Framework #1636
204
+ * Fixed: Sidebar Styling and proper sanitizer updated
205
+ * Added: amp_author_meta component added in AMP Theme Framework #1641
206
+ * Fixed: amp_post_pagination component improvement in AMP Theme Framework
207
+ * Added: Ability to add link classes in amp_post_pagination in AMP Theme Framework
208
+ * Fixed: amp_author_meta image code improvement in AMP Theme Framework
209
+
210
  = 0.9.73 (15th January 2018) =
211
  * View More details on the [blog post](https://ampforwp.com/0-9-73-released-stability-update-78th-update/)
212
  * Added: Instagram Sanitizer added to process Instagram Embeds inside the BlockQuotes #1581
templates/ampforwp-custom-post-type.php ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ // Get all the post types and update them in the options
3
+ add_action('admin_init', 'ampforwp_cpt_generate_postype_new');
4
+ if ( ! function_exists('ampforwp_cpt_generate_postype_new' ) ) {
5
+ function ampforwp_cpt_generate_postype_new(){
6
+ ampforwp_cpt_post_types_new();
7
+ }
8
+ }
9
+
10
+ if ( ! function_exists('ampforwp_cpt_post_types_new') ) {
11
+ function ampforwp_cpt_post_types_new(){
12
+ $args = "";
13
+ $get_post_types = "";
14
+ $post_types = array();
15
+
16
+ $args = array(
17
+ 'public' => true,
18
+ );
19
+
20
+ $get_post_types = get_post_types( $args, 'objects');
21
+ foreach ( $get_post_types as $post_type ) {
22
+ $name = $post_type->name;
23
+ $value = $post_type->label;
24
+ if ( 'post' === $name || 'page' === $name || 'attachment' === $name || 'guest-author' === $name || 'amp-cta' === $name || 'wprss_feed_item' === $name || 'wprss_feed' === $name || 'amp-optin' === $name ) {
25
+ continue;
26
+ }
27
+ $post_types[ $name ] = $value;
28
+ }
29
+
30
+ $post_types = apply_filters( 'ampforwp_cpt_modify_post_types', $post_types );
31
+
32
+ $options = get_option('ampforwp_cpt_generated_post_types');
33
+
34
+ $count_current_pt = count( $post_types );
35
+ $count_saved_pt = count( $options);
36
+
37
+ if ( $count_current_pt > $count_saved_pt ) {
38
+ $array_1 = (array) $post_types;
39
+ $array_2 = (array) $options;
40
+ }
41
+
42
+ else {
43
+ $array_1 = (array) $options;
44
+ $array_2 = (array) $post_types;
45
+ }
46
+
47
+ if ( array_diff( $array_1, $array_2 ) ) {
48
+ update_option('ampforwp_cpt_generated_post_types',$post_types);
49
+ }
50
+ }
51
+ }
52
+
53
+ // Endpoint
54
+ add_filter('ampforwp_modify_rel_canonical','ampforwp_cpt_modify_rel_canonical_new');
55
+ if ( ! function_exists('ampforwp_cpt_modify_rel_canonical_new') ) {
56
+ function ampforwp_cpt_modify_rel_canonical_new( $url ) {
57
+ global $redux_builder_amp, $wp;
58
+ $post_types = "";
59
+ $current_cpt_url = "";
60
+ if ( isset($redux_builder_amp['ampforwp-custom-type']) ) {
61
+ $post_types = $redux_builder_amp['ampforwp-custom-type'];
62
+ }
63
+ // If Option "Make endpoint ?amp" is Off then return.
64
+ if ( ! $redux_builder_amp['ampforwp-custom-type-amp-endpoint'] ) {
65
+ return $url;
66
+ }
67
+ if ( is_post_type_archive( $post_types ) || is_singular( $post_types ) ) {
68
+ $current_cpt_url = home_url( $wp->request );
69
+ $url = trailingslashit( $current_cpt_url ) . '?amp=1';
70
+ return $url;
71
+ }
72
+ return $url;
73
+ }
74
+ }
templates/custom-amp-content.php CHANGED
@@ -5,24 +5,24 @@ add_filter( 'amp_post_template_data', 'ampforwp_custom_post_content_sanitizer',
5
  function ampforwp_custom_post_content_sanitizer( $data, $post ) {
6
  global $redux_builder_amp;
7
 
8
- if( is_home() && $redux_builder_amp['amp-frontpage-select-option'] == 0 ){
9
  return $data;
10
  }
11
 
12
  global $post;
13
- $amp_current_post_id = get_the_ID() ;
14
  if ( is_home() && $redux_builder_amp['amp-frontpage-select-option'] ) {
15
  //Custom AMP Editor Support for WPML #1138
16
  include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
17
- if( is_plugin_active( 'sitepress-multilingual-cms/sitepress.php' )){
18
  $amp_current_post_id = get_option('page_on_front');
19
 
20
  }
21
- else{
22
  $amp_current_post_id = $redux_builder_amp['amp-frontpage-select-option-pages'];
23
  }
24
  }
25
- $amp_custom_post_content_input = get_post_meta($amp_current_post_id, 'ampforwp_custom_content_editor', true);
26
  $amp_custom_post_content_check = get_post_meta($amp_current_post_id, 'ampforwp_custom_content_editor_checkbox', true);
27
 
28
  if ( empty( $amp_custom_post_content_input ) ) {
@@ -30,37 +30,37 @@ function ampforwp_custom_post_content_sanitizer( $data, $post ) {
30
  return $data;
31
  }
32
 
33
- if ( $amp_custom_post_content_check === 'yes') {
34
  $amp_custom_content = new AMP_Content( $amp_custom_post_content_input,
35
  apply_filters( 'amp_content_embed_handlers', array(
36
- 'AMP_Twitter_Embed_Handler' => array(),
37
- 'AMP_YouTube_Embed_Handler' => array(),
38
  'AMP_DailyMotion_Embed_Handler' => array(),
39
- 'AMP_Vimeo_Embed_Handler' => array(),
40
- 'AMP_SoundCloud_Embed_Handler' => array(),
41
- 'AMP_Instagram_Embed_Handler' => array(),
42
- 'AMP_Vine_Embed_Handler' => array(),
43
- 'AMP_Facebook_Embed_Handler' => array(),
44
- 'AMP_Pinterest_Embed_Handler' => array(),
45
- 'AMP_Gallery_Embed_Handler' => array(),
46
  ) ),
47
  apply_filters( 'amp_content_sanitizers', array(
48
- 'AMP_Style_Sanitizer' => array(),
49
- 'AMP_Blacklist_Sanitizer' => array(),
50
- 'AMP_Img_Sanitizer' => array(),
51
- 'AMP_Video_Sanitizer' => array(),
52
- 'AMP_Audio_Sanitizer' => array(),
53
- 'AMP_Playbuzz_Sanitizer' => array(),
54
- 'AMP_Iframe_Sanitizer' => array(
55
- 'add_placeholder' => true,
56
- ),
57
  ) )
58
  );
59
 
60
  if ( $amp_custom_content ) {
61
- $data[ 'ampforwp_amp_content' ] = $amp_custom_content->get_amp_content();
62
- $data['amp_component_scripts'] = $amp_custom_content->get_amp_scripts();
63
- $data['post_amp_styles'] = $amp_custom_content->get_amp_styles();
64
  }
65
  }
66
 
@@ -74,18 +74,27 @@ function ampforwp_custom_content_meta_register() {
74
  $user_level = '';
75
  $user_level = current_user_can( 'manage_options' );
76
 
77
- if ( isset( $redux_builder_amp['amp-meta-permissions'] ) && $redux_builder_amp['amp-meta-permissions'] == 'all' ) {
78
  $user_level = true;
79
  }
80
 
81
  if ( $user_level ) {
82
- if($redux_builder_amp['amp-on-off-for-all-posts']) {
83
  add_meta_box( 'custom_content_editor', __( 'Custom AMP Editor', 'accelerated-mobile-pages' ), 'amp_content_editor_title_callback', 'post','normal', 'default' );
84
  }
85
 
86
- if($redux_builder_amp['amp-on-off-for-all-pages']){
87
  add_meta_box( 'custom_content_editor', __( 'Custom AMP Editor','accelerated-mobile-pages' ), 'amp_content_editor_title_callback', 'page','normal', 'default' );
88
  }
 
 
 
 
 
 
 
 
 
89
 
90
  // Assign Pagebuilder Meta Box // Legecy pagebuilder
91
  if ( $redux_builder_amp['ampforwp-content-builder'] ) {
@@ -136,20 +145,20 @@ function amp_content_editor_title_callback( $post ) {
136
 
137
  <!--HTML content Ends here-->
138
  <?php
139
- $content = get_post_meta ( $amp_current_post_id, 'ampforwp_custom_content_editor', true );
140
- $editor_id = 'ampforwp_custom_content_editor';
141
  wp_editor( $content, $editor_id );
142
  }
143
 
144
  // Save Rating Meta Field function
145
- function amp_content_editor_meta_save ( $post_id ) {
146
  // Checks save status
147
  $is_autosave = wp_is_post_autosave( $post_id );
148
  $is_revision = wp_is_post_revision( $post_id );
149
- $is_valid_nonce = ( isset( $_POST[ 'amp_content_editor_nonce' ] ) && wp_verify_nonce( $_POST[ 'amp_content_editor_nonce' ], basename( __FILE__ ) ) ) ? 'true' : 'false';
150
 
151
  // Exits script depending on save status
152
- if ( $is_autosave || $is_revision || !$is_valid_nonce ) {
153
  return;
154
  }
155
 
@@ -161,7 +170,7 @@ function amp_content_editor_meta_save ( $post_id ) {
161
  // Save data of Custom AMP Editor CheckBox
162
  if ( isset( $_POST['ampforwp_custom_content_editor'] ) ) {
163
  $ampforwp_custom_editor_checkbox = null;
164
- if(isset($_POST[ 'ampforwp_custom_content_editor_checkbox' ])){
165
  $ampforwp_custom_editor_checkbox = $_POST[ 'ampforwp_custom_content_editor_checkbox' ];
166
  }
167
  update_post_meta($post_id, 'ampforwp_custom_content_editor_checkbox', $ampforwp_custom_editor_checkbox );
@@ -180,20 +189,20 @@ add_action('admin_head', 'ampforwp_add_my_tc_button');
180
  function ampforwp_add_my_tc_button() {
181
  global $typenow;
182
  // check user permissions
183
- if ( !current_user_can('edit_posts') && !current_user_can('edit_pages') ) {
184
  return;
185
  }
186
  // verify the post type
187
 
188
  $posts = array();
189
  $post_types = ampforwp_get_all_post_types();
190
- if ( $post_types ){
191
  foreach ( $post_types as $post_type ) {
192
  $posts[] = $post_type;
193
  }
194
  }
195
 
196
- if( ! in_array( $typenow, $posts ) )
197
  return;
198
  // check if WYSIWYG is enabled
199
  if ( get_user_option('rich_editing') == 'true') {
@@ -202,19 +211,17 @@ function ampforwp_add_my_tc_button() {
202
  }
203
  }
204
  //Load the js file
205
- function ampforwp_add_tinymce_plugin($plugin_array) {
206
  $plugin_array['ampforwp_tc_button'] = plugins_url( '/custom-amp-content-button.js', __FILE__ ); // CHANGE THE BUTTON SCRIPT HERE
207
  return $plugin_array;
208
  }
209
  //Register the Button
210
- function ampforwp_register_my_tc_button($buttons) {
211
  array_push($buttons, "|", "ampforwp_tc_button");
212
  return $buttons;
213
  }
214
  //Style to hide Button in the main Editor
215
- add_action('admin_head', function()
216
- {
217
- ?>
218
  <style type="text/css">
219
  #wp-content-editor-container .mce-container .mce-ampforwp-copy-content-button{
220
  display: none;
@@ -225,6 +232,5 @@ add_action('admin_head', function()
225
  .mce-ampforwp-copy-content-button .mce-txt{
226
  margin-left: 5px;
227
  }
228
- </style>
229
- <?php
230
- });
5
  function ampforwp_custom_post_content_sanitizer( $data, $post ) {
6
  global $redux_builder_amp;
7
 
8
+ if ( is_home() && $redux_builder_amp['amp-frontpage-select-option'] === 0 ) {
9
  return $data;
10
  }
11
 
12
  global $post;
13
+ $amp_current_post_id = get_the_ID();
14
  if ( is_home() && $redux_builder_amp['amp-frontpage-select-option'] ) {
15
  //Custom AMP Editor Support for WPML #1138
16
  include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
17
+ if ( is_plugin_active( 'sitepress-multilingual-cms/sitepress.php' ) ) {
18
  $amp_current_post_id = get_option('page_on_front');
19
 
20
  }
21
+ else {
22
  $amp_current_post_id = $redux_builder_amp['amp-frontpage-select-option-pages'];
23
  }
24
  }
25
+ $amp_custom_post_content_input = get_post_meta($amp_current_post_id, 'ampforwp_custom_content_editor', true);
26
  $amp_custom_post_content_check = get_post_meta($amp_current_post_id, 'ampforwp_custom_content_editor_checkbox', true);
27
 
28
  if ( empty( $amp_custom_post_content_input ) ) {
30
  return $data;
31
  }
32
 
33
+ if ( 'yes' === $amp_custom_post_content_check ) {
34
  $amp_custom_content = new AMP_Content( $amp_custom_post_content_input,
35
  apply_filters( 'amp_content_embed_handlers', array(
36
+ 'AMP_Twitter_Embed_Handler' => array(),
37
+ 'AMP_YouTube_Embed_Handler' => array(),
38
  'AMP_DailyMotion_Embed_Handler' => array(),
39
+ 'AMP_Vimeo_Embed_Handler' => array(),
40
+ 'AMP_SoundCloud_Embed_Handler' => array(),
41
+ 'AMP_Instagram_Embed_Handler' => array(),
42
+ 'AMP_Vine_Embed_Handler' => array(),
43
+ 'AMP_Facebook_Embed_Handler' => array(),
44
+ 'AMP_Pinterest_Embed_Handler' => array(),
45
+ 'AMP_Gallery_Embed_Handler' => array(),
46
  ) ),
47
  apply_filters( 'amp_content_sanitizers', array(
48
+ 'AMP_Style_Sanitizer' => array(),
49
+ 'AMP_Blacklist_Sanitizer' => array(),
50
+ 'AMP_Img_Sanitizer' => array(),
51
+ 'AMP_Video_Sanitizer' => array(),
52
+ 'AMP_Audio_Sanitizer' => array(),
53
+ 'AMP_Playbuzz_Sanitizer' => array(),
54
+ 'AMP_Iframe_Sanitizer' => array(
55
+ 'add_placeholder' => true,
56
+ ),
57
  ) )
58
  );
59
 
60
  if ( $amp_custom_content ) {
61
+ $data['ampforwp_amp_content'] = $amp_custom_content->get_amp_content();
62
+ $data['amp_component_scripts'] = $amp_custom_content->get_amp_scripts();
63
+ $data['post_amp_styles'] = $amp_custom_content->get_amp_styles();
64
  }
65
  }
66
 
74
  $user_level = '';
75
  $user_level = current_user_can( 'manage_options' );
76
 
77
+ if ( isset( $redux_builder_amp['amp-meta-permissions'] ) && 'all' === $redux_builder_amp['amp-meta-permissions'] ) {
78
  $user_level = true;
79
  }
80
 
81
  if ( $user_level ) {
82
+ if ( $redux_builder_amp['amp-on-off-for-all-posts'] ) {
83
  add_meta_box( 'custom_content_editor', __( 'Custom AMP Editor', 'accelerated-mobile-pages' ), 'amp_content_editor_title_callback', 'post','normal', 'default' );
84
  }
85
 
86
+ if ( $redux_builder_amp['amp-on-off-for-all-pages'] ) {
87
  add_meta_box( 'custom_content_editor', __( 'Custom AMP Editor','accelerated-mobile-pages' ), 'amp_content_editor_title_callback', 'page','normal', 'default' );
88
  }
89
+ // Custom AMP Editor for Custom Post Types
90
+ $post_types = ampforwp_get_all_post_types();
91
+ if ( $post_types ) {
92
+ foreach ( $post_types as $post_type ) {
93
+ if ( 'post' !== $post_type || 'page' !== $post_type ) {
94
+ add_meta_box( 'custom_content_editor', __( 'Custom AMP Editor', 'accelerated-mobile-pages' ), 'amp_content_editor_title_callback', $post_type ,'normal', 'default' );
95
+ }
96
+ }
97
+ }
98
 
99
  // Assign Pagebuilder Meta Box // Legecy pagebuilder
100
  if ( $redux_builder_amp['ampforwp-content-builder'] ) {
145
 
146
  <!--HTML content Ends here-->
147
  <?php
148
+ $content = get_post_meta ( $amp_current_post_id, 'ampforwp_custom_content_editor', true );
149
+ $editor_id = 'ampforwp_custom_content_editor';
150
  wp_editor( $content, $editor_id );
151
  }
152
 
153
  // Save Rating Meta Field function
154
+ function amp_content_editor_meta_save( $post_id ) {
155
  // Checks save status
156
  $is_autosave = wp_is_post_autosave( $post_id );
157
  $is_revision = wp_is_post_revision( $post_id );
158
+ $is_valid_nonce = (isset( $_POST['amp_content_editor_nonce'] ) && wp_verify_nonce( $_POST[ 'amp_content_editor_nonce' ], basename( __FILE__ ) ) ) ? 'true' : 'false';
159
 
160
  // Exits script depending on save status
161
+ if ( $is_autosave || $is_revision || ! $is_valid_nonce ) {
162
  return;
163
  }
164
 
170
  // Save data of Custom AMP Editor CheckBox
171
  if ( isset( $_POST['ampforwp_custom_content_editor'] ) ) {
172
  $ampforwp_custom_editor_checkbox = null;
173
+ if ( isset($_POST['ampforwp_custom_content_editor_checkbox']) ) {
174
  $ampforwp_custom_editor_checkbox = $_POST[ 'ampforwp_custom_content_editor_checkbox' ];
175
  }
176
  update_post_meta($post_id, 'ampforwp_custom_content_editor_checkbox', $ampforwp_custom_editor_checkbox );
189
  function ampforwp_add_my_tc_button() {
190
  global $typenow;
191
  // check user permissions
192
+ if ( ! current_user_can('edit_posts') && ! current_user_can('edit_pages') ) {
193
  return;
194
  }
195
  // verify the post type
196
 
197
  $posts = array();
198
  $post_types = ampforwp_get_all_post_types();
199
+ if ( $post_types ) {
200
  foreach ( $post_types as $post_type ) {
201
  $posts[] = $post_type;
202
  }
203
  }
204
 
205
+ if ( ! in_array( $typenow, $posts ) )
206
  return;
207
  // check if WYSIWYG is enabled
208
  if ( get_user_option('rich_editing') == 'true') {
211
  }
212
  }
213
  //Load the js file
214
+ function ampforwp_add_tinymce_plugin( $plugin_array ) {
215
  $plugin_array['ampforwp_tc_button'] = plugins_url( '/custom-amp-content-button.js', __FILE__ ); // CHANGE THE BUTTON SCRIPT HERE
216
  return $plugin_array;
217
  }
218
  //Register the Button
219
+ function ampforwp_register_my_tc_button( $buttons ) {
220
  array_push($buttons, "|", "ampforwp_tc_button");
221
  return $buttons;
222
  }
223
  //Style to hide Button in the main Editor
224
+ add_action('admin_head', function( ) { ?>
 
 
225
  <style type="text/css">
226
  #wp-content-editor-container .mce-container .mce-ampforwp-copy-content-button{
227
  display: none;
232
  .mce-ampforwp-copy-content-button .mce-txt{
233
  margin-left: 5px;
234
  }
235
+ </style>
236
+ <?php });
 
templates/design-manager.php CHANGED
@@ -71,14 +71,30 @@ function ampforwp_design_selector() {
71
 
72
  global $redux_builder_amp;
73
  if ( $redux_builder_amp['amp-design-selector'] ) {
74
- return $redux_builder_amp['amp-design-selector'];
75
- } else {
76
- return 2;
77
- }
78
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  }
80
 
81
-
82
  add_action('pre_amp_render_post','ampforwp_stylesheet_file_insertion', 12 );
83
  function ampforwp_stylesheet_file_insertion() {
84
 
@@ -87,26 +103,23 @@ function ampforwp_stylesheet_file_insertion() {
87
  } else {
88
  $ampforwp_design_selector = ampforwp_design_selector();
89
  }
90
-
91
  // Add StyleSheet
92
- if(file_exists(AMPFORWP_PLUGIN_DIR . 'templates/design-manager/design-'. $ampforwp_design_selector . '/style.php')){
93
  require AMPFORWP_PLUGIN_DIR . 'templates/design-manager/design-'. $ampforwp_design_selector . '/style.php';
94
- }else{
95
-
96
- $pluginData = get_plugins();
97
- if(count($pluginData)>0){
98
- foreach($pluginData as $key=>$data){
99
- if($data['TextDomain']==$ampforwp_design_selector){
100
- if(!file_exists(AMPFORWP_MAIN_PLUGIN_DIR."/".$key)){
101
- echo "plugin theme not exists";
102
  }
103
  break;
104
  }
105
  }
106
  }
107
- require AMPFORWP_PLUGIN_DIR."/components/theme-loader.php";
108
-
109
-
110
  }
111
  }
112
 
71
 
72
  global $redux_builder_amp;
73
  if ( $redux_builder_amp['amp-design-selector'] ) {
74
+ if ( file_exists(AMPFORWP_PLUGIN_DIR . 'templates/design-manager/design-'.$redux_builder_amp['amp-design-selector'] . '/style.php') ) {
75
+ return $redux_builder_amp['amp-design-selector'];
76
+ }
77
+ elseif ( 4 == $redux_builder_amp['amp-design-selector'] && file_exists(AMPFORWP_PLUGIN_DIR . 'templates/design-manager/swift/style.php') ) {
78
+ return $redux_builder_amp['amp-design-selector'];
79
+ }
80
+ else {
81
+ $plugin_data = get_plugins();
82
+ if ( count($plugin_data) > 0 ) {
83
+ foreach ( $plugin_data as $key=>$data ) {
84
+ if ( $data['TextDomain'] ==$redux_builder_amp['amp-design-selector'] ) {
85
+ if ( file_exists(AMPFORWP_MAIN_PLUGIN_DIR."/".$key) ) {
86
+ return $redux_builder_amp['amp-design-selector'];
87
+ }
88
+ break;
89
+ }
90
+ }
91
+ }
92
+ }
93
+ return 2;
94
+ }
95
+ return 2;
96
  }
97
 
 
98
  add_action('pre_amp_render_post','ampforwp_stylesheet_file_insertion', 12 );
99
  function ampforwp_stylesheet_file_insertion() {
100
 
103
  } else {
104
  $ampforwp_design_selector = ampforwp_design_selector();
105
  }
 
106
  // Add StyleSheet
107
+ if ( file_exists(AMPFORWP_PLUGIN_DIR . 'templates/design-manager/design-'. $ampforwp_design_selector . '/style.php') ) {
108
  require AMPFORWP_PLUGIN_DIR . 'templates/design-manager/design-'. $ampforwp_design_selector . '/style.php';
109
+ }else {
110
+
111
+ $plugin_data = get_plugins();
112
+ if ( count($plugin_data) > 0 ) {
113
+ foreach ( $plugin_data as $key => $data ) {
114
+ if ( $data['TextDomain'] == $ampforwp_design_selector ) {
115
+ if ( ! file_exists(AMPFORWP_MAIN_PLUGIN_DIR."/".$key) ) {
116
+ echo "plugin theme not exists";
117
  }
118
  break;
119
  }
120
  }
121
  }
122
+ require AMPFORWP_PLUGIN_DIR."/components/theme-loader.php";
 
 
123
  }
124
  }
125
 
templates/design-manager/design-1/archive.php CHANGED
@@ -46,7 +46,7 @@
46
  <?php if ( is_archive() ) {
47
  if( is_author() ){
48
  $curauth = (get_query_var('author_name')) ? get_user_by('slug', get_query_var('author_name')) : get_userdata(get_query_var('author'));
49
- if( true == ampforwp_comment_gravatar_checker($curauth->user_email) ){
50
  $curauth_url = get_avatar_url( $curauth->user_email, array('size'=>180) );
51
  if($curauth_url){ ?>
52
  <div class="author-archive">
@@ -116,7 +116,7 @@
116
  </div>
117
 
118
  <?php if (ampforwp_has_post_thumbnail() ) {
119
- $thumb_url = ampforwp_get_post_thumbnail();
120
  if($thumb_url){ ?>
121
  <div class="home-post-image">
122
  <a href="<?php echo esc_url( $ampforwp_amp_post_url ); ?>">
46
  <?php if ( is_archive() ) {
47
  if( is_author() ){
48
  $curauth = (get_query_var('author_name')) ? get_user_by('slug', get_query_var('author_name')) : get_userdata(get_query_var('author'));
49
+ if( true == ampforwp_gravatar_checker($curauth->user_email) ){
50
  $curauth_url = get_avatar_url( $curauth->user_email, array('size'=>180) );
51
  if($curauth_url){ ?>
52
  <div class="author-archive">
116
  </div>
117
 
118
  <?php if (ampforwp_has_post_thumbnail() ) {
119
+ $thumb_url = ampforwp_get_post_thumbnail('url','medium');
120
  if($thumb_url){ ?>
121
  <div class="home-post-image">
122
  <a href="<?php echo esc_url( $ampforwp_amp_post_url ); ?>">
templates/design-manager/design-1/elements/related-posts.php CHANGED
@@ -75,8 +75,8 @@
75
  <li class="<?php if ( ampforwp_has_post_thumbnail() ) { echo'has_related_thumbnail'; } else { echo 'no_related_thumbnail'; } ?>">
76
  <a href="<?php echo esc_url( $related_post_permalink ); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">
77
  <?php if ( ampforwp_has_post_thumbnail() ) {
78
- $thumb_url = ampforwp_get_post_thumbnail();
79
- if($thumb_url){ ?>
80
  <amp-img src="<?php echo $thumb_url ?>" width="150" height="150" layout="responsive"></amp-img>
81
  <?php }
82
  }?>
75
  <li class="<?php if ( ampforwp_has_post_thumbnail() ) { echo'has_related_thumbnail'; } else { echo 'no_related_thumbnail'; } ?>">
76
  <a href="<?php echo esc_url( $related_post_permalink ); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">
77
  <?php if ( ampforwp_has_post_thumbnail() ) {
78
+ $thumb_url = ampforwp_get_post_thumbnail('url','medium');
79
+ if($thumb_url){ ?>
80
  <amp-img src="<?php echo $thumb_url ?>" width="150" height="150" layout="responsive"></amp-img>
81
  <?php }
82
  }?>
templates/design-manager/design-1/elements/social-icons.php CHANGED
@@ -47,32 +47,81 @@
47
  <?php } ?>
48
  <?php if($redux_builder_amp['enable-single-whatsapp-share'] == true) { ?>
49
  <a href="whatsapp://send?text=<?php echo get_the_permalink(); ?>">
50
- <div class="custom-amp-socialsharing-icon">
51
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVk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GZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K" width="50" height="20" />
52
  </div>
53
  </a>
54
  <?php } ?>
55
  <?php if($redux_builder_amp['enable-single-line-share'] == true) { ?>
56
  <a href="http://line.me/R/msg/text/?<?php echo get_the_permalink(); ?>">
57
- <div class="custom-amp-socialsharing-icon custom-amp-socialsharing-line">
58
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDI5Ni41MjggMjk2LjUyOCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjk2LjUyOCAyOTYuNTI4OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjI0cHgiI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gtMzQuNjQ1Yy0zLjg2NiwwLTctMy4xMzQtNy03di0yNi44NDdWOTguNTczICAgYzAtMy44NjYsMy4xMzQtNyw3LTdoMzMuNTdjMy44NjYsMCw3LDMuMTM0LDcsN3MtMy4xMzQsNy03LDdoLTI2LjU3djEyLjg0OWgyMS41NjJjMy44NjYsMCw3LDMuMTM0LDcsN2MwLDMuODY2LTMuMTM0LDctNyw3ICAgaC0yMS41NjJ2MTIuODQ3aDI3LjY0NWMzLjg2NiwwLDcsMy4xMzQsNyw3UzIzNy4xNzcsMTU5LjI2OSwyMzMuMzExLDE1OS4yNjl6IiBmaWxsPSIjRkZGRkZGIi8+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==" width="50" height="20" />
59
  </div>
60
  </a>
61
  <?php } ?>
62
  <?php if($redux_builder_amp['enable-single-vk-share'] == true) { ?>
63
  <a href="http://vk.com/share.php?url=<?php echo get_the_permalink(); ?>">
64
- <div class="custom-amp-socialsharing-icon custom-amp-socialsharing-vk">
65
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZX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zLjA3MiAgIEMyNTIuMjYsMTYxLjU0NCwyNTIuODQyLDE2Ni42OTcsMjYxLjk0NSwxNzUuNTc2TDI2MS45NDUsMTc1LjU3NnogTTI2MS45NDUsMTc1LjU3NiIgZmlsbD0iI0ZGRkZGRiIvPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=" width="50" height="20" />
66
  </div>
67
  </a>
68
  <?php } ?>
69
  <?php if($redux_builder_amp['enable-single-odnoklassniki-share'] == true) { ?>
70
  <a href="https://ok.ru/dk?st.cmd=addShare&st._surl=<?php echo get_the_permalink(); ?>" target="_blank">
71
- <div class="custom-amp-socialsharing-icon custom-amp-social-sharing-odnoklassniki">
72
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjY0cHgiI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8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=" width="50" height="20" />
73
  </div>
74
  </a>
75
  <?php } ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  </div>
77
  <?php } ?>
78
 
47
  <?php } ?>
48
  <?php if($redux_builder_amp['enable-single-whatsapp-share'] == true) { ?>
49
  <a href="whatsapp://send?text=<?php echo get_the_permalink(); ?>">
50
+ <div class="amp-social-icon">
51
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjUxMnB4IiBoZWlnaHQ9IjUxMnB4IiB2aWV3Qm94PSIwIDAgOTAgOTAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDkwIDkwOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggaWQ9IldoYXRzQXBwIiBkPSJNOTAsNDMuODQxYzAsMjQuMjEzLTE5Ljc3OSw0My44NDEtND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2MtMC4yNy0wLjUzNy0yLjQzOC01LjgyNS0zLjM0LTcuOTc3ICAgYy0wLjkwMi0yLjE1LTEuODAzLTEuNzkyLTIuNDM2LTEuNzkyYy0wLjYzMSwwLTEuMzU0LTAuMDktMi4wNzYtMC4wOWMtMC43MjIsMC0xLjg5NiwwLjI2OS0yLjg4OSwxLjM0NCAgIGMtMC45OTIsMS4wNzYtMy43ODksMy42NzYtMy43ODksOC45NjNjMCw1LjI4OCwzLjg3OSwxMC4zOTcsNC40MjIsMTEuMTEzYzAuNTQxLDAuNzE2LDcuNDksMTEuOTIsMTguNSwxNi4yMjMgICBDNTguMiw2NS43NzEsNTguMiw2NC4zMzYsNjAuMTg2LDY0LjE1NmMxLjk4NC0wLjE3OSw2LjQwNi0yLjU5OSw3LjMxMi01LjEwN0M2OC4zOTgsNTYuNTM3LDY4LjM5OCw1NC4zODYsNjguMTI5LDUzLjkzOHoiIGZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K" width="50" height="20" />
52
  </div>
53
  </a>
54
  <?php } ?>
55
  <?php if($redux_builder_amp['enable-single-line-share'] == true) { ?>
56
  <a href="http://line.me/R/msg/text/?<?php echo get_the_permalink(); ?>">
57
+ <div class="amp-social-icon custom-amp-socialsharing-line">
58
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2l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>
61
  <?php } ?>
62
  <?php if($redux_builder_amp['enable-single-vk-share'] == true) { ?>
63
  <a href="http://vk.com/share.php?url=<?php echo get_the_permalink(); ?>">
64
+ <div class="amp-social-icon custom-amp-socialsharing-vk">
65
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCAzMDQuMzYgMzA0LjM2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAzMDQuMzYgMzA0LjM2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjUxMnB4IiBoZWlnaHQ9IjUxMnB4Ij4KPGcgaWQ9IlhNTElEXzFfIj4KCTxwYXRoIGlkPSJYTUxJRF84MDdfIiBzdHlsZT0iZmlsbC1ydWxlOmV2ZW5vZGQ7Y2xpcC1ydWxlOmV2ZW5vZGQ7IiBkPSJNMjYxLjk0NSwxNzUuNTc2YzEwLjA5Niw5Ljg1NywyMC43NTIsMTkuMTMxLDI5LjgwNywyOS45ODIgICBjNCw0LjgyMiw3Ljc4Nyw5Ljc5OCwxMC42ODQsMTUuMzk0YzQuMTA1LDcuOTU1LDAuMzg3LDE2LjcwOS02Ljc0NiwxNy4xODRsLTQ0LjM0LTAuMDJjLTExLjQzNiwwLjk0OS0yMC41NTktMy42NTUtMjguMjMtMTEuNDc0ICA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ICAgYy0wLjA4NiwzLjA3MywxLjUzNSwxMi4xOTIsNy4wNywxNC4yMjZjNC40MywxLjQ0OCw3LjM1LTIuMDk2LDEwLjAwOC00LjkwNWMxMS45OTgtMTIuNzM0LDIwLjU2MS0yNy43ODMsMjguMjExLTQzLjM2NiAgIGMzLjM5NS02Ljg1Miw2LjMxNC0xMy45NjgsOS4xNDMtMjEuMDc4YzIuMDk2LTUuMjc2LDUuMzg1LTcuODcyLDExLjMyOC03Ljc1N2w0OC4yMjksMC4wNDNjMS40MywwLDIuODc3LDAuMDIxLDQuMjYyLDAuMjU4ICAgYzguMTI3LDEuMzg1LDEwLjM1NCw0Ljg4MSw3Ljg0NCwxMi44MTdjLTMuOTU1LDEyLjQ1MS0xMS42NSwyMi44MjctMTkuMTc0LDMzLjI1MWMtOC4wNDMsMTEuMTI5LTE2LjY0NSwyMS44NzctMjQuNjIxLDMzLjA3MiAgIEMyNTIuMjYsMTYxLjU0NCwyNTIuODQyLDE2Ni42OTcsMjYxLjk0NSwxNzUuNTc2TDI2MS45NDUsMTc1LjU3NnogTTI2MS45NDUsMTc1LjU3NiIgZmlsbD0iI0ZGRkZGRiIvPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=" width="50" height="20" />
66
  </div>
67
  </a>
68
  <?php } ?>
69
  <?php if($redux_builder_amp['enable-single-odnoklassniki-share'] == true) { ?>
70
  <a href="https://ok.ru/dk?st.cmd=addShare&st._surl=<?php echo get_the_permalink(); ?>" target="_blank">
71
+ <div class="amp-social-icon amp-social-odnoklassniki">
72
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGlu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ODksNDguMzc1LDQ3LjU1LDQ4LjMyOXogTTU5LjU1MSwyNC4xNDMgICAgYy0wLjAyMy02LjU2Ny01LjI1My0xMS43OTUtMTEuODA3LTExLjgwMWMtNi42MDktMC4wMDctMTEuODg2LDUuMzE2LTExLjgzNSwxMS45NDNjMC4wNDksNi41NDIsNS4zMjQsMTEuNzMzLDExLjg5NiwxMS43MDkgICAgQzU0LjM1NywzNS45NzEsNTkuNTczLDMwLjcwOSw1OS41NTEsMjQuMTQzeiIgZmlsbD0iI0ZGRkZGRiIvPgoJPC9nPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=" width="50" height="20" />
73
  </div>
74
  </a>
75
  <?php } ?>
76
+ <?php if ( true == $redux_builder_amp['enable-single-reddit-share'] ) { ?>
77
+ <a href="https://reddit.com/submit?url=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(get_the_title()); ?>" target="_blank">
78
+ <div class="amp-social-icon amp-social-reddit">
79
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNDQ5IDUxMiIgZmlsbD0iI2ZmZmZmZiIgPjxwYXRoIGQ9Ik00NDkgMjUxYzAgMjAtMTEgMzctMjcgNDUgMSA1IDEgOSAxIDE0IDAgNzYtODkgMTM4LTE5OSAxMzhTMjYgMzg3IDI2IDMxMWMwLTUgMC0xMCAxLTE1LTE2LTgtMjctMjUtMjctNDUgMC0yOCAyMy01MCA1MC01MCAxMyAwIDI0IDUgMzMgMTMgMzMtMjMgNzktMzkgMTI5LTQxaDJsMzEtMTAzIDkwIDE4YzgtMTQgMjItMjQgMzktMjRoMWMyNSAwIDQ0IDIwIDQ0IDQ1cy0xOSA0NS00NCA0NWgtMWMtMjMgMC00Mi0xNy00NC00MGwtNjctMTQtMjIgNzRjNDkgMyA5MyAxNyAxMjUgNDAgOS04IDIxLTEzIDM0LTEzIDI3IDAgNDkgMjIgNDkgNTB6TTM0IDI3MWM1LTE1IDE1LTI5IDI5LTQxLTQtMy05LTUtMTUtNS0xNCAwLTI1IDExLTI1IDI1IDAgOSA0IDE3IDExIDIxem0zMjQtMTYyYzAgOSA3IDE3IDE2IDE3czE3LTggMTctMTctOC0xNy0xNy0xNy0xNiA4LTE2IDE3ek0xMjcgMjg4YzAgMTggMTQgMzIgMzIgMzJzMzItMTQgMzItMzItMTQtMzEtMzItMzEtMzIgMTMtMzIgMzF6bTk3IDExMmM0OCAwIDc3LTI5IDc4LTMwbC0xMy0xMnMtMjUgMjQtNjUgMjRjLTQxIDAtNjQtMjQtNjQtMjRsLTEzIDEyYzEgMSAyOSAzMCA3NyAzMHptNjctODBjMTggMCAzMi0xNCAzMi0zMnMtMTQtMzEtMzItMzEtMzIgMTMtMzIgMzEgMTQgMzIgMzIgMzJ6bTEyNC00OGM3LTUgMTEtMTMgMTEtMjIgMC0xNC0xMS0yNS0yNS0yNS02IDAtMTEgMi0xNSA1IDE0IDEyIDI0IDI3IDI5IDQyeiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
80
+ </div>
81
+ </a>
82
+ <?php } ?>
83
+ <?php if ( true == $redux_builder_amp['enable-single-tumblr-share'] ) { ?>
84
+ <a href="https://www.tumblr.com/widgets/share/tool?canonicalUrl=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(get_the_title()); ?>&caption=<?php echo esc_attr(get_the_excerpt()); ?>" target="_blank">
85
+ <div class="amp-social-icon amp-social-tumblr">
86
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNjQgNjQiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMzYuMDAyIDI4djE0LjYzNmMwIDMuNzE0LS4wNDggNS44NTMuMzQ2IDYuOTA2LjM5IDEuMDQ3IDEuMzcgMi4xMzQgMi40MzcgMi43NjMgMS40MTguODUgMy4wMzQgMS4yNzMgNC44NTcgMS4yNzMgMy4yNCAwIDUuMTU1LS40MjggOC4zNi0yLjUzNHY5LjYyYy0yLjczMiAxLjI4Ni01LjExOCAyLjAzOC03LjMzNCAyLjU2LTIuMjIuNTE0LTQuNjE2Ljc3NC03LjE5Ljc3NC0yLjkyOCAwLTQuNjU1LS4zNjgtNi45MDItMS4xMDMtMi4yNDctLjc0Mi00LjE2Ni0xLjgtNS43NS0zLjE2LTEuNTkyLTEuMzctMi42OS0yLjgyNC0zLjMwNC00LjM2M3MtLjkyLTMuNzc2LS45Mi02LjcwM1YyNi4yMjRoLTguNTl2LTkuMDYzYzIuNTE0LS44MTUgNS4zMjQtMS45ODcgNy4xMTItMy41MSAxLjc5Ny0xLjUyNyAzLjIzNS0zLjM1NiA0LjMyLTUuNDk2QzI0LjUzIDYuMDIyIDI1LjI3NiAzLjMgMjUuNjgzIDBoMTAuMzJ2MTZINTJ2MTJIMzYuMDA0eiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
87
+ </div>
88
+ </a>
89
+ <?php } ?>
90
+ <?php if ( true == $redux_builder_amp['enable-single-telegram-share'] ) { ?>
91
+ <a href="https://telegram.me/share/url?url=<?php echo esc_url(get_the_permalink()); ?>&text=<?php echo esc_attr(get_the_title()); ?>" target="_blank">
92
+ <div class="amp-social-icon amp-social-telegram">
93
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjYgMjYiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMCAydjguNUwxNSAxMyAwIDE1LjVWMjRsMjYtMTFMMCAyeiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
94
+ </div>
95
+ </a>
96
+ <?php } ?>
97
+ <?php if ( true == $redux_builder_amp['enable-single-digg-share'] ) { ?>
98
+ <a href="http://digg.com/submit?url=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(get_the_title()); ?>" target="_blank">
99
+ <div class="amp-social-icon amp-social-digg">
100
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjA0OCAxODk2LjA4MzMiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMzI4IDI4MmgyMDR2OTgzSDBWNTY4aDMyOFYyODJ6bTAgODE5VjczMkgyMDV2MzY5aDEyM3ptMjg2LTUzM3Y2OTdoMjA1VjU2OEg2MTR6bTAtMjg2djIwNGgyMDVWMjgySDYxNHptMjg3IDI4Nmg1MzN2OTQySDkwMXYtMTYzaDMyOHYtODJIOTAxVjU2OHptMzI4IDUzM1Y3MzJoLTEyM3YzNjloMTIzem0yODctNTMzaDUzMnY5NDJoLTUzMnYtMTYzaDMyN3YtODJoLTMyN1Y1Njh6bTMyNyA1MzNWNzMyaC0xMjN2MzY5aDEyM3oiPjwvcGF0aD48L3N2Zz4=" width="50" height="20" />
101
+ </div>
102
+ </a>
103
+ <?php } ?>
104
+ <?php if ( true == $redux_builder_amp['enable-single-stumbleupon-share'] ) { ?>
105
+ <a href="http://www.stumbleupon.com/submit?url=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(get_the_title()); ?>" target="_blank">
106
+ <div class="amp-social-icon amp-social-stumbleupon">
107
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNjcwLjIyMzMgNjAxLjA4NjkiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMCA0MzcuMjQ3di05Mi42NzJoMTE0LjY4OHY5MS42NjRjMCA5LjU2NyAzLjQwOCAxNy44MjMgMTAuMjQgMjQuODNzMTUuMTg0IDEwLjQ5NyAyNS4wODggMTAuNDk3IDE4LjMzNi0zLjQyNCAyNS4zNDQtMTAuMjRjNy4wMDgtNi44NDggMTAuNDk2LTE1LjIgMTAuNDk2LTI1LjA4OFYyMTkuNjQ2YzAtMzkuOTM1IDE0Ljc1Mi03My45ODQgNDQuMjg4LTEwMi4xNDQgMjkuNTM2LTI4LjE2IDY0LjYwOC00Mi4yNCAxMDUuMjE2LTQyLjI0IDQwLjYwOCAwIDc1LjY4IDE0LjE2IDEwNS4yMTYgNDIuNDk2IDI5LjUyIDI4LjMzNSA0NC4zMDUgNjIuNjQgNDQuMzA1IDEwMi45MXY0Ny4xMDRsLTY4LjYyMyAyMC40OC00NS41Ny0yMS41MDN2LTQwLjk2YzAtOS45MDMtMy40MDctMTguMjU2LTEwLjI1NS0yNS4wODgtNi44MTYtNi44MzItMTUuMTgzLTEwLjI0LTI1LjA3Mi0xMC4yNC05LjkwMyAwLTE4LjMzNiAzLjQwOC0yNS4zNDQgMTAuMjRzLTEwLjQ5NiAxNS4xODUtMTAuNDk2IDI1LjA5djIxMy41MDNjMCA0MC45NzYtMTQuNjcyIDc1Ljg3Mi00NC4wMzIgMTA0LjcyLTI5LjM0NCAyOC44NDgtNjQuNTEyIDQzLjI0OC0xMDUuNDcyIDQzLjI0OC00MS4zMSAwLTc2LjY0LTE0LjU5Mi0xMDUuOTg0LTQzLjc3NkMxNC42ODggNTE0LjMwMy4wMDIgNDc4Ljg4LjAwMiA0MzcuMjQ3em0zNzAuNjg4IDEuNTM2di05My42OTVsNDUuNTY4IDIxLjUyIDY4LjYyNC0yMC40OTd2OTQuMjI2YzAgOS45MDMgMy40MDggMTguMzM2IDEwLjIyNCAyNS4zNDQgNi44NDcgNy4wMDcgMTUuMiAxMC40OTYgMjUuMDg3IDEwLjQ5NiA5LjkwNiAwIDE4LjI3NC0zLjUwNCAyNS4wOS0xMC40OTYgNi44MTYtNi45OTMgMTAuMjU1LTE1LjQ0IDEwLjI1NS0yNS4zNDR2LTk1Ljc0NGgxMTQuNjg4djkyLjY3MmMwIDQxLjI5NS0xNC41OSA3Ni42NC00My43NzYgMTA1Ljk4My0yOS4xODQgMjkuMzYtNjQuNDMyIDQ0LjAzMi0xMDUuNzI4IDQ0LjAzMnMtNzYuNjI1LTE0LjQ5Ny0xMDUuOTg1LTQzLjUyYy0yOS4zNi0yOS4wNC00NC4wNDgtNjQuMDE3LTQ0LjA0OC0xMDQuOTc4eiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
108
+ </div>
109
+ </a>
110
+ <?php } ?>
111
+ <?php if ( true == $redux_builder_amp['enable-single-wechat-share'] ) { ?>
112
+ <a href="http://api.addthis.com/oexchange/0.8/forward/wechat/offer?url=<?php echo esc_url(get_the_permalink()); ?>" target="_blank">
113
+ <div class="amp-social-icon amp-social-wechat">
114
+ <amp-img src="data:image/svg+xml;base64,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uNVQxNzk0IDE1NDlsNTUgMTgxLTE5OS0xMDlxLTE1MCAzNy0yMTggMzctMTY5IDAtMzExLTcwLjVUODk3LjUgMTM5NiA4MTYgMTEzMnQ4MS41LTI2NFQxMTIxIDY3Ni41dDMxMS03MC41cTE2MSAwIDMwMyA3MC41dDIyNy41IDE5MlQyMDQ4IDExMzJ6Ij48L3BhdGg+PC9zdmc+" width="50" height="20" />
115
+ </div>
116
+ </a>
117
+ <?php } ?>
118
+ <?php if ( true == $redux_builder_amp['enable-single-viber-share'] ) { ?>
119
+ <a href="viber://forward?text=<?php echo esc_url(get_the_permalink()); ?>" target="_blank">
120
+ <div class="amp-social-icon amp-social-viber">
121
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTAyNiAxMjM0IiBmaWxsPSIjZmZmZmZmIiA+PHBhdGggZD0iTTkwNCA3OTRxLTY5IDYxLTIwMCA4Ny41VDQzNCA4OTdsLTE3NiAxMzJWODY0cS04Ny0yNy0xMzYtNzAtNTgtNTEtOTAtMTQ2LjV0LTMyLTE5NSAzMi0xOTUgOTAuNS0xNDcgMTY3LjUtNzlUNTEzIDR0MjIzIDI3LjUgMTY3LjUgNzkgOTAuNSAxNDcgMzIgMTk1LTMyIDE5NVQ5MDQgNzk0ek02MzkgNTQ5bDY1IDExcS04LTEyMC05Mi41LTIwNVQ0MDcgMjYybDExIDY1cTg2IDExIDE0OCA3M3Q3MyAxNDl6TTQyOSAzOTRsMTIgNzJxNDAgMjAgNTkgNTlsNzIgMTJxLTEyLTUzLTUxLTkxLjVUNDI5IDM5NHptLTEwNyA1OXYtNjRxMC0xNy0xMi41LTM0VDI4MyAzMzAuNXQtMjEtMS41bC00NiA0N3EtMzkgMzktMTEuNSAxMjEuNXQxMDUgMTYwIDE2MCAxMDVUNTkwIDc1MWw0Ny00N3E3LTYtLjUtMjAuNVQ2MTIgNjU3dC0zNC0xMmgtNjRsLTM3IDMycS00NC0xMi0xMDkuNS03Ny41VDI5MCA0ODl6bTY0LTMyMGwxMCA2NXExMDAgMiAxODUgNTIuNXQxMzUgMTM1VDc2OSA1NzBsNjUgMTFxMC05MS0zNS41LTE3NFQ3MDMgMjY0dC0xNDMtOTUuNVQzODYgMTMzeiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
122
+ </div>
123
+ </a>
124
+ <?php } ?>
125
  </div>
126
  <?php } ?>
127
 
templates/design-manager/design-1/index.php CHANGED
@@ -80,7 +80,7 @@
80
  </div>
81
 
82
  <?php if ( ampforwp_has_post_thumbnail() ) {
83
- $thumb_url = ampforwp_get_post_thumbnail();
84
  if($thumb_url){ ?>
85
  <div class="home-post-image">
86
  <a href="<?php echo ampforwp_url_controller( $ampforwp_post_url );?>">
80
  </div>
81
 
82
  <?php if ( ampforwp_has_post_thumbnail() ) {
83
+ $thumb_url = ampforwp_get_post_thumbnail('url','medium');
84
  if($thumb_url){ ?>
85
  <div class="home-post-image">
86
  <a href="<?php echo ampforwp_url_controller( $ampforwp_post_url );?>">
templates/design-manager/design-1/style.php CHANGED
@@ -15,6 +15,10 @@ function ampforwp_additional_style_input( $amp_template ) {
15
  $header_background_color = $get_customizer->get_customizer_setting( 'header_background_color' );
16
  $header_color = $get_customizer->get_customizer_setting( 'header_color' );
17
  ?>
 
 
 
 
18
  #statcounter{width: 1px;height:1px;}
19
  @font-face {
20
  font-family: 'Merriweather';
@@ -61,9 +65,9 @@ blockquote {color: <?php echo sanitize_hex_color( $text_color ); ?>;background:
61
  .amp-wp-frontpage .ampforwp-title {margin-left:10px;}.amp-wp-article a{text-decoration:none}.amp-wp-article-content {margin: 0 16px;}.amp-wp-article-content ul,.amp-wp-article-content ol {margin-left: 1em;}.amp-wp-article-content amp-img {margin: 0 auto;}.amp-wp-article-content amp-img.alignright {margin: 0 0 1em 16px;}.amp-wp-article-content amp-img.alignleft {margin: 0 16px 1em 0;} .amp-disqus-comments {padding: 15px;}.amp-disqus-comments amp-iframe{background: none;}.wp-caption {padding: 0;}.wp-caption.alignleft {margin-right: 16px;}.wp-caption.alignright { margin-left: 16px;}.wp-caption-text {border-bottom: 1px solid <?php echo sanitize_hex_color( $border_color ); ?>;color: <?php echo sanitize_hex_color( $muted_text_color ); ?>;font-size: .875em;line-height: 1.5em;margin: 0;padding: .66em 10px .75em;text-align: center;} amp-carousel {background: <?php echo sanitize_hex_color( $border_color ); ?>;margin: 0 -16px 1.5em;} amp-iframe,amp-youtube,amp-instagram,amp-vine {background: <?php echo sanitize_hex_color( $border_color ); ?>;margin: 0 -16px 1.5em; } .amp-wp-article-content amp-carousel amp-img {border: none;} amp-carousel > amp-img > img {object-fit: contain; } .amp-wp-iframe-placeholder { background: <?php echo sanitize_hex_color( $border_color ); ?> url( <?php echo esc_url( $get_customizer->get( 'placeholder_image_url' ) ); ?> ) no-repeat center 40%;background-size: 48px 48px;min-height: 48px;} .amp-wp-article-footer .amp-wp-meta {display: block;} .amp-wp-tags{ list-style-type: none; padding: 0; margin: 0 0 9px 0; display: inline-flex; } .amp-wp-tags li{display:inline; padding-left: 5px; } .amp-wp-tax-category span{margin-right:5px;} .amp-wp-tax-category, .amp-wp-tax-tag { color: <?php echo sanitize_hex_color( $muted_text_color ); ?>;font-size: .875em;line-height: 1.5em;margin: 1.5em 16px;}.ampforwp-comment-button {margin-bottom:20px;} .amp-wp-comments-link {color: <?php echo sanitize_hex_color( $muted_text_color ); ?>;font-size: .875em;line-height: 1.5em;text-align: center;margin: 2.25em 0 1.5em;} .amp-wp-comments-link a { border-style: solid;border-color: <?php echo sanitize_hex_color( $border_color ); ?>;border-width: 1px 1px 2px;border-radius: 4px;background-color: transparent;color: <?php echo sanitize_hex_color( $link_color ); ?>;cursor: pointer; display: block;font-size: 14px;font-weight: 600;line-height: 18px;margin: 0 auto;max-width: 200px;padding: 11px 16px;text-decoration: none;width: 50%;-webkit-transition: background-color 0.2s ease;transition: background-color 0.2s ease;} .page-title {margin: 0 15px; font-size: 1.17em; }.amp-sub-archives li{width: 50%;} .amp-sub-archives ul{padding: 0;list-style: none;display: flex;font-size: 12px;line-height: 1.2;margin: 5px 1.5em 10px 1.5em;} .author-archive amp-img{border-radius: 50%;margin: 0px 8px 10px;display: block;}.author-archive{float: left;} .amp-wp-footer {border-top: 1px solid <?php echo sanitize_hex_color( $border_color ); ?>;margin: calc(1.5em - 1px) 0 0;padding-bottom:25px;}
62
  .amp-wp-footer div{margin:0 auto;max-width:calc(840px - 32px);padding:1.25em 16px;position:relative}.amp-wp-footer h2{font-size:1em;line-height:1.375em;margin:0 0 .5em}
63
  .amp-wp-footer p {color: <?php echo sanitize_hex_color( $muted_text_color ); ?>;font-size: .8em;line-height: 1.5em;margin: 0 15px 0 0;}
64
- .amp-wp-footer a{text-decoration:none}.copyright_txt{float:left}.back-to-top{float:right}.amp-wp-header .nav_container{float: right;top: 16px;line-height: 1; right: 65px; position: absolute}.toggle-text{position:absolute;right:0;height:22px;width:28px}.toggle-text span{display:block;position:absolute;height:2px;width:25px;background:#fff;border-radius:19px;opacity:1;left:0}.toggle-text span:nth-child(2){top:9px}.toggle-text span:nth-child(3){top:18px}.amp-wp-home .amp-wp-meta{margin:5px 0}.amp-wp-home .amp-wp-content p{display:inline-block;width:100%}.ampforwp-custom-index .amp-wp-title a {text-decoration: none;color: <?php echo sanitize_hex_color( $text_color ); ?>;}.comment-button-wrapper a,.related_posts ol{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.amp-wp-meta{display:flex}.amp-wp-posted-on{display:initial}#pagination .next,#pagination .prev{display:inline-block}.ampforwp-custom-index .amp-wp-content{margin-bottom:30px}.pagination-holder{margin:1.5em 16px}#pagination .next{float:right}.amp-wp-home .amp-wp-content p{display:inline}.home-post-image{float:right;margin:0 0 10px 20px}.amp-wp-article-content amp-img{max-width:100%}.amp-wp-meta.amp-wp-tax-category,.amp-wp-meta.amp-wp-tax-tag{margin:0}.amp-wp-meta.amp-wp-tax-tag{display:initial}.ampforwp-social-icons{margin:1.5em 16px}.custom-amp-socialsharing-icon{ width: 50px; height: 28px; display: inline-block; background: #5cbe4a;position: relative; top: -8px; padding-top: 0px; }
65
- .custom-amp-socialsharing-icon amp-img{ top: 4px; }
66
- .custom-amp-socialsharing-line{background:#00b900}.custom-amp-socialsharing-vk{background:#45668e}.custom-amp-social-sharing-odnoklassniki{background:#ed812b}.comment-button-wrapper a{border-style:solid;border-color:#c2c2c2;border-width:1px 1px 2px;border-radius:4px;background-color:transparent;color:#0a89c0;cursor:pointer;display:block;font-size:14px;font-weight:600;text-align:center;line-height:18px;margin:0 auto;max-width:200px;padding:11px 16px;text-decoration:none;width:50%;-webkit-transition:background-color .2s ease;transition:background-color .2s ease}.close-nav,.comments_list div,.related_posts ol li,.toggle-navigation ul,.toggle-navigationv2 ul li a{display:inline-block}main .amp-wp-content.comments_list{background:0 0;box-shadow:none;max-width:1030px}.comments_list h3{font-size:14px;font-weight:700;letter-spacing:.4px;margin:25px 0 10px;color:#333}.comments_list{margin:2.5em 16px}.comments_list ul{margin:0;padding:0}.comments_list ul.children{padding-bottom:10px;margin-left:4%;width:96%}
67
  .comments_list ul li p{margin:0;font-size:14px;clear:both;padding-top:5px; word-break:break-word;}
68
  .comments_list ul li{font-family:sans-serif;font-size:11px;list-style-type:none;margin-bottom:12px;background:#fefefe;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:0 2px 3px rgba(0,0,0,.05);-webkit-box-shadow:0 2px 3px rgba(0,0,0,.05);box-shadow:0 2px 3px rgba(0,0,0,.05);padding:0;max-width:1000px;width:96%}.comments_list ul li .says{margin-right:4px}.comments_list li li,.comments_list li li li{margin:20px 20px 10px}.comments_list ul li p{font-family:Merriweather,'Times New Roman',Times,Serif}.comments_list ul li .comment-body{padding:10px 0 15px}.comment-author{float:left}.single-post footer.comment-meta{padding-bottom:0; line-height: 1.9;}.comments_list li li{background:#f7f7f7;box-shadow:none;border:1px solid #eee} .page-numbers{ padding: 9px 10px; background: #fff; font-size: 14px; } .comment-author-img{float: left; margin-right: 5px; border-radius: 60px;} .comment-content amp-img{max-width: 300px;} amp-sidebar{width:250px}.amp-sidebar-image{line-height:100px;vertical-align:middle}.amp-close-image{top:15px;left:225px;cursor:pointer}.toggle-navigationv2 ul{list-style-type:none;margin:0;font-family:sans-serif;padding:0}.toggle-navigationv2 ul ul li a{padding-left:35px;background:#fff;display:inline-block}.toggle-navigationv2 ul li a{padding:10px 15px 10px 25px;width:88%;text-decoration:none;background:#fafafa;font-size:13px;border-bottom:1px solid #efefef}.close-nav{font-size:12px;font-family:sans-serif;background:rgba(0,0,0,.25);letter-spacing:1px;padding:10px;border-radius:100px;line-height:8px;margin:14px;left:191px;color:#fff}.close-nav:hover{background:rgba(0,0,0,.45)}.toggle-navigation ul{list-style-type:none;margin:0;padding:0;width:100%}.menu-all-pages-container:after{content:"";clear:both}.toggle-navigation ul li{font-size:13px;border-bottom:1px solid rgba(0,0,0,.11);padding:11px 0;width:25%;float:left;text-align:center;margin-top:6px}.toggle-navigation ul ul{display:none}.toggle-navigation ul li a{color:#eee;padding:15px}.toggle-navigation{display:none;background:#444}.nav_container:hover+.toggle-navigation,.toggle-navigation:active,.toggle-navigation:focus,.toggle-navigation:hover{display:inline-block;width:100%}#amp-user-notification1 p{display:inline-block}amp-user-notification{padding:5px;text-align:center;background:#fff;border-top:1px solid} amp-user-notification button {padding: 8px 10px;background: <?php echo sanitize_hex_color( $header_background_color ); ?>;color: <?php echo sanitize_hex_color( $header_color ); ?>;margin-left: 5px;border: 0;}amp-user-notification button:hover {cursor: pointer} .amp-ad-wrapper {text-align: center} <?php if( $redux_builder_amp['enable-single-social-icons'] == true && is_single() ) { ?>body {padding-bottom: 43px;}<?php } ?> .sticky_social a{text-decoration:none}.sticky_social{width:100%;bottom:0;display:block;left:0;box-shadow:0 4px 7px #000;background:#fff;padding:7px 0 0;position:fixed;margin:0;z-index:10;text-align:center}.whatsapp-share-icon{width:50px;height:28px;display:inline-block;background:#5cbe4a;padding:4px 0;position:relative;top:-4px}.amp-wp-tax-category span:first-child:after{content:' '}.amp-wp-tax-category span:after,.amp-wp-tax-tag span:after{content:', '}.amp-wp-tax-category span:last-child:after,.amp-wp-tax-tag span:last-child:after{content:' '}pre{white-space:pre-wrap}.amp-ad-wrapper.amp_ad_1{padding-top:20px}
69
  .amp-wp-content-loop{width:100%}
15
  $header_background_color = $get_customizer->get_customizer_setting( 'header_background_color' );
16
  $header_color = $get_customizer->get_customizer_setting( 'header_color' );
17
  ?>
18
+
19
+ /* Widgets styling */
20
+ .amp-wp-content.widget-wrapper { margin: 20px 17px 17px 17px;}
21
+
22
  #statcounter{width: 1px;height:1px;}
23
  @font-face {
24
  font-family: 'Merriweather';
65
  .amp-wp-frontpage .ampforwp-title {margin-left:10px;}.amp-wp-article a{text-decoration:none}.amp-wp-article-content {margin: 0 16px;}.amp-wp-article-content ul,.amp-wp-article-content ol {margin-left: 1em;}.amp-wp-article-content amp-img {margin: 0 auto;}.amp-wp-article-content amp-img.alignright {margin: 0 0 1em 16px;}.amp-wp-article-content amp-img.alignleft {margin: 0 16px 1em 0;} .amp-disqus-comments {padding: 15px;}.amp-disqus-comments amp-iframe{background: none;}.wp-caption {padding: 0;}.wp-caption.alignleft {margin-right: 16px;}.wp-caption.alignright { margin-left: 16px;}.wp-caption-text {border-bottom: 1px solid <?php echo sanitize_hex_color( $border_color ); ?>;color: <?php echo sanitize_hex_color( $muted_text_color ); ?>;font-size: .875em;line-height: 1.5em;margin: 0;padding: .66em 10px .75em;text-align: center;} amp-carousel {background: <?php echo sanitize_hex_color( $border_color ); ?>;margin: 0 -16px 1.5em;} amp-iframe,amp-youtube,amp-instagram,amp-vine {background: <?php echo sanitize_hex_color( $border_color ); ?>;margin: 0 -16px 1.5em; } .amp-wp-article-content amp-carousel amp-img {border: none;} amp-carousel > amp-img > img {object-fit: contain; } .amp-wp-iframe-placeholder { background: <?php echo sanitize_hex_color( $border_color ); ?> url( <?php echo esc_url( $get_customizer->get( 'placeholder_image_url' ) ); ?> ) no-repeat center 40%;background-size: 48px 48px;min-height: 48px;} .amp-wp-article-footer .amp-wp-meta {display: block;} .amp-wp-tags{ list-style-type: none; padding: 0; margin: 0 0 9px 0; display: inline-flex; } .amp-wp-tags li{display:inline; padding-left: 5px; } .amp-wp-tax-category span{margin-right:5px;} .amp-wp-tax-category, .amp-wp-tax-tag { color: <?php echo sanitize_hex_color( $muted_text_color ); ?>;font-size: .875em;line-height: 1.5em;margin: 1.5em 16px;}.ampforwp-comment-button {margin-bottom:20px;} .amp-wp-comments-link {color: <?php echo sanitize_hex_color( $muted_text_color ); ?>;font-size: .875em;line-height: 1.5em;text-align: center;margin: 2.25em 0 1.5em;} .amp-wp-comments-link a { border-style: solid;border-color: <?php echo sanitize_hex_color( $border_color ); ?>;border-width: 1px 1px 2px;border-radius: 4px;background-color: transparent;color: <?php echo sanitize_hex_color( $link_color ); ?>;cursor: pointer; display: block;font-size: 14px;font-weight: 600;line-height: 18px;margin: 0 auto;max-width: 200px;padding: 11px 16px;text-decoration: none;width: 50%;-webkit-transition: background-color 0.2s ease;transition: background-color 0.2s ease;} .page-title {margin: 0 15px; font-size: 1.17em; }.amp-sub-archives li{width: 50%;} .amp-sub-archives ul{padding: 0;list-style: none;display: flex;font-size: 12px;line-height: 1.2;margin: 5px 1.5em 10px 1.5em;} .author-archive amp-img{border-radius: 50%;margin: 0px 8px 10px;display: block;}.author-archive{float: left;} .amp-wp-footer {border-top: 1px solid <?php echo sanitize_hex_color( $border_color ); ?>;margin: calc(1.5em - 1px) 0 0;padding-bottom:25px;}
66
  .amp-wp-footer div{margin:0 auto;max-width:calc(840px - 32px);padding:1.25em 16px;position:relative}.amp-wp-footer h2{font-size:1em;line-height:1.375em;margin:0 0 .5em}
67
  .amp-wp-footer p {color: <?php echo sanitize_hex_color( $muted_text_color ); ?>;font-size: .8em;line-height: 1.5em;margin: 0 15px 0 0;}
68
+ .amp-wp-footer a{text-decoration:none}.copyright_txt{float:left}.back-to-top{float:right}.amp-wp-header .nav_container{float: right;top: 16px;line-height: 1; right: 65px; position: absolute}.toggle-text{position:absolute;right:0;height:22px;width:28px}.toggle-text span{display:block;position:absolute;height:2px;width:25px;background:#fff;border-radius:19px;opacity:1;left:0}.toggle-text span:nth-child(2){top:9px}.toggle-text span:nth-child(3){top:18px}.amp-wp-home .amp-wp-meta{margin:5px 0}.amp-wp-home .amp-wp-content p{display:inline-block;width:100%}.ampforwp-custom-index .amp-wp-title a {text-decoration: none;color: <?php echo sanitize_hex_color( $text_color ); ?>;}.comment-button-wrapper a,.related_posts ol{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.amp-wp-meta{display:flex}.amp-wp-posted-on{display:initial}#pagination .next,#pagination .prev{display:inline-block}.ampforwp-custom-index .amp-wp-content{margin-bottom:30px}.pagination-holder{margin:1.5em 16px}#pagination .next{float:right}.amp-wp-home .amp-wp-content p{display:inline}.home-post-image{float:right;margin:0 0 10px 20px}.amp-wp-article-content amp-img{max-width:100%}.amp-wp-meta.amp-wp-tax-category,.amp-wp-meta.amp-wp-tax-tag{margin:0}.amp-wp-meta.amp-wp-tax-tag{display:initial}.ampforwp-social-icons{margin:1.5em 16px}.amp-social-icon{ width: 50px; height: 28px; display: inline-block; background: #5cbe4a;position: relative; top: -8px; padding-top: 0px; margin-bottom:5px; }
69
+ .amp-social-icon amp-img{ top: 4px; }
70
+ .custom-amp-socialsharing-line{background:#00b900}.custom-amp-socialsharing-vk{background:#45668e}.amp-social-odnoklassniki{background:#ed812b}.amp-social-reddit{background:#ff4500}.amp-social-telegram{background:#0088cc}.amp-social-tumblr{background:#35465c}.amp-social-digg{background:#005be2}.amp-social-stumbleupon{background:#eb4924}.amp-social-wechat{background:#7bb32e}.amp-social-viber{background:#8f5db7}.comment-button-wrapper a{border-style:solid;border-color:#c2c2c2;border-width:1px 1px 2px;border-radius:4px;background-color:transparent;color:#0a89c0;cursor:pointer;display:block;font-size:14px;font-weight:600;text-align:center;line-height:18px;margin:0 auto;max-width:200px;padding:11px 16px;text-decoration:none;width:50%;-webkit-transition:background-color .2s ease;transition:background-color .2s ease}.close-nav,.comments_list div,.related_posts ol li,.toggle-navigation ul,.toggle-navigationv2 ul li a{display:inline-block}main .amp-wp-content.comments_list{background:0 0;box-shadow:none;max-width:1030px}.comments_list h3{font-size:14px;font-weight:700;letter-spacing:.4px;margin:25px 0 10px;color:#333}.comments_list{margin:2.5em 16px}.comments_list ul{margin:0;padding:0}.comments_list ul.children{padding-bottom:10px;margin-left:4%;width:96%}
71
  .comments_list ul li p{margin:0;font-size:14px;clear:both;padding-top:5px; word-break:break-word;}
72
  .comments_list ul li{font-family:sans-serif;font-size:11px;list-style-type:none;margin-bottom:12px;background:#fefefe;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:0 2px 3px rgba(0,0,0,.05);-webkit-box-shadow:0 2px 3px rgba(0,0,0,.05);box-shadow:0 2px 3px rgba(0,0,0,.05);padding:0;max-width:1000px;width:96%}.comments_list ul li .says{margin-right:4px}.comments_list li li,.comments_list li li li{margin:20px 20px 10px}.comments_list ul li p{font-family:Merriweather,'Times New Roman',Times,Serif}.comments_list ul li .comment-body{padding:10px 0 15px}.comment-author{float:left}.single-post footer.comment-meta{padding-bottom:0; line-height: 1.9;}.comments_list li li{background:#f7f7f7;box-shadow:none;border:1px solid #eee} .page-numbers{ padding: 9px 10px; background: #fff; font-size: 14px; } .comment-author-img{float: left; margin-right: 5px; border-radius: 60px;} .comment-content amp-img{max-width: 300px;} amp-sidebar{width:250px}.amp-sidebar-image{line-height:100px;vertical-align:middle}.amp-close-image{top:15px;left:225px;cursor:pointer}.toggle-navigationv2 ul{list-style-type:none;margin:0;font-family:sans-serif;padding:0}.toggle-navigationv2 ul ul li a{padding-left:35px;background:#fff;display:inline-block}.toggle-navigationv2 ul li a{padding:10px 15px 10px 25px;width:88%;text-decoration:none;background:#fafafa;font-size:13px;border-bottom:1px solid #efefef}.close-nav{font-size:12px;font-family:sans-serif;background:rgba(0,0,0,.25);letter-spacing:1px;padding:10px;border-radius:100px;line-height:8px;margin:14px;left:191px;color:#fff}.close-nav:hover{background:rgba(0,0,0,.45)}.toggle-navigation ul{list-style-type:none;margin:0;padding:0;width:100%}.menu-all-pages-container:after{content:"";clear:both}.toggle-navigation ul li{font-size:13px;border-bottom:1px solid rgba(0,0,0,.11);padding:11px 0;width:25%;float:left;text-align:center;margin-top:6px}.toggle-navigation ul ul{display:none}.toggle-navigation ul li a{color:#eee;padding:15px}.toggle-navigation{display:none;background:#444}.nav_container:hover+.toggle-navigation,.toggle-navigation:active,.toggle-navigation:focus,.toggle-navigation:hover{display:inline-block;width:100%}#amp-user-notification1 p{display:inline-block}amp-user-notification{padding:5px;text-align:center;background:#fff;border-top:1px solid} amp-user-notification button {padding: 8px 10px;background: <?php echo sanitize_hex_color( $header_background_color ); ?>;color: <?php echo sanitize_hex_color( $header_color ); ?>;margin-left: 5px;border: 0;}amp-user-notification button:hover {cursor: pointer} .amp-ad-wrapper {text-align: center} <?php if( $redux_builder_amp['enable-single-social-icons'] == true && is_single() ) { ?>body {padding-bottom: 43px;}<?php } ?> .sticky_social a{text-decoration:none}.sticky_social{width:100%;bottom:0;display:block;left:0;box-shadow:0 4px 7px #000;background:#fff;padding:7px 0 0;position:fixed;margin:0;z-index:10;text-align:center}.whatsapp-share-icon{width:50px;height:28px;display:inline-block;background:#5cbe4a;padding:4px 0;position:relative;top:-4px}.amp-wp-tax-category span:first-child:after{content:' '}.amp-wp-tax-category span:after,.amp-wp-tax-tag span:after{content:', '}.amp-wp-tax-category span:last-child:after,.amp-wp-tax-tag span:last-child:after{content:' '}pre{white-space:pre-wrap}.amp-ad-wrapper.amp_ad_1{padding-top:20px}
73
  .amp-wp-content-loop{width:100%}
templates/design-manager/design-2/archive.php CHANGED
@@ -48,7 +48,7 @@
48
  <?php
49
  if( is_author() ){
50
  $curauth = (get_query_var('author_name')) ? get_user_by('slug', get_query_var('author_name')) : get_userdata(get_query_var('author'));
51
- if( true == ampforwp_comment_gravatar_checker($curauth->user_email) ){
52
  $curauth_url = get_avatar_url( $curauth->user_email, array('size'=>180) );
53
  if($curauth_url){ ?>
54
  <div class="author-archive">
@@ -106,7 +106,7 @@
106
 
107
  <div class="amp-wp-content amp-loop-list">
108
  <?php if ( ampforwp_has_post_thumbnail() ) {
109
- $thumb_url = ampforwp_get_post_thumbnail();
110
  if($thumb_url){ ?>
111
  <div class="home-post_image">
112
  <a href="<?php echo esc_url( $ampforwp_amp_post_url ); ?>">
48
  <?php
49
  if( is_author() ){
50
  $curauth = (get_query_var('author_name')) ? get_user_by('slug', get_query_var('author_name')) : get_userdata(get_query_var('author'));
51
+ if( true == ampforwp_gravatar_checker($curauth->user_email) ){
52
  $curauth_url = get_avatar_url( $curauth->user_email, array('size'=>180) );
53
  if($curauth_url){ ?>
54
  <div class="author-archive">
106
 
107
  <div class="amp-wp-content amp-loop-list">
108
  <?php if ( ampforwp_has_post_thumbnail() ) {
109
+ $thumb_url = ampforwp_get_post_thumbnail('url','medium');
110
  if($thumb_url){ ?>
111
  <div class="home-post_image">
112
  <a href="<?php echo esc_url( $ampforwp_amp_post_url ); ?>">
templates/design-manager/design-2/elements/related-posts.php CHANGED
@@ -71,7 +71,7 @@
71
  <li class="<?php if ( ampforwp_has_post_thumbnail() ) { echo'has_related_thumbnail'; } else { echo 'no_related_thumbnail'; } ?>">
72
  <a href="<?php echo esc_url( $related_post_permalink ); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">
73
  <?php if ( ampforwp_has_post_thumbnail() ) {
74
- $thumb_url = ampforwp_get_post_thumbnail();
75
  if($thumb_url){ ?>
76
  <amp-img src="<?php echo esc_url( $thumb_url ); ?>" width="150" height="150" layout="responsive"></amp-img>
77
  <?php }
71
  <li class="<?php if ( ampforwp_has_post_thumbnail() ) { echo'has_related_thumbnail'; } else { echo 'no_related_thumbnail'; } ?>">
72
  <a href="<?php echo esc_url( $related_post_permalink ); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">
73
  <?php if ( ampforwp_has_post_thumbnail() ) {
74
+ $thumb_url = ampforwp_get_post_thumbnail('url','medium');
75
  if($thumb_url){ ?>
76
  <amp-img src="<?php echo esc_url( $thumb_url ); ?>" width="150" height="150" layout="responsive"></amp-img>
77
  <?php }
templates/design-manager/design-2/elements/social-icons.php CHANGED
@@ -47,32 +47,81 @@ if ( is_single() ) {
47
  <?php } ?>
48
  <?php if($redux_builder_amp['enable-single-whatsapp-share'] == true) { ?>
49
  <a href="whatsapp://send?text=<?php echo get_the_permalink();?>">
50
- <div class="custom-amp-socialsharing-icon">
51
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjUxMnB4IiBoZWlnaHQ9IjUxMnB4IiB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02LjAyNS03LjQ0MWMtMC42MzEtMS4wNzUtMC4wNjYtMS42NTYsMC40NzUtMi4xOTFjMC40ODgtMC40ODIsMS4wODQtMS4yNTUsMS42MjUtMS44ODIgICBjMC41NDMtMC42MjgsMC43MjMtMS4wNzUsMS4wODItMS43OTNjMC4zNjMtMC43MTcsMC4xODItMS4zNDQtMC4wOS0xLjg4M2MtMC4yNy0wLjUzNy0yLjQzOC01LjgyNS0zLjM0LTcuOTc3ICAgYy0wLjkwMi0yLjE1LTEuODAzLTEuNzkyLTIuNDM2LTEuNzkyYy0wLjYzMSwwLTEuMzU0LTAuMDktMi4wNzYtMC4wOWMtMC43MjIsMC0xLjg5NiwwLjI2OS0yLjg4OSwxLjM0NCAgIGMtMC45OTIsMS4wNzYtMy43ODksMy42NzYtMy43ODksOC45NjNjMCw1LjI4OCwzLjg3OSwxMC4zOTcsNC40MjIsMTEuMTEzYzAuNTQxLDAuNzE2LDcuNDksMTEuOTIsMTguNSwxNi4yMjMgICBDNTguMiw2NS43NzEsNTguMiw2NC4zMzYsNjAuMTg2LDY0LjE1NmMxLjk4NC0wLjE3OSw2LjQwNi0yLjU5OSw3LjMxMi01LjEwN0M2OC4zOTgsNTYuNTM3LDY4LjM5OCw1NC4zODYsNjguMTI5LDUzLjkzOHoiIGZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K" width="50" height="20" />
52
  </div>
53
  </a>
54
  <?php } ?>
55
  <?php if($redux_builder_amp['enable-single-line-share'] == true) { ?>
56
  <a href="http://line.me/R/msg/text/?<?php echo get_the_permalink(); ?>">
57
- <div class="custom-amp-social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jwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==" width="50" height="20" />
59
  </div>
60
  </a>
61
  <?php } ?>
62
  <?php if($redux_builder_amp['enable-single-vk-share'] == true) { ?>
63
  <a href="http://vk.com/share.php?url=<?php echo get_the_permalink(); ?>">
64
- <div class="custom-amp-socialsharing-icon custom-amp-socialsharing-vk">
65
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCAzMDQuMzYgMzA0LjM2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAzMDQuMzYgMzA0LjM2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjUxMnB4IiBoZWlnaHQ9IjUxMnB4Ij4KPGcgaWQ9IlhNTElEXzFfIj4KCTxwYXRoIGlkPSJYTUxJRF84MDdfIiBzdHlsZT0iZmlsbC1ydWxlOmV2ZW5vZGQ7Y2xpcC1ydWxlOmV2ZW5vZGQ7IiBkPSJNMjYxLjk0NSwxNzUuNTc2YzEwLjA5Niw5Ljg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</a>
68
  <?php } ?>
69
  <?php if($redux_builder_amp['enable-single-odnoklassniki-share'] == true) { ?>
70
  <a href="https://ok.ru/dk?st.cmd=addShare&st._surl=<?php echo get_the_permalink(); ?>" target="_blank">
71
- <div class="custom-amp-socialsharing-icon custom-amp-social-sharing-odnoklassniki">
72
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDk1LjQ4MSA5NS40ODEiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDk1LjQ4MSA5NS40ODE7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNNDMuMDQxLDY3LjI1NGMtNy40MDItMC43NzItMTQuMDc2LTIuNTk1LTE5Ljc5LTcuMDY0Yy0wLjcwOS0wLjU1Ni0xLjQ0MS0xLjA5Mi0yLjA4OC0xLjcxMyAgICBjLTIuNTAxLTIuNDAyLTIuNzUzLTUuMTUzLTAuNzc0LTcuOTg4YzEuNjkzLTIuNDI2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PgoJCTxwYXRoIGQ9Ik00Ny41NSw0OC4zMjljLTEzLjIwNS0wLjA0NS0yNC4wMzMtMTAuOTkyLTIzLjk1Ni0yNC4yMThDMjMuNjcsMTAuNzM5LDM0LjUwNS0wLjAzNyw0Ny44NCwwICAgIGMxMy4zNjIsMC4wMzYsMjQuMDg3LDEwLjk2NywyNC4wMiwyNC40NzhDNzEuNzkyLDM3LjY3Nyw2MC44ODksNDguMzc1LDQ3LjU1LDQ4LjMyOXogTTU5LjU1MSwyNC4xNDMgICAgYy0wLjAyMy02LjU2Ny01LjI1My0xMS43OTUtMTEuODA3LTExLjgwMWMtNi42MDktMC4wMDctMTEuODg2LDUuMzE2LTExLjgzNSwxMS45NDNjMC4wNDksNi41NDIsNS4zMjQsMTEuNzMzLDExLjg5NiwxMS43MDkgICAgQzU0LjM1NywzNS45NzEsNTkuNTczLDMwLjcwOSw1OS41NTEsMjQuMTQzeiIgZmlsbD0iI0ZGRkZGRiIvPgoJPC9nPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=" width="50" height="20" />
73
  </div>
74
  </a>
75
  <?php } ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  </div>
77
  <?php } ?>
78
  <?php do_action('ampforwp_after_social_icons_hook',$this);
47
  <?php } ?>
48
  <?php if($redux_builder_amp['enable-single-whatsapp-share'] == true) { ?>
49
  <a href="whatsapp://send?text=<?php echo get_the_permalink();?>">
50
+ <div class="amp-social-icon">
51
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgd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Miw2NC4zMzYsNjAuMTg2LDY0LjE1NmMxLjk4NC0wLjE3OSw2LjQwNi0yLjU5OSw3LjMxMi01LjEwN0M2OC4zOTgsNTYuNTM3LDY4LjM5OCw1NC4zODYsNjguMTI5LDUzLjkzOHoiIGZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K" width="50" height="20" />
52
  </div>
53
  </a>
54
  <?php } ?>
55
  <?php if($redux_builder_amp['enable-single-line-share'] == true) { ?>
56
  <a href="http://line.me/R/msg/text/?<?php echo get_the_permalink(); ?>">
57
+ <div class="amp-social-icon custom-amp-socialsharing-line">
58
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDI5Ni41Mjgg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jgyNywyLjU0NWwyNS4yMDcsMzQuNzE3Vjk5LjY3NSAgIGMwLTMuODY2LDMuMTM0LTcsNy03YzMuODY2LDAsNywzLjEzNCw3LDdWMTUzLjM3MXogTTIzMy4zMTEsMTU5LjI2OWgtMzQuNjQ1Yy0zLjg2NiwwLTctMy4xMzQtNy03di0yNi44NDdWOTguNTczICAgYzAtMy44NjYsMy4xMzQtNyw3LTdoMzMuNTdjMy44NjYsMCw3LDMuMTM0LDcsN3MtMy4xMzQsNy03LDdoLTI2LjU3djEyLjg0OWgyMS41NjJjMy44NjYsMCw3LDMuMTM0LDcsN2MwLDMuODY2LTMuMTM0LDctNyw3ICAgaC0yMS41NjJ2MTIuODQ3aDI3LjY0NWMzLjg2NiwwLDcsMy4xMzQsNyw3UzIzNy4xNzcsMTU5LjI2OSwyMzMuMzExLDE1OS4yNjl6IiBmaWxsPSIjRkZGRkZGIi8+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==" width="50" height="20" />
59
  </div>
60
  </a>
61
  <?php } ?>
62
  <?php if($redux_builder_amp['enable-single-vk-share'] == true) { ?>
63
  <a href="http://vk.com/share.php?url=<?php echo get_the_permalink(); ?>">
64
+ <div class="amp-social-icon custom-amp-socialsharing-vk">
65
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1s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ljg4MSw3Ljg0NCwxMi44MTdjLTMuOTU1LDEyLjQ1MS0xMS42NSwyMi44MjctMTkuMTc0LDMzLjI1MWMtOC4wNDMsMTEuMTI5LTE2LjY0NSwyMS44NzctMjQuNjIxLDMzLjA3MiAgIEMyNTIuMjYsMTYxLjU0NCwyNTIuODQyLDE2Ni42OTcsMjYxLjk0NSwxNzUuNTc2TDI2MS45NDUsMTc1LjU3NnogTTI2MS45NDUsMTc1LjU3NiIgZmlsbD0iI0ZGRkZGRiIvPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=" width="50" height="20" />
66
  </div>
67
  </a>
68
  <?php } ?>
69
  <?php if($redux_builder_amp['enable-single-odnoklassniki-share'] == true) { ?>
70
  <a href="https://ok.ru/dk?st.cmd=addShare&st._surl=<?php echo get_the_permalink(); ?>" target="_blank">
71
+ <div class="amp-social-icon amp-social-odnoklassniki">
72
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz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o8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=" width="50" height="20" />
73
  </div>
74
  </a>
75
  <?php } ?>
76
+ <?php if ( true == $redux_builder_amp['enable-single-reddit-share'] ) { ?>
77
+ <a href="https://reddit.com/submit?url=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(get_the_title()); ?>" target="_blank">
78
+ <div class="amp-social-icon amp-social-reddit">
79
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNDQ5IDUxMiIgZmlsbD0iI2ZmZmZmZiIgPjxwYXRoIGQ9Ik00NDkgMjUxYzAgMjAtMTEgMzctMjcgNDUgMSA1IDEgOSAxIDE0IDAgNzYtODkgMTM4LTE5OSAxMzhTMjYgMzg3IDI2IDMxMWMwLTUgMC0xMCAxLTE1LTE2LTgtMjctMjUtMjctNDUgMC0yOCAyMy01MCA1MC01MCAxMyAwIDI0IDUgMzMgMTMgMzMtMjMgNzktMzkgMTI5LTQxaDJsMzEtMTAzIDkwIDE4YzgtMTQgMjItMjQgMzktMjRoMWMyNSAwIDQ0IDIwIDQ0IDQ1cy0xOSA0NS00NCA0NWgtMWMtMjMgMC00Mi0xNy00NC00MGwtNjctMTQtMjIgNzRjNDkgMyA5MyAxNyAxMjUgNDAgOS04IDIxLTEzIDM0LTEzIDI3IDAgNDkgMjIgNDkgNTB6TTM0IDI3MWM1LTE1IDE1LTI5IDI5LTQxLTQtMy05LTUtMTUtNS0xNCAwLTI1IDExLTI1IDI1IDAgOSA0IDE3IDExIDIxem0zMjQtMTYyYzAgOSA3IDE3IDE2IDE3czE3LTggMTctMTctOC0xNy0xNy0xNy0xNiA4LTE2IDE3ek0xMjcgMjg4YzAgMTggMTQgMzIgMzIgMzJzMzItMTQgMzItMzItMTQtMzEtMzItMzEtMzIgMTMtMzIgMzF6bTk3IDExMmM0OCAwIDc3LTI5IDc4LTMwbC0xMy0xMnMtMjUgMjQtNjUgMjRjLTQxIDAtNjQtMjQtNjQtMjRsLTEzIDEyYzEgMSAyOSAzMCA3NyAzMHptNjctODBjMTggMCAzMi0xNCAzMi0zMnMtMTQtMzEtMzItMzEtMzIgMTMtMzIgMzEgMTQgMzIgMzIgMzJ6bTEyNC00OGM3LTUgMTEtMTMgMTEtMjIgMC0xNC0xMS0yNS0yNS0yNS02IDAtMTEgMi0xNSA1IDE0IDEyIDI0IDI3IDI5IDQyeiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
80
+ </div>
81
+ </a>
82
+ <?php } ?>
83
+ <?php if ( true == $redux_builder_amp['enable-single-tumblr-share'] ) { ?>
84
+ <a href="https://www.tumblr.com/widgets/share/tool?canonicalUrl=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(get_the_title()); ?>&caption=<?php echo esc_attr(get_the_excerpt()); ?>" target="_blank">
85
+ <div class="amp-social-icon amp-social-tumblr">
86
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNjQgNjQiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMzYuMDAyIDI4djE0LjYzNmMwIDMuNzE0LS4wNDggNS44NTMuMzQ2IDYuOTA2LjM5IDEuMDQ3IDEuMzcgMi4xMzQgMi40MzcgMi43NjMgMS40MTguODUgMy4wMzQgMS4yNzMgNC44NTcgMS4yNzMgMy4yNCAwIDUuMTU1LS40MjggOC4zNi0yLjUzNHY5LjYyYy0yLjczMiAxLjI4Ni01LjExOCAyLjAzOC03LjMzNCAyLjU2LTIuMjIuNTE0LTQuNjE2Ljc3NC03LjE5Ljc3NC0yLjkyOCAwLTQuNjU1LS4zNjgtNi45MDItMS4xMDMtMi4yNDctLjc0Mi00LjE2Ni0xLjgtNS43NS0zLjE2LTEuNTkyLTEuMzctMi42OS0yLjgyNC0zLjMwNC00LjM2M3MtLjkyLTMuNzc2LS45Mi02LjcwM1YyNi4yMjRoLTguNTl2LTkuMDYzYzIuNTE0LS44MTUgNS4zMjQtMS45ODcgNy4xMTItMy41MSAxLjc5Ny0xLjUyNyAzLjIzNS0zLjM1NiA0LjMyLTUuNDk2QzI0LjUzIDYuMDIyIDI1LjI3NiAzLjMgMjUuNjgzIDBoMTAuMzJ2MTZINTJ2MTJIMzYuMDA0eiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
87
+ </div>
88
+ </a>
89
+ <?php } ?>
90
+ <?php if ( true == $redux_builder_amp['enable-single-telegram-share'] ) { ?>
91
+ <a href="https://telegram.me/share/url?url=<?php echo esc_url(get_the_permalink()); ?>&text=<?php echo esc_attr(get_the_title()); ?>" target="_blank">
92
+ <div class="amp-social-icon amp-social-telegram">
93
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjYgMjYiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMCAydjguNUwxNSAxMyAwIDE1LjVWMjRsMjYtMTFMMCAyeiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
94
+ </div>
95
+ </a>
96
+ <?php } ?>
97
+ <?php if ( true == $redux_builder_amp['enable-single-digg-share'] ) { ?>
98
+ <a href="http://digg.com/submit?url=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(get_the_title()); ?>" target="_blank">
99
+ <div class="amp-social-icon amp-social-digg">
100
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjA0OCAxODk2LjA4MzMiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMzI4IDI4MmgyMDR2OTgzSDBWNTY4aDMyOFYyODJ6bTAgODE5VjczMkgyMDV2MzY5aDEyM3ptMjg2LTUzM3Y2OTdoMjA1VjU2OEg2MTR6bTAtMjg2djIwNGgyMDVWMjgySDYxNHptMjg3IDI4Nmg1MzN2OTQySDkwMXYtMTYzaDMyOHYtODJIOTAxVjU2OHptMzI4IDUzM1Y3MzJoLTEyM3YzNjloMTIzem0yODctNTMzaDUzMnY5NDJoLTUzMnYtMTYzaDMyN3YtODJoLTMyN1Y1Njh6bTMyNyA1MzNWNzMyaC0xMjN2MzY5aDEyM3oiPjwvcGF0aD48L3N2Zz4=" width="50" height="20" />
101
+ </div>
102
+ </a>
103
+ <?php } ?>
104
+ <?php if ( true == $redux_builder_amp['enable-single-stumbleupon-share'] ) { ?>
105
+ <a href="http://www.stumbleupon.com/submit?url=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(get_the_title()); ?>" target="_blank">
106
+ <div class="amp-social-icon amp-social-stumbleupon">
107
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwO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My42OTVsNDUuNTY4IDIxLjUyIDY4LjYyNC0yMC40OTd2OTQuMjI2YzAgOS45MDMgMy40MDggMTguMzM2IDEwLjIyNCAyNS4zNDQgNi44NDcgNy4wMDcgMTUuMiAxMC40OTYgMjUuMDg3IDEwLjQ5NiA5LjkwNiAwIDE4LjI3NC0zLjUwNCAyNS4wOS0xMC40OTYgNi44MTYtNi45OTMgMTAuMjU1LTE1LjQ0IDEwLjI1NS0yNS4zNDR2LTk1Ljc0NGgxMTQuNjg4djkyLjY3MmMwIDQxLjI5NS0xNC41OSA3Ni42NC00My43NzYgMTA1Ljk4My0yOS4xODQgMjkuMzYtNjQuNDMyIDQ0LjAzMi0xMDUuNzI4IDQ0LjAzMnMtNzYuNjI1LTE0LjQ5Ny0xMDUuOTg1LTQzLjUyYy0yOS4zNi0yOS4wNC00NC4wNDgtNjQuMDE3LTQ0LjA0OC0xMDQuOTc4eiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
108
+ </div>
109
+ </a>
110
+ <?php } ?>
111
+ <?php if ( true == $redux_builder_amp['enable-single-wechat-share'] ) { ?>
112
+ <a href="http://api.addthis.com/oexchange/0.8/forward/wechat/offer?url=<?php echo esc_url(get_the_permalink()); ?>" target="_blank">
113
+ <div class="amp-social-icon amp-social-wechat">
114
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjA0OCAxODk2LjA4MzMiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNNTgwIDQ2MXEwLTQxLTI1LTY2dC02Ni0yNXEtNDMgMC03NiAyNS41VDM4MCA0NjFxMCAzOSAzMyA2NC41dDc2IDI1LjVxNDEgMCA2Ni0yNC41dDI1LTY1LjV6bTc0MyA1MDdxMC0yOC0yNS41LTUwdC02NS41LTIycS0yNyAwLTQ5LjUgMjIuNVQxMTYwIDk2OHEwIDI4IDIyLjUgNTAuNXQ0OS41IDIyLjVxNDAgMCA2NS41LTIydDI1LjUtNTF6bS0yMzYtNTA3cTAtNDEtMjQuNS02NlQ5OTcgMzcwcS00MyAwLTc2IDI1LjVUODg4IDQ2MXEwIDM5IDMzIDY0LjV0NzYgMjUuNXE0MSAwIDY1LjUtMjQuNVQxMDg3IDQ2MXptNjM1IDUwN3EwLTI4LTI2LTUwdC02NS0yMnEtMjcgMC00OS41IDIyLjVUMTU1OSA5NjhxMCAyOCAyMi41IDUwLjV0NDkuNSAyMi41cTM5IDAgNjUtMjJ0MjYtNTF6bS0yNjYtMzk3cS0zMS00LTcwLTQtMTY5IDAtMzExIDc3VDg1MS41IDg1Mi41IDc3MCAxMTQwcTAgNzggMjMgMTUyLTM1IDMtNjggMy0yNiAwLTUwLTEuNXQtNTUtNi41LTQ0LjUtNy01NC41LTEwLjUtNTAtMTAuNWwtMjUzIDEyNyA3Mi0yMThRMCA5NjUgMCA2NzhxMC0xNjkgOTcuNS0zMTF0MjY0LTIyMy41VDcyNSA2MnExNzYgMCAzMzIuNSA2NnQyNjIgMTgyLjVUMTQ1NiA1NzF6bTU5MiA1NjFxMCAxMTctNjguNSAyMjMuNVQxNzk0IDE1NDlsNTUgMTgxLTE5OS0xMDlxLTE1MCAzNy0yMTggMzctMTY5IDAtMzExLTcwLjVUODk3LjUgMTM5NiA4MTYgMTEzMnQ4MS41LTI2NFQxMTIxIDY3Ni41dDMxMS03MC41cTE2MSAwIDMwMyA3MC41dDIyNy41IDE5MlQyMDQ4IDExMzJ6Ij48L3BhdGg+PC9zdmc+" width="50" height="20" />
115
+ </div>
116
+ </a>
117
+ <?php } ?>
118
+ <?php if ( true == $redux_builder_amp['enable-single-viber-share'] ) { ?>
119
+ <a href="viber://forward?text=<?php echo esc_url(get_the_permalink()); ?>" target="_blank">
120
+ <div class="amp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php } ?>
127
  <?php do_action('ampforwp_after_social_icons_hook',$this);
templates/design-manager/design-2/index.php CHANGED
@@ -54,7 +54,7 @@
54
 
55
  <div class="amp-wp-content amp-loop-list">
56
  <?php if ( ampforwp_has_post_thumbnail() ) {
57
- $thumb_url = ampforwp_get_post_thumbnail();
58
  if($thumb_url){ ?>
59
  <div class="home-post_image">
60
  <a href="<?php echo esc_url( $ampforwp_amp_post_url ); ?>">
54
 
55
  <div class="amp-wp-content amp-loop-list">
56
  <?php if ( ampforwp_has_post_thumbnail() ) {
57
+ $thumb_url = ampforwp_get_post_thumbnail('url','medium');
58
  if($thumb_url){ ?>
59
  <div class="home-post_image">
60
  <a href="<?php echo esc_url( $ampforwp_amp_post_url ); ?>">
templates/design-manager/design-2/style.php CHANGED
@@ -100,11 +100,11 @@ amp-lightbox{ background: rgba(0, 0, 0,0.85); }
100
  /* Sticky Social bar in Single */
101
  .ampforwp-social-icons-wrapper{ margin: 0.65em 0px 0.65em 0px; height: 28px; }
102
  .sticky_social{ width: 100%; bottom: 0; display: block; left: 0; box-shadow: 0px 4px 7px #000; background: #fff; padding: 7px 0px 0px 0px; position: fixed; margin: 0; z-index: 10; text-align: center; }
103
- .custom-amp-socialsharing-icon{ width: 50px; height: 28px; display: inline-block; background: #5cbe4a;position: relative; top: -8px; padding-top: 0px; }
104
- .custom-amp-socialsharing-icon amp-img{ top: 4px; }
105
  .custom-amp-socialsharing-line{background:#00b900}
106
  .ampforwp-social-icons custom-amp-socialsharing-vk{background:#45668e}
107
- .custom-amp-social-sharing-odnoklassniki{background:#ed812b}
108
  <?php }?>
109
  /* Header */
110
  header.container{line-height: 0;}
@@ -114,7 +114,7 @@ header.container{line-height: 0;}
114
  .amp-logo amp-img{ margin: 15px 0px 10px 0px; }
115
  .amp-logo amp-img{margin: 0 auto;}
116
  main { padding: 30px 15% 10px 15%; }
117
- .amp-wp-content.widget-wrapper{padding: 0px 15%;}
118
  main .amp-wp-content{ margin-bottom: 12px; padding: 15px; }
119
  .amp-loop-list, .featured-image-content, .the_content, .taxonomy-description{background: #fff; -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; -moz-box-shadow: 0 2px 3px rgba(0,0,0,.05); -webkit-box-shadow: 0 2px 3px rgba(0,0,0,.05); box-shadow: 0 2px 3px rgba(0,0,0,.05);}
120
  .home-post_image{ float: right; margin-left: 15px; margin-bottom: -6px; }
@@ -176,7 +176,7 @@ main .amp-wp-content.featured-image-content{ padding: 0px; border: 0; margin-bot
176
  .amp-wp-article-featured-image.wp-caption .wp-caption-text, .ampforwp-gallery-item .wp-caption-text{color: #696969; font-size: 11px; line-height: 15px; background: #eee; margin: 0; padding: .66em .75em; text-align: center;}
177
  .ampforwp-gallery-item.amp-carousel-slide { padding-bottom: 20px;}
178
  .amp-wp-content.post-pagination-meta{ max-width: 1030px; }
179
- .single-post .ampforwp-social-icons.ampforwp-social-icons-wrapper{ display: block; margin: 0.9em auto 0.9em auto ; max-width: 1030px; }
180
  .amp-wp-article-header.amp-wp-article-category.ampforwp-meta-taxonomy{ margin: 10px auto; max-width: 1030px; } .ampforwp_single_excerpt { margin-bottom:15px; font-size: 15px; text-align:center}
181
  .single-post .amp_author_area amp-img{ margin: 0; float: left; margin-right: 12px; border-radius: 60px; }
182
  .single-post .amp_author_area .amp_author_area_wrapper{ display: inline-block; width: 100%; line-height: 1.4; margin-top: 2px; font-size: 13px; color:#333; font-family: sans-serif; }
100
  /* Sticky Social bar in Single */
101
  .ampforwp-social-icons-wrapper{ margin: 0.65em 0px 0.65em 0px; height: 28px; }
102
  .sticky_social{ width: 100%; bottom: 0; display: block; left: 0; box-shadow: 0px 4px 7px #000; background: #fff; padding: 7px 0px 0px 0px; position: fixed; margin: 0; z-index: 10; text-align: center; }
103
+ .amp-social-icon{ width: 50px; height: 28px; display: inline-block; background: #5cbe4a;position: relative; top: -8px; padding-top: 0px; margin-bottom:5px; }
104
+ .amp-social-icon amp-img{ top: 4px; }
105
  .custom-amp-socialsharing-line{background:#00b900}
106
  .ampforwp-social-icons custom-amp-socialsharing-vk{background:#45668e}
107
+ .amp-social-odnoklassniki{background:#ed812b}.amp-social-reddit{background:#ff4500}.amp-social-telegram{background:#0088cc}.amp-social-tumblr{background:#35465c}.amp-social-digg{background:#005be2}.amp-social-stumbleupon{background:#eb4924}.amp-social-wechat{background:#7bb32e}.amp-social-viber{background:#8f5db7}
108
  <?php }?>
109
  /* Header */
110
  header.container{line-height: 0;}
114
  .amp-logo amp-img{ margin: 15px 0px 10px 0px; }
115
  .amp-logo amp-img{margin: 0 auto;}
116
  main { padding: 30px 15% 10px 15%; }
117
+ .amp-wp-content.widget-wrapper{padding:12px 10px 10px 10px;}
118
  main .amp-wp-content{ margin-bottom: 12px; padding: 15px; }
119
  .amp-loop-list, .featured-image-content, .the_content, .taxonomy-description{background: #fff; -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; -moz-box-shadow: 0 2px 3px rgba(0,0,0,.05); -webkit-box-shadow: 0 2px 3px rgba(0,0,0,.05); box-shadow: 0 2px 3px rgba(0,0,0,.05);}
120
  .home-post_image{ float: right; margin-left: 15px; margin-bottom: -6px; }
176
  .amp-wp-article-featured-image.wp-caption .wp-caption-text, .ampforwp-gallery-item .wp-caption-text{color: #696969; font-size: 11px; line-height: 15px; background: #eee; margin: 0; padding: .66em .75em; text-align: center;}
177
  .ampforwp-gallery-item.amp-carousel-slide { padding-bottom: 20px;}
178
  .amp-wp-content.post-pagination-meta{ max-width: 1030px; }
179
+ .single-post .ampforwp-social-icons.ampforwp-social-icons-wrapper{ margin: 0.9em auto 0.9em auto ; max-width: 1030px; }
180
  .amp-wp-article-header.amp-wp-article-category.ampforwp-meta-taxonomy{ margin: 10px auto; max-width: 1030px; } .ampforwp_single_excerpt { margin-bottom:15px; font-size: 15px; text-align:center}
181
  .single-post .amp_author_area amp-img{ margin: 0; float: left; margin-right: 12px; border-radius: 60px; }
182
  .single-post .amp_author_area .amp_author_area_wrapper{ display: inline-block; width: 100%; line-height: 1.4; margin-top: 2px; font-size: 13px; color:#333; font-family: sans-serif; }
templates/design-manager/design-3/archive.php CHANGED
@@ -71,7 +71,7 @@ if ( get_query_var( 'paged' ) ) {
71
  <?php
72
  if( is_author() ){
73
  $curauth = (get_query_var('author_name')) ? get_user_by('slug', get_query_var('author_name')) : get_userdata(get_query_var('author'));
74
- if( true == ampforwp_comment_gravatar_checker($curauth->user_email) ){
75
  $curauth_url = get_avatar_url( $curauth->user_email, array('size'=>180) );
76
  if($curauth_url){ ?>
77
  <div class="amp-wp-content author-img">
71
  <?php
72
  if( is_author() ){
73
  $curauth = (get_query_var('author_name')) ? get_user_by('slug', get_query_var('author_name')) : get_userdata(get_query_var('author'));
74
+ if( true == ampforwp_gravatar_checker($curauth->user_email) ){
75
  $curauth_url = get_avatar_url( $curauth->user_email, array('size'=>180) );
76
  if($curauth_url){ ?>
77
  <div class="amp-wp-content author-img">
templates/design-manager/design-3/elements/social-icons.php CHANGED
@@ -1,7 +1,11 @@
1
- <?php global $redux_builder_amp; ?>
2
- <?php if( is_single() ) {
 
 
 
 
3
  $permalink = '';
4
- if(isset($redux_builder_amp['enable-single-twitter-share-link']) && $redux_builder_amp['enable-single-twitter-share-link']){
5
  $permalink = get_the_permalink();
6
  }
7
  else
@@ -10,10 +14,10 @@
10
  <?php do_action('ampforwp_before_social_icons_hook',$this); ?>
11
  <div class="amp-wp-content ampforwp-social-icons-wrapper ampforwp-social-icons">
12
  <i class="icono-share"></i>
13
- <?php if( true == $redux_builder_amp['ampforwp-facebook-like-button'] ) {
14
  $facebook_like_url = '';
15
  $facebook_like_url = get_the_permalink();
16
- if( $facebook_like_url ){ ?>
17
  <amp-facebook-like width=90 height=28
18
  layout="fixed"
19
  data-size="large"
@@ -22,55 +26,125 @@
22
  </amp-facebook-like>
23
  <?php }
24
  } ?>
25
- <?php if($redux_builder_amp['enable-single-facebook-share'] == true) { ?>
26
- <amp-social-share type="facebook" data-param-app_id="<?php echo $redux_builder_amp['amp-facebook-app-id']; ?>" width="40" height="40"></amp-social-share>
 
 
 
 
27
  <?php } ?>
28
- <?php if($redux_builder_amp['enable-single-twitter-share'] == true) {
29
  $data_param_data = $redux_builder_amp['enable-single-twitter-share-handle']; ?>
30
- <amp-social-share type="twitter" width="40" height="40"
31
- data-param-url=""
32
- data-param-text="TITLE <?php echo $permalink.' '.ampforwp_translation( $redux_builder_amp['amp-translator-via-text'], 'via' ).' '.$data_param_data ?>"
33
- ></amp-social-share>
 
34
  <?php } ?>
35
- <?php if($redux_builder_amp['enable-single-gplus-share'] == true) { ?>
36
- <amp-social-share type="gplus" width="40" height="40"></amp-social-share>
 
 
 
 
37
  <?php } ?>
38
- <?php if($redux_builder_amp['enable-single-email-share'] == true) { ?>
39
- <amp-social-share type="email" width="40" height="40"></amp-social-share>
 
 
 
 
40
  <?php } ?>
41
- <?php if($redux_builder_amp['enable-single-pinterest-share'] == true) { ?>
42
- <amp-social-share type="pinterest" width="40" height="40"></amp-social-share>
 
 
 
 
43
  <?php } ?>
44
- <?php if($redux_builder_amp['enable-single-linkedin-share'] == true) { ?>
45
- <amp-social-share type="linkedin" width="40" height="40"></amp-social-share>
 
 
 
 
46
  <?php } ?>
47
- <?php if($redux_builder_amp['enable-single-whatsapp-share'] == true) { ?>
48
- <a href="whatsapp://send?text=<?php echo get_the_permalink();?>">
49
- <div class="custom-amp-socialsharing-icon-rounded">
50
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N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Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K" width="16" height="16" />
51
- </div>
52
- </a>
53
  <?php } ?>
54
- <?php if($redux_builder_amp['enable-single-line-share'] == true) { ?>
55
- <a href="http://line.me/R/msg/text/?<?php echo get_the_permalink(); ?>">
56
- <div class="custom-amp-socialsharing-icon-rounded custom-amp-socialsharing-line">
57
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDI5Ni41MjggMjk2LjUyOCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjk2LjUyOCAyOTYuNTI4OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjI0cHgiIGhlaWdodD0iMjRweCI+CjxnPgoJPHBhdGggZD0iTTI5NS44MzgsMTE1LjM0N2wwLjAwMy0wLjAwMWwtMC4wOTItMC43NmMtMC4wMDEtMC4wMTMtMC4wMDItMC4wMjMtMC4wMDQtMC4wMzZjLTAuMDAx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yLjg0OWgyMS41NjJjMy44NjYsMCw3LDMuMTM0LDcsN2MwLDMuODY2LTMuMTM0LDctNyw3ICAgaC0yMS41NjJ2MTIuODQ3aDI3LjY0NWMzLjg2NiwwLDcsMy4xMzQsNyw3UzIzNy4xNzcsMTU5LjI2OSwyMzMuMzExLDE1OS4yNjl6IiBmaWxsPSIjRkZGRkZGIi8+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==" width="16" height="16" />
58
- </div>
59
- </a>
60
  <?php } ?>
61
- <?php if($redux_builder_amp['enable-single-vk-share'] == true) { ?>
62
- <a href="http://vk.com/share.php?url=<?php echo get_the_permalink(); ?>">
63
- <div class="custom-amp-socialsharing-icon-rounded custom-amp-social-sharing-vk">
64
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCAzMDQuMzYgMzA0LjM2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAzMDQuMzYgMzA0LjM2OyIgeG1sOnNwYWN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o8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=" width="16" height="16" />
65
- </div>
66
- </a>
67
  <?php } ?>
68
- <?php if($redux_builder_amp['enable-single-odnoklassniki-share'] == true) { ?>
69
- <a href="https://ok.ru/dk?st.cmd=addShare&st._surl=<?php echo get_the_permalink(); ?>" target="_blank">
70
- <div class="custom-amp-socialsharing-icon-rounded custom-amp-social-sharing-odnoklassniki">
71
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDk1LjQ4MSA5NS40ODEiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDk1LjQ4MSA5NS40ODE7IiB4bWw6c3BhY2U9InByZXNlc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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  <?php } ?>
75
  </div>
76
  <?php } ?>
1
+ <?php global $redux_builder_amp, $post; ?>
2
+ <?php if ( is_single() ) {
3
+ if ( has_post_thumbnail( $post->ID ) ) {
4
+ $thumb_id = get_post_thumbnail_id($post->ID);
5
+ $image = wp_get_attachment_image_src( $thumb_id, 'full' );
6
+ }
7
  $permalink = '';
8
+ if ( isset($redux_builder_amp['enable-single-twitter-share-link']) && $redux_builder_amp['enable-single-twitter-share-link'] ) {
9
  $permalink = get_the_permalink();
10
  }
11
  else
14
  <?php do_action('ampforwp_before_social_icons_hook',$this); ?>
15
  <div class="amp-wp-content ampforwp-social-icons-wrapper ampforwp-social-icons">
16
  <i class="icono-share"></i>
17
+ <?php if ( true == $redux_builder_amp['ampforwp-facebook-like-button'] ) {
18
  $facebook_like_url = '';
19
  $facebook_like_url = get_the_permalink();
20
+ if ( $facebook_like_url ) { ?>
21
  <amp-facebook-like width=90 height=28
22
  layout="fixed"
23
  data-size="large"
26
  </amp-facebook-like>
27
  <?php }
28
  } ?>
29
+ <?php if ( true == $redux_builder_amp['enable-single-facebook-share'] ) { ?>
30
+ <div class="ampforwp-custom-social">
31
+ <a href="https://www.facebook.com/dialog/share?app_id=<?php echo esc_attr($redux_builder_amp['amp-facebook-app-id']); ?>&display=page&href=<?php echo esc_url(get_the_permalink()); ?>" class="amp-social-icon-rounded amp-social-facebook">
32
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNDg2LjAzNyAxMDA3IiBmaWxsPSIjZmZmZmZmIiA+PHBhdGggZD0iTTEyNCAxMDA1VjUzNkgwVjM2N2gxMjRWMjIzQzEyNCAxMTAgMTk3IDUgMzY2IDVjNjggMCAxMTkgNyAxMTkgN2wtNCAxNThzLTUyLTEtMTA4LTFjLTYxIDAtNzEgMjgtNzEgNzV2MTIzaDE4M2wtOCAxNjlIMzAydjQ2OUgxMjMiPjwvcGF0aD48L3N2Zz4=" width="16" height="16" />
33
+ </a>
34
+ </div>
35
  <?php } ?>
36
+ <?php if ( true == $redux_builder_amp['enable-single-twitter-share'] ) {
37
  $data_param_data = $redux_builder_amp['enable-single-twitter-share-handle']; ?>
38
+ <div class="ampforwp-custom-social">
39
+ <a href="https://twitter.com/intent/tweet?url=<?php echo esc_url(get_the_permalink()); ?>&text=<?php echo esc_attr(get_the_title()); ?>&via=<?php echo esc_attr($data_param_data); ?>" class="amp-social-icon-rounded amp-social-twitter">
40
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNjQwLjAxNzEgNjAxLjA4NjkiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMCA1MzAuMTU1YzEwLjQyIDEuMDE1IDIwLjgyNiAxLjU0OCAzMS4yMiAxLjU0OCA2MS4wNSAwIDExNS41MjgtMTguNzMgMTYzLjM4Ny01Ni4xNy0yOC40MjQtLjM1Mi01My45MzMtOS4wNC03Ni40NzctMjYuMDQzLTIyLjU3LTE2Ljk5LTM3Ljk4NC0zOC42NzUtNDYuMzIzLTY1LjA1NiA2LjkzMyAxLjQxOCAxNS4xMDIgMi4wOTUgMjQuNDU2IDIuMDk1IDEyLjE1IDAgMjMuNzY3LTEuNTc1IDM0Ljg2Mi00LjY4NC0zMC41MTctNS44NjctNTUuNzY2LTIwLjg5Mi03NS43MS00NC45OTctMTkuOTU0LTI0LjEzMi0yOS45Mi01MS45Ny0yOS45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iI+PC9wYXRoPjwvc3ZnPg==" width="16" height="16" />
41
+ </a>
42
+ </div>
43
  <?php } ?>
44
+ <?php if ( true == $redux_builder_amp['enable-single-gplus-share'] ) { ?>
45
+ <div class="ampforwp-custom-social">
46
+ <a href="https://plus.google.com/share?url=<?php echo esc_url(get_the_permalink()); ?>" class="amp-social-icon-rounded amp-social-gplus">
47
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNjQgNjQiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMzQuOTQyIDRIMTguMTk2QzEwLjY4OCA0IDMuNjIzIDkuNjg4IDMuNjIzIDE2LjI3NmMwIDYuNzMzIDUuMTE4IDEyLjE2NyAxMi43NTUgMTIuMTY3LjUzIDAgMS4wNDctLjAxIDEuNTUzLS4wNDctLjQ5NS45NS0uODUgMi4wMTgtLjg1IDMuMTI4IDAgMS44NyAxLjAwNyAzLjM4OCAyLjI4IDQuNjI3LS45NjIgMC0xLjg5LjAzLTIuOTAzLjAzQzcuMTU3IDM2LjE4IDAgNDIuMSAwIDQ4LjI0MmMwIDYuMDUgNy44NDcgOS44MzIgMTcuMTQ3IDkuODMyIDEwLjYwMiAwIDE2LjQ1Ny02LjAxNSAxNi40NTctMTIuMDY0IDAtNC44NS0xLjQzLTcuNzU0LTUuODU1LTEwLjg4Mi0xLjUxNS0xLjA3Mi00LjQxLTMuNjc3LTQuNDEtNS4yMSAwLTEuNzk0LjUxMy0yLjY3OCAzLjIxNS00Ljc5IDIuNzctMi4xNjMgNC43My01LjIwNSA0LjczLTguNzQ0IDAtNC4yMTMtMS44NzYtOC4zMi01LjM5OC05LjY3M2g1LjMxbDMuNzQ4LTIuNzA4em0tNS44NSA0MC45NjZjLjEzNC41Ni4yMDYgMS4xMzguMjA2IDEuNzI3IDAgNC44ODgtMy4xNSA4LjcwNy0xMi4xODYgOC43MDctNi40MjggMC0xMS4wNy00LjA3LTExLjA3LTguOTU2IDAtNC43OSA1Ljc1OC04Ljc3OCAxMi4xODUtOC43MDggMS41LjAxNiAyLjg5OC4yNTcgNC4xNjcuNjY4IDMuNDkgMi40MjcgNS45OTIgMy43OTggNi42OTggNi41NjN6bS0xMC4yOS0xOC4yM2MtNC4zMTYtLjEzLTguNDE2LTQuODI3LTkuMTYtMTAuNDktLjc0NS01LjY2OCAyLjE0OC0xMC4wMDQgNi40NjItOS44NzUgNC4zMTMuMTMgOC40MTUgNC42NzcgOS4xNiAxMC4zNDJzLTIuMTUgMTAuMTU0LTYuNDYyIDEwLjAyNHpNNTIgMTZWNGgtNHYxMkgzNnY0aDEydjEyaDRWMjBoMTJ2LTR6Ij48L3BhdGg+PC9zdmc+" width="16" height="16" />
48
+ </a>
49
+ </div>
50
  <?php } ?>
51
+ <?php if ( true == $redux_builder_amp['enable-single-email-share'] ) { ?>
52
+ <div class="ampforwp-custom-social">
53
+ <a href="mailto:?subject=<?php echo esc_attr(get_the_title()); ?>&body=<?php echo esc_url(get_the_permalink()); ?>" class="amp-social-icon-rounded amp-social-email">
54
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgODk2IDEwMjYiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMCAxOTN2NjQwaDg5NlYxOTNIMHptNzY4IDY0TDQ0OCA1MjEgMTI4IDI1N2g2NDB6TTY0IDMyMWwyNTIuMDMgMTkxLjYyNUw2NCA3MDVWMzIxem02NCA0NDhsMjU0LTIwNi4yNUw0NDggNjEzbDY1Ljg3NS01MC4xMjVMNzY4IDc2OUgxMjh6bTcwNC02NEw1NzkuNjI1IDUxMi45MzggODMyIDMyMXYzODR6Ij48L3BhdGg+PC9zdmc+" width="16" height="16" />
55
+ </a>
56
+ </div>
57
  <?php } ?>
58
+ <?php if ( true == $redux_builder_amp['enable-single-pinterest-share'] ) { ?>
59
+ <div class="ampforwp-custom-social">
60
+ <a href="https://pinterest.com/pin/create/bookmarklet/?media='.$image.' &url=<?php echo esc_url(get_the_permalink()); ?>&description=<?php echo esc_attr(get_the_title()); ?>" class="amp-social-icon-rounded amp-social-pinterest">
61
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNOC42MTcgMTMuMjI3QzguMDkgMTUuOTggNy40NSAxOC42MiA1LjU1IDIwYy0uNTg3LTQuMTYyLjg2LTcuMjg3IDEuNTMzLTEwLjYwNS0xLjE0Ny0xLjkzLjEzOC01LjgxMiAyLjU1NS00Ljg1NSAyLjk3NSAxLjE3Ni0yLjU3NiA3LjE3MiAxLjE1IDcuOTIyIDMuODkuNzggNS40OC02Ljc1IDMuMDY2LTkuMkMxMC4zNy0uMjc0IDMuNzA4IDMuMTggNC41MjggOC4yNDZjLjIgMS4yMzggMS40NzggMS42MTMuNTEgMy4zMjItMi4yMy0uNDk0LTIuODk2LTIuMjU0LTIuODEtNC42LjEzOC0zLjg0IDMuNDUtNi41MjcgNi43Ny02LjkgNC4yMDItLjQ3IDguMTQ1IDEuNTQzIDguNjkgNS40OTQuNjEzIDQuNDYyLTEuODk2IDkuMjk0LTYuMzkgOC45NDYtMS4yMTctLjA5NS0xLjcyNy0uNy0yLjY4LTEuMjh6Ij48L3BhdGg+PC9zdmc+" width="16" height="16" />
62
+ </a>
63
+ </div>
64
  <?php } ?>
65
+ <?php if ( true == $redux_builder_amp['enable-single-linkedin-share'] ) { ?>
66
+ <div class="ampforwp-custom-social">
67
+ <a href="whatsapp://send?text=<?php echo esc_url(get_the_permalink()); ?>" class="amp-social-icon-rounded amp-social-linkedin">
68
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTA0NiAxMDA3IiBmaWxsPSIjZmZmZmZmIiA+PHBhdGggZD0iTTIzNyAxMDA1VjMzMEgxM3Y2NzVoMjI0ek0xMjUgMjM4Yzc4IDAgMTI3LTUyIDEyNy0xMTdDMjUxIDU1IDIwMyA0IDEyNyA0IDUwIDQgMCA1NCAwIDEyMWMwIDY1IDQ5IDExNyAxMjQgMTE3aDF6bTIzNiA3NjdoMjI0VjYyOGMwLTIwIDEtNDAgNy01NSAxNi00MCA1My04MiAxMTUtODIgODEgMCAxMTQgNjIgMTE0IDE1M3YzNjFoMjI0VjYxOGMwLTIwNy0xMTEtMzA0LTI1OC0zMDQtMTIxIDAtMTc0IDY4LTIwNCAxMTRoMXYtOThIMzYwYzMgNjMgMCA2NzUgMCA2NzV6Ij48L3BhdGg+PC9zdmc+" width="16" height="16" />
69
+ </a>
70
+ </div>
71
  <?php } ?>
72
+ <?php if ( true == $redux_builder_amp['enable-single-whatsapp-share'] ) { ?>
73
+ <div class="ampforwp-custom-social">
74
+ <a href="whatsapp://send?text=<?php echo esc_url(get_the_permalink());?>" class="amp-social-icon-rounded amp-social-whatsapp">
75
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0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YsNjAuMTg2LDY0LjE1NmMxLjk4NC0wLjE3OSw2LjQwNi0yLjU5OSw3LjMxMi01LjEwN0M2OC4zOTgsNTYuNTM3LDY4LjM5OCw1NC4zODYsNjguMTI5LDUzLjkzOHoiIGZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K" width="16" height="16" />
76
+ </a>
77
+ </div>
78
  <?php } ?>
79
+ <?php if ( true == $redux_builder_amp['enable-single-line-share'] ) { ?>
80
+ <div class="ampforwp-custom-social">
81
+ <a class="amp-social-line amp-social-icon-rounded" href="http://line.me/R/msg/text/?<?php echo esc_url(get_the_permalink()); ?>">
82
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCA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DUsMC4wOSw3LjgyNywyLjU0NWwyNS4yMDcsMzQuNzE3Vjk5LjY3NSAgIGMwLTMuODY2LDMuMTM0LTcsNy03YzMuODY2LDAsNywzLjEzNCw3LDdWMTUzLjM3MXogTTIzMy4zMTEsMTU5LjI2OWgtMzQuNjQ1Yy0zLjg2NiwwLTctMy4xMzQtNy03di0yNi44NDdWOTguNTczICAgYzAtMy44NjYsMy4xMzQtNyw3LTdoMzMuNTdjMy44NjYsMCw3LDMuMTM0LDcsN3MtMy4xMzQsNy03LDdoLTI2LjU3djEyLjg0OWgyMS41NjJjMy44NjYsMCw3LDMuMTM0LDcsN2MwLDMuODY2LTMuMTM0LDctNyw3ICAgaC0yMS41NjJ2MTIuODQ3aDI3LjY0NWMzLjg2NiwwLDcsMy4xMzQsNyw3UzIzNy4xNzcsMTU5LjI2OSwyMzMuMzExLDE1OS4yNjl6IiBmaWxsPSIjRkZGRkZGIi8+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==" width="16" height="16" />
83
+ </a>
84
+ </div>
85
  <?php } ?>
86
+ <?php if ( true == $redux_builder_amp['enable-single-vk-share'] ) { ?>
87
+ <div class="ampforwp-custom-social">
88
+ <a href="http://vk.com/share.php?url=<?php echo esc_url(get_the_permalink()); ?>" class="amp-social-icon-rounded amp-social-vk">
89
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi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4ICAgYzguMTI3LDEuMzg1LDEwLjM1NCw0Ljg4MSw3Ljg0NCwxMi44MTdjLTMuOTU1LDEyLjQ1MS0xMS42NSwyMi44MjctMTkuMTc0LDMzLjI1MWMtOC4wNDMsMTEuMTI5LTE2LjY0NSwyMS44NzctMjQuNjIxLDMzLjA3MiAgIEMyNTIuMjYsMTYxLjU0NCwyNTIuODQyLDE2Ni42OTcsMjYxLjk0NSwxNzUuNTc2TDI2MS45NDUsMTc1LjU3NnogTTI2MS45NDUsMTc1LjU3NiIgZmlsbD0iI0ZGRkZGRiIvPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=" width="16" height="16" />
90
+ </a>
91
+ </div>
92
  <?php } ?>
93
+ <?php if ( true == $redux_builder_amp['enable-single-odnoklassniki-share'] ) { ?>
94
+ <div class="ampforwp-custom-social">
95
+ <a href="https://ok.ru/dk?st.cmd=addShare&st._surl=<?php echo esc_url(get_the_permalink()); ?>" target="_blank" class="amp-social-icon-rounded amp-social-odnoklassniki">
96
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+Cjxz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GRiIvPgoJPC9nPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=" width="16" height="16" />
97
+ </a>
98
+ </div>
99
+ <?php } ?>
100
+ <?php if ( true == $redux_builder_amp['enable-single-reddit-share'] ) { ?>
101
+ <div class="ampforwp-custom-social">
102
+ <a href="https://reddit.com/submit?url=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(get_the_title()); ?>" target="_blank" class="amp-social-icon-rounded amp-social-reddit">
103
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNDQ5IDUxMiIgZmlsbD0iI2ZmZmZmZiIgPjxwYXRoIGQ9Ik00NDkgMjUxYzAgMjAtMTEgMzctMjcgNDUgMSA1IDEgOSAxIDE0IDAgNzYtODkgMTM4LTE5OSAxMzhTMjYgMzg3IDI2IDMxMWMwLTUgMC0xMCAxLTE1LTE2LTgtMjctMjUtMjctNDUgMC0yOCAyMy01MCA1MC01MCAxMyAwIDI0IDUgMzMgMTMgMzMtMjMgNzktMzkgMTI5LTQxaDJsMzEtMTAzIDkwIDE4YzgtMTQgMjItMjQgMzktMjRoMWMyNSAwIDQ0IDIwIDQ0IDQ1cy0xOSA0NS00NCA0NWgtMWMtMjMgMC00Mi0xNy00NC00MGwtNjctMTQtMjIgNzRjNDkgMyA5MyAxNyAxMjUgNDAgOS04IDIxLTEzIDM0LTEzIDI3IDAgNDkgMjIgNDkgNTB6TTM0IDI3MWM1LTE1IDE1LTI5IDI5LTQxLTQtMy05LTUtMTUtNS0xNCAwLTI1IDExLTI1IDI1IDAgOSA0IDE3IDExIDIxem0zMjQtMTYyYzAgOSA3IDE3IDE2IDE3czE3LTggMTctMTctOC0xNy0xNy0xNy0xNiA4LTE2IDE3ek0xMjcgMjg4YzAgMTggMTQgMzIgMzIgMzJzMzItMTQgMzItMzItMTQtMzEtMzItMzEtMzIgMTMtMzIgMzF6bTk3IDExMmM0OCAwIDc3LTI5IDc4LTMwbC0xMy0xMnMtMjUgMjQtNjUgMjRjLTQxIDAtNjQtMjQtNjQtMjRsLTEzIDEyYzEgMSAyOSAzMCA3NyAzMHptNjctODBjMTggMCAzMi0xNCAzMi0zMnMtMTQtMzEtMzItMzEtMzIgMTMtMzIgMzEgMTQgMzIgMzIgMzJ6bTEyNC00OGM3LTUgMTEtMTMgMTEtMjIgMC0xNC0xMS0yNS0yNS0yNS02IDAtMTEgMi0xNSA1IDE0IDEyIDI0IDI3IDI5IDQyeiI+PC9wYXRoPjwvc3ZnPg==" width="16" height="16" />
104
+ </a>
105
+ </div>
106
+ <?php } ?>
107
+ <?php if ( true == $redux_builder_amp['enable-single-tumblr-share'] ) { ?>
108
+ <div class="ampforwp-custom-social">
109
+ <a href="https://www.tumblr.com/widgets/share/tool?canonicalUrl=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(get_the_title()); ?>&caption=<?php echo esc_attr(get_the_excerpt()); ?>" target="_blank" class="amp-social-icon-rounded amp-social-tumblr">
110
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNjQgNjQiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMzYuMDAyIDI4djE0LjYzNmMwIDMuNzE0LS4wNDggNS44NTMuMzQ2IDYuOTA2LjM5IDEuMDQ3IDEuMzcgMi4xMzQgMi40MzcgMi43NjMgMS40MTguODUgMy4wMzQgMS4yNzMgNC44NTcgMS4yNzMgMy4yNCAwIDUuMTU1LS40MjggOC4zNi0yLjUzNHY5LjYyYy0yLjczMiAxLjI4Ni01LjExOCAyLjAzOC03LjMzNCAyLjU2LTIuMjIuNTE0LTQuNjE2Ljc3NC03LjE5Ljc3NC0yLjkyOCAwLTQuNjU1LS4zNjgtNi45MDItMS4xMDMtMi4yNDctLjc0Mi00LjE2Ni0xLjgtNS43NS0zLjE2LTEuNTkyLTEuMzctMi42OS0yLjgyNC0zLjMwNC00LjM2M3MtLjkyLTMuNzc2LS45Mi02LjcwM1YyNi4yMjRoLTguNTl2LTkuMDYzYzIuNTE0LS44MTUgNS4zMjQtMS45ODcgNy4xMTItMy41MSAxLjc5Ny0xLjUyNyAzLjIzNS0zLjM1NiA0LjMyLTUuNDk2QzI0LjUzIDYuMDIyIDI1LjI3NiAzLjMgMjUuNjgzIDBoMTAuMzJ2MTZINTJ2MTJIMzYuMDA0eiI+PC9wYXRoPjwvc3ZnPg==" width="16" height="16" />
111
+ </a>
112
+ </div>
113
+ <?php } ?>
114
+ <?php if ( true == $redux_builder_amp['enable-single-telegram-share'] ) { ?>
115
+ <div class="ampforwp-custom-social">
116
+ <a href="https://telegram.me/share/url?url=<?php echo esc_url(get_the_permalink()); ?>&text=<?php echo esc_attr(get_the_title()); ?>" target="_blank" class="amp-social-icon-rounded amp-social-telegram">
117
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjYgMjYiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMCAydjguNUwxNSAxMyAwIDE1LjVWMjRsMjYtMTFMMCAyeiI+PC9wYXRoPjwvc3ZnPg==" width="16" height="16" />
118
+ </a>
119
+ </div>
120
+ <?php } ?>
121
+ <?php if ( true == $redux_builder_amp['enable-single-digg-share'] ) { ?>
122
+ <div class="ampforwp-custom-social">
123
+ <a href="http://digg.com/submit?url=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(get_the_title()); ?>" target="_blank" class="amp-social-icon-rounded amp-social-digg">
124
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjA0OCAxODk2LjA4MzMiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMzI4IDI4MmgyMDR2OTgzSDBWNTY4aDMyOFYyODJ6bTAgODE5VjczMkgyMDV2MzY5aDEyM3ptMjg2LTUzM3Y2OTdoMjA1VjU2OEg2MTR6bTAtMjg2djIwNGgyMDVWMjgySDYxNHptMjg3IDI4Nmg1MzN2OTQySDkwMXYtMTYzaDMyOHYtODJIOTAxVjU2OHptMzI4IDUzM1Y3MzJoLTEyM3YzNjloMTIzem0yODctNTMzaDUzMnY5NDJoLTUzMnYtMTYzaDMyN3YtODJoLTMyN1Y1Njh6bTMyNyA1MzNWNzMyaC0xMjN2MzY5aDEyM3oiPjwvcGF0aD48L3N2Zz4=" width="16" height="16" />
125
+ </a>
126
+ </div>
127
+ <?php } ?>
128
+ <?php if ( true == $redux_builder_amp['enable-single-stumbleupon-share'] ) { ?>
129
+ <div class="ampforwp-custom-social">
130
+ <a href="http://www.stumbleupon.com/submit?url=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(get_the_title()); ?>" target="_blank" class="amp-social-icon-rounded amp-social-stumbleupon">
131
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNjcwLjIyMzMgNjAxLjA4NjkiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMCA0MzcuMjQ3di05Mi42NzJoMTE0LjY4OHY5MS42NjRjMCA5LjU2NyAzLjQwOCAxNy44MjMgMTAuMjQgMjQuODNzMTUuMTg0IDEwLjQ5NyAyNS4wODggMTAuNDk3IDE4LjMzNi0zLjQyNCAyNS4zNDQtMTAuMjRjNy4wMDgtNi44NDggMTAuNDk2LTE1LjIgMTAuNDk2LTI1LjA4OFYyMTkuNjQ2YzAtMzkuOTM1IDE0Ljc1Mi03My45ODQgNDQuMjg4LTEwMi4xNDQgMjkuNTM2LTI4LjE2IDY0LjYwOC00Mi4yNCAxMDUuMjE2LTQyLjI0IDQwLjYwOCAwIDc1LjY4IDE0LjE2IDEwNS4yMTYgNDIuNDk2IDI5LjUyIDI4LjMzNSA0NC4zMDUgNjIuNjQgNDQuMzA1IDEwMi45MXY0Ny4xMDRsLTY4LjYyMyAyMC40OC00NS41Ny0yMS41MDN2LTQwLjk2YzAtOS45MDMtMy40MDctMTguMjU2LTEwLjI1NS0yNS4wODgtNi44MTYtNi44MzItMTUuMTgzLTEwLjI0LTI1LjA3Mi0xMC4yNC05LjkwMyAwLTE4LjMzNiAzLjQwOC0yNS4zNDQgMTAuMjRzLTEwLjQ5NiAxNS4xODUtMTAuNDk2IDI1LjA5djIxMy41MDNjMCA0MC45NzYtMTQuNjcyIDc1Ljg3Mi00NC4wMzIgMTA0LjcyLTI5LjM0NCAyOC44NDgtNjQuNTEyIDQzLjI0OC0xMDUuNDcyIDQzLjI0OC00MS4zMSAwLTc2LjY0LTE0LjU5Mi0xMDUuOTg0LTQzLjc3NkMxNC42ODggNTE0LjMwMy4wMDIgNDc4Ljg4LjAwMiA0MzcuMjQ3em0zNzAuNjg4IDEuNTM2di05My42OTVsNDUuNTY4IDIxLjUyIDY4LjYyNC0yMC40OTd2OTQuMjI2YzAgOS45MDMgMy40MDggMTguMzM2IDEwLjIyNCAyNS4zNDQgNi44NDcgNy4wMDcgMTUuMiAxMC40OTYgMjUuMDg3IDEwLjQ5NiA5LjkwNiAwIDE4LjI3NC0zLjUwNCAyNS4wOS0xMC40OTYgNi44MTYtNi45OTMgMTAuMjU1LTE1LjQ0IDEwLjI1NS0yNS4zNDR2LTk1Ljc0NGgxMTQuNjg4djkyLjY3MmMwIDQxLjI5NS0xNC41OSA3Ni42NC00My43NzYgMTA1Ljk4My0yOS4xODQgMjkuMzYtNjQuNDMyIDQ0LjAzMi0xMDUuNzI4IDQ0LjAzMnMtNzYuNjI1LTE0LjQ5Ny0xMDUuOTg1LTQzLjUyYy0yOS4zNi0yOS4wNC00NC4wNDgtNjQuMDE3LTQ0LjA0OC0xMDQuOTc4eiI+PC9wYXRoPjwvc3ZnPg==" width="16" height="16" />
132
+ </a>
133
+ </div>
134
+ <?php } ?>
135
+ <?php if ( true == $redux_builder_amp['enable-single-wechat-share'] ) { ?>
136
+ <div class="ampforwp-custom-social">
137
+ <a href="http://api.addthis.com/oexchange/0.8/forward/wechat/offer?url=<?php echo esc_url(get_the_permalink()); ?>" target="_blank" class="amp-social-icon-rounded amp-social-wechat">
138
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjA0OCA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MDQ4IDExMzJ6Ij48L3BhdGg+PC9zdmc+" width="16" height="16" />
139
+ </a>
140
+ </div>
141
+ <?php } ?>
142
+ <?php if ( true == $redux_builder_amp['enable-single-viber-share'] ) { ?>
143
+ <div class="ampforwp-custom-social">
144
+ <a href="viber://forward?text=<?php echo esc_url(get_the_permalink()); ?>" target="_blank" class="amp-social-icon-rounded amp-social-viber">
145
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTAyNiAxMjM0IiBmaWxsPSIjZmZmZmZmIiA+PHBhdGggZD0iTTkwNCA3OTRxLTY5IDYxLTIwMCA4Ny41VDQzNCA4OTdsLTE3NiAxMzJWODY0cS04Ny0yNy0xMzYtNzAtNTgtNTEtOTAtMTQ2LjV0LTMyLTE5NSAzMi0xOTUgOTAuNS0xNDcgMTY3LjUtNzlUNTEzIDR0MjIzIDI3LjUgMTY3LjUgNzkgOTAuNSAxNDcgMzIgMTk1LTMyIDE5NVQ5MDQgNzk0ek02MzkgNTQ5bDY1IDExcS04LTEyMC05Mi41LTIwNVQ0MDcgMjYybDExIDY1cTg2IDExIDE0OCA3M3Q3MyAxNDl6TTQyOSAzOTRsMTIgNzJxNDAgMjAgNTkgNTlsNzIgMTJxLTEyLTUzLTUxLTkxLjVUNDI5IDM5NHptLTEwNyA1OXYtNjRxMC0xNy0xMi41LTM0VDI4MyAzMzAuNXQtMjEtMS41bC00NiA0N3EtMzkgMzktMTEuNSAxMjEuNXQxMDUgMTYwIDE2MCAxMDVUNTkwIDc1MWw0Ny00N3E3LTYtLjUtMjAuNVQ2MTIgNjU3dC0zNC0xMmgtNjRsLTM3IDMycS00NC0xMi0xMDkuNS03Ny41VDI5MCA0ODl6bTY0LTMyMGwxMCA2NXExMDAgMiAxODUgNTIuNXQxMzUgMTM1VDc2OSA1NzBsNjUgMTFxMC05MS0zNS41LTE3NFQ3MDMgMjY0dC0xNDMtOTUuNVQzODYgMTMzeiI+PC9wYXRoPjwvc3ZnPg==" width="16" height="16" />
146
+ </a>
147
+ </div>
148
  <?php } ?>
149
  </div>
150
  <?php } ?>
templates/design-manager/design-3/style.php CHANGED
@@ -20,6 +20,9 @@ function ampforwp_additional_style_input_3( $amp_template ) {
20
  $header_color = $get_customizer->get_customizer_setting( 'header_color' );
21
  ?>
22
 
 
 
 
23
  /* Global Styling */
24
  body{ font: 16px/1.4 Sans-serif; }
25
  a{ color: #312C7E; text-decoration: none }
@@ -92,8 +95,8 @@ amp-sidebar{ width: 280px; background: #131313; font-family: 'Roboto Slab', seri
92
  if ( is_single() ) {?>
93
  /* Sticky Social bar in Single */
94
  .sticky_social{ width: 100%; bottom: 0; display: block; left: 0; box-shadow: 0px 4px 7px #000; background: #fff; padding: 7px 0px 0px 0px; position: fixed; margin: 0; z-index: 10; text-align: center; }
95
- .custom-amp-socialsharing-icon{ width: 50px; height: 28px; display: inline-block; background: #5cbe4a;position: relative; top: -8px; padding-top: 0px; }
96
- .custom-amp-socialsharing-icon amp-img{ top: 4px; }
97
  .custom-amp-socialsharing-line{background:#00b900}
98
  .sticky_social .whatsapp-share-icon{ padding: 4px 0px 14px 0px; height: 28px; top: -4px; position: relative; }
99
  .sticky_social .line-share-icon{ padding: 4px 0px 14px 0px; height: 28px; top: -4px; position: relative; }
@@ -158,12 +161,14 @@ h1.amp-wp-title{ margin: 0; color: #333333; font-size: 48px; line-height: 58px;
158
  .single-post .amp_author_area amp-img{ margin: 0; float: left; margin-right: 12px; border-radius: 60px; }
159
  .amp-wp-article-tags .ampforwp-tax-tag, .amp-wp-article-tags .ampforwp-tax-tag a{ font-size: 12px; color: #555; font-family: sans-serif; margin: 20px 0 0 0; }
160
  .amp-wp-article-tags span{ background: #eee; margin-right: 10px; padding: 5px 12px 5px 12px; border-radius: 3px; display: inline-block; margin: 5px; }
161
- .ampforwp-social-icons{ margin-bottom: 70px; margin-top: 25px; height: 40px; }
162
  .ampforwp-social-icons amp-social-share{ border-radius:60px; background-size:22px; margin-right:6px; }
163
- .custom-amp-socialsharing-icon-rounded{margin-right:6px;padding: 11px 12px 9px 12px; top: -13px; position: relative; line-height: 1; background: #5cbe4a; display: inline-block; height: inherit; border-radius: 60px; }
164
- .custom-amp-socialsharing-line{background:#00b900}
165
- .custom-amp-social-sharing-vk{background:#45668e}
166
- .custom-amp-social-sharing-odnoklassniki{background:#ed812b}
 
 
167
  .amp-wp-tax-tag { list-style: none; display: inline-block; }
168
  figure{ margin: 0 0 20px 0; }
169
  figure amp-img{ max-width:100%; }
@@ -449,4 +454,4 @@ if ( ! is_home() && 1 == $redux_builder_amp['ampforwp-bread-crumb'] ) { ?>
449
  .amp-carousel-img img {object-fit: contain;}
450
  <?php // Ads (sitewide)
451
  if ( (isset($redux_builder_amp['enable-amp-ads-1'] ) && $redux_builder_amp['enable-amp-ads-1']) || (isset($redux_builder_amp['enable-amp-ads-2'] ) && $redux_builder_amp['enable-amp-ads-2']) ) { ?> .amp-ad-wrapper{ text-align: center } .amp_ad_1{ margin-top: 15px; margin-bottom: 10px; } .single-post .amp_ad_1{ margin-bottom: -15px; } .amp-ad-2{ margin-bottom: -5px; margin-top: 20px; } .amp-ad-wrapper{ text-align: center; margin-left: -13px; }.amp-ad-wrapper, .amp-wp-article amp-ad{ direction: ltr; } <?php }
452
- echo esc_attr($redux_builder_amp['css_editor']); } ?>
20
  $header_color = $get_customizer->get_customizer_setting( 'header_color' );
21
  ?>
22
 
23
+ /* Widgets styling */
24
+ .amp-wp-content.widget-wrapper { margin: 20px 17px 17px 17px;}
25
+
26
  /* Global Styling */
27
  body{ font: 16px/1.4 Sans-serif; }
28
  a{ color: #312C7E; text-decoration: none }
95
  if ( is_single() ) {?>
96
  /* Sticky Social bar in Single */
97
  .sticky_social{ width: 100%; bottom: 0; display: block; left: 0; box-shadow: 0px 4px 7px #000; background: #fff; padding: 7px 0px 0px 0px; position: fixed; margin: 0; z-index: 10; text-align: center; }
98
+ .amp-social-icon{ width: 50px; height: 28px; display: inline-block; background: #5cbe4a;position: relative; top: -8px; padding-top: 0px; }
99
+ .amp-social-icon amp-img{ top: 4px; }
100
  .custom-amp-socialsharing-line{background:#00b900}
101
  .sticky_social .whatsapp-share-icon{ padding: 4px 0px 14px 0px; height: 28px; top: -4px; position: relative; }
102
  .sticky_social .line-share-icon{ padding: 4px 0px 14px 0px; height: 28px; top: -4px; position: relative; }
161
  .single-post .amp_author_area amp-img{ margin: 0; float: left; margin-right: 12px; border-radius: 60px; }
162
  .amp-wp-article-tags .ampforwp-tax-tag, .amp-wp-article-tags .ampforwp-tax-tag a{ font-size: 12px; color: #555; font-family: sans-serif; margin: 20px 0 0 0; }
163
  .amp-wp-article-tags span{ background: #eee; margin-right: 10px; padding: 5px 12px 5px 12px; border-radius: 3px; display: inline-block; margin: 5px; }
164
+ .ampforwp-social-icons{ margin-bottom: 70px; margin-top: 25px; min-height: 40px; }
165
  .ampforwp-social-icons amp-social-share{ border-radius:60px; background-size:22px; margin-right:6px; }
166
+ .amp-social-icon-rounded{padding: 11px 12px 9px 12px; top: -13px; position: relative; line-height: 1; display: inline-block; height: inherit; border-radius: 60px; }
167
+ .amp-social-line{background:#00b900}
168
+ .amp-social-vk{background:#45668e}
169
+ .amp-social-odnoklassniki{background:#ed812b}.amp-social-reddit{background:#ff4500}.amp-social-telegram{background:#0088cc}.amp-social-tumblr{background:#35465c}.amp-social-digg{background:#005be2}.amp-social-stumbleupon{background:#eb4924}.amp-social-wechat{background:#7bb32e}.amp-social-viber{background:#8f5db7}
170
+ .amp-social-facebook{background:#3b5998}.amp-social-twitter{background:#1da1f2}.amp-social-gplus{background:#dd4b39}.amp-social-email{background:#000000}.amp-social-pinterest{background:#bd081c}.amp-social-linkedin{background:#0077b5}.amp-social-whatsapp{background:#5cbe4a}
171
+ .ampforwp-custom-social{display:inline-block; margin-bottom:5px}
172
  .amp-wp-tax-tag { list-style: none; display: inline-block; }
173
  figure{ margin: 0 0 20px 0; }
174
  figure amp-img{ max-width:100%; }
454
  .amp-carousel-img img {object-fit: contain;}
455
  <?php // Ads (sitewide)
456
  if ( (isset($redux_builder_amp['enable-amp-ads-1'] ) && $redux_builder_amp['enable-amp-ads-1']) || (isset($redux_builder_amp['enable-amp-ads-2'] ) && $redux_builder_amp['enable-amp-ads-2']) ) { ?> .amp-ad-wrapper{ text-align: center } .amp_ad_1{ margin-top: 15px; margin-bottom: 10px; } .single-post .amp_ad_1{ margin-bottom: -15px; } .amp-ad-2{ margin-bottom: -5px; margin-top: 20px; } .amp-ad-wrapper{ text-align: center; margin-left: -13px; }.amp-ad-wrapper, .amp-wp-article amp-ad{ direction: ltr; } <?php }
457
+ echo $redux_builder_amp['css_editor']; } ?>
templates/features.php CHANGED
@@ -132,7 +132,9 @@ add_amp_theme_support('AMP-logo');
132
  // Custom Frontpage items
133
  require AMPFORWP_PLUGIN_DIR .'templates/frontpage-elements.php';
134
  require AMPFORWP_PLUGIN_DIR . '/classes/class-ampforwp-youtube-embed.php' ;
135
- require AMPFORWP_PLUGIN_DIR .'templates/structured-data.php';
 
 
136
 
137
  // TODO: Update this function
138
  function ampforwp_include_customizer_files(){
@@ -264,7 +266,7 @@ define('AMPFORWP_COMMENTS_PER_PAGE', ampforwp_define_comments_number() );
264
  if( is_singular() && $ampforwp_amp_post_on_off_meta === 'hide-amp' ) {
265
  //dont Echo anything
266
  } else {
267
- $supported_types = array('post','page');
268
 
269
  $supported_types = apply_filters('get_amp_supported_post_types',$supported_types);
270
 
@@ -416,7 +418,7 @@ define('AMPFORWP_COMMENTS_PER_PAGE', ampforwp_define_comments_number() );
416
  // Custom Single file
417
  if ( is_single() || is_page() ) {
418
 
419
- if('single' === $type && !('product' === $post->post_type )) {
420
  $file = AMPFORWP_PLUGIN_DIR . '/templates/design-manager/design-'. ampforwp_design_selector() .'/single.php';
421
  }
422
  }
@@ -560,37 +562,37 @@ define('AMPFORWP_COMMENTS_PER_PAGE', ampforwp_define_comments_number() );
560
  global $redux_builder_amp;
561
  $optimize = '';
562
  $optimize = ampforwp_ad_optimize();
563
- if($redux_builder_amp['enable-amp-ads-1'] == true) {
564
- if($redux_builder_amp['enable-amp-ads-select-1'] == 1) {
565
  $advert_width = '300';
566
  $advert_height = '250';
567
- } elseif ($redux_builder_amp['enable-amp-ads-select-1'] == 2) {
568
  $advert_width = '336';
569
  $advert_height = '280';
570
- } elseif ($redux_builder_amp['enable-amp-ads-select-1'] == 3) {
571
  $advert_width = '728';
572
  $advert_height = '90';
573
- } elseif ($redux_builder_amp['enable-amp-ads-select-1'] == 4) {
574
  $advert_width = '300';
575
  $advert_height = '600';
576
- } elseif ($redux_builder_amp['enable-amp-ads-select-1'] == 5) {
577
  $advert_width = '320';
578
  $advert_height = '100';
579
- } elseif ($redux_builder_amp['enable-amp-ads-select-1'] == 6) {
580
  $advert_width = '200';
581
  $advert_height = '50';
582
- } elseif ($redux_builder_amp['enable-amp-ads-select-1'] == 7) {
583
  $advert_width = '320';
584
  $advert_height = '50';
585
  }
586
  $output = '<div class="amp-ad-wrapper amp_ad_1">';
587
- $output .= '<amp-ad class="amp-ad-1"
588
  type="adsense" '. $optimize .'
589
  width='. $advert_width .' height='. $advert_height . '
590
  data-ad-client="'. $redux_builder_amp['enable-amp-ads-text-feild-client-1'].'"
591
  data-ad-slot="'. $redux_builder_amp['enable-amp-ads-text-feild-slot-1'] .'">';
592
- $output .= '</amp-ad>';
593
- $output .= ' </div>';
594
  echo $output;
595
  }
596
  }
@@ -602,7 +604,7 @@ define('AMPFORWP_COMMENTS_PER_PAGE', ampforwp_define_comments_number() );
602
  global $redux_builder_amp;
603
  $optimize = '';
604
  $optimize = ampforwp_ad_optimize();
605
- if($redux_builder_amp['enable-amp-ads-2'] == true) {
606
  if($redux_builder_amp['enable-amp-ads-select-2'] == 1) {
607
  $advert_width = '300';
608
  $advert_height = '250';
@@ -645,7 +647,7 @@ define('AMPFORWP_COMMENTS_PER_PAGE', ampforwp_define_comments_number() );
645
  global $redux_builder_amp;
646
  $optimize = '';
647
  $optimize = ampforwp_ad_optimize();
648
- if($redux_builder_amp['enable-amp-ads-3'] == true) {
649
  if($redux_builder_amp['enable-amp-ads-select-3'] == 1) {
650
  $advert_width = '300';
651
  $advert_height = '250';
@@ -688,7 +690,7 @@ define('AMPFORWP_COMMENTS_PER_PAGE', ampforwp_define_comments_number() );
688
  global $redux_builder_amp;
689
  $optimize = '';
690
  $optimize = ampforwp_ad_optimize();
691
- if($redux_builder_amp['enable-amp-ads-4'] == true) {
692
  if($redux_builder_amp['enable-amp-ads-select-4'] == 1) {
693
  $advert_width = '300';
694
  $advert_height = '250';
@@ -732,7 +734,7 @@ define('AMPFORWP_COMMENTS_PER_PAGE', ampforwp_define_comments_number() );
732
  global $redux_builder_amp;
733
  $optimize = '';
734
  $optimize = ampforwp_ad_optimize();
735
- if($redux_builder_amp['enable-amp-ads-5'] == true) {
736
  if($redux_builder_amp['enable-amp-ads-select-5'] == 1) {
737
  $advert_width = '300';
738
  $advert_height = '250';
@@ -777,7 +779,7 @@ define('AMPFORWP_COMMENTS_PER_PAGE', ampforwp_define_comments_number() );
777
  global $redux_builder_amp;
778
  $optimize = '';
779
  $optimize = ampforwp_ad_optimize();
780
- if($redux_builder_amp['enable-amp-ads-6'] == true) {
781
  if($redux_builder_amp['enable-amp-ads-select-6'] == 1) {
782
  $advert_width = '300';
783
  $advert_height = '250';
@@ -1363,12 +1365,12 @@ function ampforwp_title_callback( $post ) {
1363
  ?>
1364
  <p>
1365
  <div class="prfx-row-content">
1366
- <label class="meta-radio-two" for="meta-radio-one">
1367
- <input type="radio" name="ampforwp-amp-on-off" id="meta-radio-one" value="default" checked="checked" <?php if ( isset ( $ampforwp_stored_meta['ampforwp-amp-on-off'] ) ) checked( $ampforwp_stored_meta['ampforwp-amp-on-off'][0], 'default' ); ?>>
1368
  <?php _e( 'Show' )?>
1369
  </label>
1370
- <label class="meta-radio-two" for="meta-radio-two">
1371
- <input type="radio" name="ampforwp-amp-on-off" id="meta-radio-two" value="hide-amp" <?php if ( isset ( $ampforwp_stored_meta['ampforwp-amp-on-off'] ) ) checked( $ampforwp_stored_meta['ampforwp-amp-on-off'][0], 'hide-amp' ); ?>>
1372
  <?php _e( 'Hide' )?>
1373
  </label>
1374
  <?php
@@ -1688,6 +1690,10 @@ function ampforwp_remove_schema_data() {
1688
  ampforwp_remove_filters_for_class( 'the_content', 'ICWP_WPTB_CssProcessor_V1', 'run', 10 );
1689
  //Perfect SEO url + Yoast SEO Compatibility #982
1690
  ampforwp_remove_filters_for_class( 'wpseo_canonical', 'PSU', 'canonical', 10 );
 
 
 
 
1691
  //SiteOrigin Page builder compatibilty
1692
  //Neglect SOPB If Custom AMP Editor is checked
1693
  if ( $amp_custom_content_enable === 'yes') {
@@ -1706,7 +1712,14 @@ function ampforwp_remove_schema_data() {
1706
  // Jannah Theme Lazy Load Compatibility
1707
  remove_filter( 'wp_get_attachment_image_attributes', 'jannah_lazyload_image_attributes', 8, 3 );
1708
  // Goodlife Theme Lazy Load Compatibility
1709
- remove_filter( 'post_thumbnail_html', 'thb_src_attribute', 10, 3 );
 
 
 
 
 
 
 
1710
  }
1711
 
1712
  // 22. Removing author links from comments Issue #180
@@ -1767,33 +1780,82 @@ function ampforwp_sticky_social_icons(){
1767
  <?php } ?>
1768
  <?php if($redux_builder_amp['enable-single-whatsapp-share'] == true) { ?>
1769
  <a href="whatsapp://send?text=<?php echo get_the_permalink();?>">
1770
- <div class="custom-amp-socialsharing-icon">
1771
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogN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GRkYiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K" width="50" height="20" />
1772
  </div>
1773
  </a>
1774
  <?php } ?>
1775
  <?php if($redux_builder_amp['enable-single-line-share'] == true) { ?>
1776
  <a href="http://line.me/R/msg/text/?<?php echo get_the_permalink(); ?>">
1777
- <div class="custom-amp-socialsharing-icon custom-amp-socialsharing-line">
1778
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDI5Ni41MjggMjk2LjUyOCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjk2LjUyOCAyOTYuNTI4OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjI0cHgiIGhlaWdod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jQ1Yy0zLjg2NiwwLTctMy4xMzQtNy03di0yNi44NDdWOTguNTczICAgYzAtMy44NjYsMy4xMzQtNyw3LTdoMzMuNTdjMy44NjYsMCw3LDMuMTM0LDcsN3MtMy4xMzQsNy03LDdoLTI2LjU3djEyLjg0OWgyMS41NjJjMy44NjYsMCw3LDMuMTM0LDcsN2MwLDMuODY2LTMuMTM0LDctNyw3ICAgaC0yMS41NjJ2MTIuODQ3aDI3LjY0NWMzLjg2NiwwLDcsMy4xMzQsNyw3UzIzNy4xNzcsMTU5LjI2OSwyMzMuMzExLDE1OS4yNjl6IiBmaWxsPSIjRkZGRkZGIi8+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==" width="50" height="20" />
1779
  </div>
1780
  </a>
1781
  <?php } ?>
1782
  <?php if($redux_builder_amp['enable-single-vk-share'] == true) { ?>
1783
  <a href="http://vk.com/share.php?url=<?php echo get_the_permalink(); ?>">
1784
- <div class="custom-amp-socialsharing-icon custom-amp-social-sharing-vk">
1785
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZX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zLjA3MiAgIEMyNTIuMjYsMTYxLjU0NCwyNTIuODQyLDE2Ni42OTcsMjYxLjk0NSwxNzUuNTc2TDI2MS45NDUsMTc1LjU3NnogTTI2MS45NDUsMTc1LjU3NiIgZmlsbD0iI0ZGRkZGRiIvPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=" width="50" height="20" />
1786
  </div>
1787
  </a>
1788
  <?php } ?>
1789
  <?php if($redux_builder_amp['enable-single-odnoklassniki-share'] == true) { ?>
1790
  <a href="https://ok.ru/dk?st.cmd=addShare&st._surl=<?php echo get_the_permalink(); ?>" target="_blank">
1791
- <div class="custom-amp-socialsharing-icon custom-amp-social-sharing-odnoklassniki">
1792
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9Ij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CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=" width="50" height="20" />
1793
  </div>
1794
  </a>
1795
  <?php } ?>
1796
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1797
  <?php }
1798
  //}
1799
  }
@@ -2623,7 +2685,7 @@ function ampforwp_sidebar_content_sanitizer($sidebar){
2623
  $non_sanitized_sidebar = ob_get_contents();
2624
  ob_end_clean();
2625
  if ( $non_sanitized_sidebar ) {
2626
- $sanitized_sidebar = new AMP_Content( $non_sanitized_sidebar,
2627
  apply_filters( 'amp_content_embed_handlers', array(
2628
  'AMP_Twitter_Embed_Handler' => array(),
2629
  'AMP_YouTube_Embed_Handler' => array(),
@@ -2889,10 +2951,7 @@ add_filter( 'amp_post_template_data', 'ampforwp_add_ads_scripts' );
2889
  function ampforwp_add_ads_scripts( $data ) {
2890
  global $redux_builder_amp;
2891
 
2892
- if ( $redux_builder_amp['enable-amp-ads-1'] ||
2893
- $redux_builder_amp['enable-amp-ads-2'] ||
2894
- $redux_builder_amp['enable-amp-ads-3'] ||
2895
- $redux_builder_amp['enable-amp-ads-4'] ) {
2896
  if ( empty( $data['amp_component_scripts']['amp-ad'] ) ) {
2897
  $data['amp_component_scripts']['amp-ad'] = 'https://cdn.ampproject.org/v0/amp-ad-0.1.js';
2898
  }
@@ -3034,15 +3093,17 @@ function ampforwp_change_default_amp_page_meta() {
3034
  add_action('amp_post_template_head','ampforwp_meta_description');
3035
  function ampforwp_meta_description() {
3036
  global $redux_builder_amp;
3037
- if( !$redux_builder_amp['ampforwp-seo-meta-description'] ){
3038
  return;
3039
  }
3040
- $desc = "" ;
3041
  $desc = ampforwp_generate_meta_desc();
3042
- if( $desc ) {
3043
  echo '<meta name="description" content="'. esc_attr( convert_chars( stripslashes( $desc ) ) ) .'"/>';
3044
  }
3045
  }
 
 
3046
 
3047
  // 55. Call Now Button Feature added
3048
  add_action('ampforwp_call_button','ampforwp_call_button_html_output');
@@ -3904,7 +3965,7 @@ function ampforwp_generate_meta_desc(){
3904
  $desc = '';
3905
  $post_id = '';
3906
  $genesis_description = '';
3907
- if( $redux_builder_amp['ampforwp-seo-yoast-description'] && class_exists('WPSEO_Frontend') ){
3908
  // general Description of everywhere
3909
  $front = WPSEO_Frontend::get_instance();
3910
  $desc = addslashes( strip_tags( $front->metadesc( false ) ) );
@@ -3913,7 +3974,7 @@ function ampforwp_generate_meta_desc(){
3913
  // Code for Custom Frontpage Yoast SEO Description
3914
  //WPML Static Front Page Support for title and description with Yoast #1143
3915
  include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
3916
- if( is_plugin_active( 'sitepress-multilingual-cms/sitepress.php' ) && is_plugin_active('wordpress-seo/wp-seo.php')){
3917
 
3918
  $post_id = get_option( 'page_on_front' );
3919
  }
@@ -3927,46 +3988,46 @@ function ampforwp_generate_meta_desc(){
3927
  }
3928
  }
3929
  // for search
3930
- if( is_search() ) {
3931
  $desc = addslashes( ampforwp_translation($redux_builder_amp['amp-translator-search-text'], 'You searched for:') . ' ' . get_search_query() );
3932
  }
3933
  }
3934
 
3935
  else {
3936
- if( is_home() ) {
3937
  // normal home page
3938
- $desc= addslashes( strip_tags( get_bloginfo( 'description' ) ) );
3939
  }
3940
 
3941
- if( is_archive() ) {
3942
- $desc= addslashes( strip_tags( get_the_archive_description() ) );
3943
  }
3944
 
3945
- if( is_single() || is_page() ) {
3946
- if( has_excerpt() ){
3947
  $desc = get_the_excerpt();
3948
  } else {
3949
  global $post;
3950
  $id = $post->ID;
3951
  $desc = $post->post_content;
3952
  }
3953
- $desc= preg_replace('/\[(.*?)\]/',' ', $desc);
3954
  $desc = addslashes( wp_trim_words( strip_tags( $desc ) , '15' ) );
3955
  }
3956
 
3957
- if( is_search() ) {
3958
  $desc = addslashes( ampforwp_translation($redux_builder_amp['amp-translator-search-text'], 'You searched for:') . ' ' . get_search_query() );
3959
  }
3960
 
3961
- if( is_home() && $redux_builder_amp['amp-frontpage-select-option'] && ampforwp_get_blog_details() == false) {
3962
- $post_id = $redux_builder_amp['amp-frontpage-select-option-pages'] ;
3963
  $desc = addslashes( wp_trim_words( strip_tags( get_post_field('post_content', $post_id) ) , '15' ) );
3964
  }
3965
  }
3966
 
3967
  //Genesis #1013
3968
- if(function_exists('genesis_meta')){
3969
- if(is_home() && is_front_page() && !$redux_builder_amp['amp-frontpage-select-option']){
3970
  $genesis_description = genesis_get_seo_option( 'home_description' ) ? genesis_get_seo_option( 'home_description' ) : get_bloginfo( 'description' );
3971
  }
3972
  elseif ( is_home() && get_option( 'page_for_posts' ) && get_queried_object_id() ) {
@@ -3974,13 +4035,13 @@ function ampforwp_generate_meta_desc(){
3974
  if ( null !== $post_id || is_singular() ) {
3975
  if ( genesis_get_custom_field( '_genesis_description', $post_id ) ) {
3976
  $genesis_description = genesis_get_custom_field( '_genesis_description', $post_id );
3977
- if($genesis_description){
3978
  $desc = $genesis_description;
3979
  }
3980
  }
3981
  }
3982
  }
3983
- elseif(is_home() && $redux_builder_amp['amp-frontpage-select-option'] && get_option( 'page_on_front' )){
3984
  $post_id = get_option('page_on_front');
3985
  if ( null !== $post_id || is_singular() ) {
3986
  if ( genesis_get_custom_field( '_genesis_description', $post_id ) ) {
@@ -3988,17 +4049,22 @@ function ampforwp_generate_meta_desc(){
3988
  }
3989
  }
3990
  }
3991
- else{
3992
  $genesis_description = genesis_get_seo_meta_description();
3993
  }
3994
- if($genesis_description){
3995
  $desc = $genesis_description;
3996
  }
3997
  }
 
 
 
 
 
3998
  // strip_shortcodes strategy not working here so had to do this way
3999
  // strips shortcodes
4000
- $desc= preg_replace('/\[(.*?)\]/','', $desc);
4001
- return $desc;
4002
  }
4003
 
4004
  //Compatibility with WP User Avatar #975
@@ -4357,7 +4423,7 @@ function ampforwp_enable_post_and_featured_image($show_image){
4357
  return $show_image;
4358
  }
4359
  // 82. Grab Featured Image from The Content
4360
- function ampforwp_get_featured_image_from_content($featured_image = "") {
4361
  global $post, $posts;
4362
  $image_url = '';
4363
  $image_width = '';
@@ -4385,6 +4451,13 @@ function ampforwp_get_featured_image_from_content($featured_image = "") {
4385
  add_filter('ampforwp_modify_the_content','featured_image_content_filter');
4386
 
4387
  }
 
 
 
 
 
 
 
4388
  switch ($featured_image) {
4389
  case 'image':
4390
  $featured_image_output = $amp_html;
@@ -4768,7 +4841,7 @@ if( !function_exists('ampforwp_has_post_thumbnail')){
4768
  }
4769
  // Get Post Thumbnail URL
4770
  if( !function_exists('ampforwp_get_post_thumbnail')){
4771
- function ampforwp_get_post_thumbnail($param=""){
4772
  global $post, $redux_builder_amp;
4773
  $thumb_url = '';
4774
  $thumb_width = '';
@@ -4787,9 +4860,9 @@ if( !function_exists('ampforwp_get_post_thumbnail')){
4787
  $thumb_height = ampforwp_cf_featured_image_src('height');
4788
  }
4789
  if( true == $redux_builder_amp['ampforwp-featured-image-from-content'] && ampforwp_get_featured_image_from_content('url') ){
4790
- $thumb_url = ampforwp_get_featured_image_from_content('url');
4791
- $thumb_width = ampforwp_get_featured_image_from_content('width');
4792
- $thumb_height = ampforwp_get_featured_image_from_content('height');
4793
  }
4794
  switch ($param) {
4795
  case 'url':
@@ -4883,7 +4956,7 @@ function ampforwp_addAmpLastModifiedHeader($headers) {
4883
  if( ! function_exists('ampforwp_get_comments_gravatar') ){
4884
  function ampforwp_get_comments_gravatar( $comment ) {
4885
  $gravatar_exists = '';
4886
- $gravatar_exists = ampforwp_comment_gravatar_checker($comment->comment_author_email);
4887
  if($gravatar_exists == true){
4888
  return get_avatar_url( $comment, apply_filters( 'ampforwp_get_comments_gravatar', '60' ), '' );
4889
  }
@@ -4892,8 +4965,8 @@ if( ! function_exists('ampforwp_get_comments_gravatar') ){
4892
  }
4893
  }
4894
  // Gravatar Checker
4895
- if( ! function_exists('ampforwp_comment_gravatar_checker') ){
4896
- function ampforwp_comment_gravatar_checker($email) {
4897
  // Craft a potential url and test its headers
4898
  $hash = md5(strtolower(trim($email)));
4899
  $uri = 'http://www.gravatar.com/avatar/' . $hash . '?d=404';
@@ -5049,6 +5122,7 @@ if( ! function_exists(' ampforwp_onesignal_notifications_widget') ){
5049
  global $redux_builder_amp;
5050
  if(isset($redux_builder_amp['ampforwp-web-push-onesignal']) && $redux_builder_amp['ampforwp-web-push-onesignal'] ){ ?>
5051
  <!-- A subscription widget -->
 
5052
  <amp-web-push-widget visibility="unsubscribed" layout="fixed" width="245" height="45">
5053
  <button class="subscribe" on="tap:amp-web-push.subscribe">
5054
  <amp-img
@@ -5067,6 +5141,7 @@ if( ! function_exists(' ampforwp_onesignal_notifications_widget') ){
5067
  <?php echo ampforwp_translation( $redux_builder_amp['ampforwp-onesignal-translator-unsubscribe'], 'Unsubscribe from updates' ); ?>
5068
  </button>
5069
  </amp-web-push-widget>
 
5070
  <?php }
5071
  }
5072
  }
@@ -5094,6 +5169,7 @@ if(!function_exists('ampforwp_onesignal_notifications_styling')){
5094
  amp-web-push-widget button.subscribe:active {transform: scale(0.99);}
5095
  amp-web-push-widget button.unsubscribe {display: inline-flex; align-items: center; justify-content: center; height: 45px; border: 0; margin: 0; cursor: pointer; outline: none; font-size: 15px; font-weight: 400; background: #4a90e2; color: #fff; -webkit-tap-highlight-color: rgba(0,0,0,0); box-sizing: border-box; padding: 10px 15px;}
5096
  amp-web-push-widget.amp-invisible{ display:none;}
 
5097
  <?php }
5098
  }
5099
  }
@@ -5101,8 +5177,10 @@ if(!function_exists('ampforwp_onesignal_notifications_styling')){
5101
  add_filter( 'nav_menu_link_attributes', 'ampforwp_nav_menu_link_attributes', 10, 3 );
5102
  if( ! function_exists( 'ampforwp_nav_menu_link_attributes' ) ) {
5103
  function ampforwp_nav_menu_link_attributes( $atts, $item, $args ) {
 
5104
  // Manipulate link attributes
5105
- $atts['itemprop'] = "url";
 
5106
  return $atts;
5107
  }
5108
  }
@@ -5373,4 +5451,26 @@ if ( ! function_exists('ampforwp_list_subpages') ) {
5373
  echo wp_kses($pages, ampforwp_allowed_tags());
5374
  }
5375
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5376
  }
132
  // Custom Frontpage items
133
  require AMPFORWP_PLUGIN_DIR .'templates/frontpage-elements.php';
134
  require AMPFORWP_PLUGIN_DIR . '/classes/class-ampforwp-youtube-embed.php' ;
135
+ require AMPFORWP_PLUGIN_DIR .'templates/structured-data.php';
136
+ // Custom Post Types
137
+ require AMPFORWP_PLUGIN_DIR .'templates/ampforwp-custom-post-type.php';
138
 
139
  // TODO: Update this function
140
  function ampforwp_include_customizer_files(){
266
  if( is_singular() && $ampforwp_amp_post_on_off_meta === 'hide-amp' ) {
267
  //dont Echo anything
268
  } else {
269
+ $supported_types = ampforwp_get_all_post_types();
270
 
271
  $supported_types = apply_filters('get_amp_supported_post_types',$supported_types);
272
 
418
  // Custom Single file
419
  if ( is_single() || is_page() ) {
420
 
421
+ if('single' === $type ) {
422
  $file = AMPFORWP_PLUGIN_DIR . '/templates/design-manager/design-'. ampforwp_design_selector() .'/single.php';
423
  }
424
  }
562
  global $redux_builder_amp;
563
  $optimize = '';
564
  $optimize = ampforwp_ad_optimize();
565
+ if ( isset($redux_builder_amp['enable-amp-ads-1']) && true == $redux_builder_amp['enable-amp-ads-1'] ) {
566
+ if ( 1 == $redux_builder_amp['enable-amp-ads-select-1'] ) {
567
  $advert_width = '300';
568
  $advert_height = '250';
569
+ } elseif ( 2 == $redux_builder_amp['enable-amp-ads-select-1'] ) {
570
  $advert_width = '336';
571
  $advert_height = '280';
572
+ } elseif ( 3 == $redux_builder_amp['enable-amp-ads-select-1'] ) {
573
  $advert_width = '728';
574
  $advert_height = '90';
575
+ } elseif ( 4 == $redux_builder_amp['enable-amp-ads-select-1'] ) {
576
  $advert_width = '300';
577
  $advert_height = '600';
578
+ } elseif ( 5 == $redux_builder_amp['enable-amp-ads-select-1'] ) {
579
  $advert_width = '320';
580
  $advert_height = '100';
581
+ } elseif ( 6 == $redux_builder_amp['enable-amp-ads-select-1'] ) {
582
  $advert_width = '200';
583
  $advert_height = '50';
584
+ } elseif ( 7 == $redux_builder_amp['enable-amp-ads-select-1'] ) {
585
  $advert_width = '320';
586
  $advert_height = '50';
587
  }
588
  $output = '<div class="amp-ad-wrapper amp_ad_1">';
589
+ $output .= '<amp-ad class="amp-ad-1"
590
  type="adsense" '. $optimize .'
591
  width='. $advert_width .' height='. $advert_height . '
592
  data-ad-client="'. $redux_builder_amp['enable-amp-ads-text-feild-client-1'].'"
593
  data-ad-slot="'. $redux_builder_amp['enable-amp-ads-text-feild-slot-1'] .'">';
594
+ $output .= '</amp-ad>';
595
+ $output .= ' </div>';
596
  echo $output;
597
  }
598
  }
604
  global $redux_builder_amp;
605
  $optimize = '';
606
  $optimize = ampforwp_ad_optimize();
607
+ if ( isset($redux_builder_amp['enable-amp-ads-2']) && true == $redux_builder_amp['enable-amp-ads-2'] ) {
608
  if($redux_builder_amp['enable-amp-ads-select-2'] == 1) {
609
  $advert_width = '300';
610
  $advert_height = '250';
647
  global $redux_builder_amp;
648
  $optimize = '';
649
  $optimize = ampforwp_ad_optimize();
650
+ if ( isset($redux_builder_amp['enable-amp-ads-3']) && true == $redux_builder_amp['enable-amp-ads-3'] ) {
651
  if($redux_builder_amp['enable-amp-ads-select-3'] == 1) {
652
  $advert_width = '300';
653
  $advert_height = '250';
690
  global $redux_builder_amp;
691
  $optimize = '';
692
  $optimize = ampforwp_ad_optimize();
693
+ if ( isset($redux_builder_amp['enable-amp-ads-4']) && true == $redux_builder_amp['enable-amp-ads-4'] ) {
694
  if($redux_builder_amp['enable-amp-ads-select-4'] == 1) {
695
  $advert_width = '300';
696
  $advert_height = '250';
734
  global $redux_builder_amp;
735
  $optimize = '';
736
  $optimize = ampforwp_ad_optimize();
737
+ if ( isset($redux_builder_amp['enable-amp-ads-5']) && true == $redux_builder_amp['enable-amp-ads-5'] ) {
738
  if($redux_builder_amp['enable-amp-ads-select-5'] == 1) {
739
  $advert_width = '300';
740
  $advert_height = '250';
779
  global $redux_builder_amp;
780
  $optimize = '';
781
  $optimize = ampforwp_ad_optimize();
782
+ if( isset($redux_builder_amp['enable-amp-ads-6']) && true == $redux_builder_amp['enable-amp-ads-6'] ) {
783
  if($redux_builder_amp['enable-amp-ads-select-6'] == 1) {
784
  $advert_width = '300';
785
  $advert_height = '250';
1365
  ?>
1366
  <p>
1367
  <div class="prfx-row-content">
1368
+ <label class="meta-radio-two" for="ampforwp-on-off-meta-radio-one">
1369
+ <input type="radio" name="ampforwp-amp-on-off" id="ampforwp-on-off-meta-radio-one" value="default" checked="checked" <?php if ( isset ( $ampforwp_stored_meta['ampforwp-amp-on-off'] ) ) checked( $ampforwp_stored_meta['ampforwp-amp-on-off'][0], 'default' ); ?>>
1370
  <?php _e( 'Show' )?>
1371
  </label>
1372
+ <label class="meta-radio-two" for="ampforwp-on-off-meta-radio-two">
1373
+ <input type="radio" name="ampforwp-amp-on-off" id="ampforwp-on-off-meta-radio-two" value="hide-amp" <?php if ( isset ( $ampforwp_stored_meta['ampforwp-amp-on-off'] ) ) checked( $ampforwp_stored_meta['ampforwp-amp-on-off'][0], 'hide-amp' ); ?>>
1374
  <?php _e( 'Hide' )?>
1375
  </label>
1376
  <?php
1690
  ampforwp_remove_filters_for_class( 'the_content', 'ICWP_WPTB_CssProcessor_V1', 'run', 10 );
1691
  //Perfect SEO url + Yoast SEO Compatibility #982
1692
  ampforwp_remove_filters_for_class( 'wpseo_canonical', 'PSU', 'canonical', 10 );
1693
+ //SiteOrigin Page builder compatibilty with AMP Frontpage
1694
+ if ( ampforwp_is_front_page() ) {
1695
+ ampforwp_remove_filters_for_class( 'the_content', 'SiteOrigin_Panels', 'generate_post_content', 10 );
1696
+ }
1697
  //SiteOrigin Page builder compatibilty
1698
  //Neglect SOPB If Custom AMP Editor is checked
1699
  if ( $amp_custom_content_enable === 'yes') {
1712
  // Jannah Theme Lazy Load Compatibility
1713
  remove_filter( 'wp_get_attachment_image_attributes', 'jannah_lazyload_image_attributes', 8, 3 );
1714
  // Goodlife Theme Lazy Load Compatibility
1715
+ remove_filter( 'post_thumbnail_html', 'thb_src_attribute', 10, 3 );
1716
+ // MediaAce lazy load compatibility
1717
+ remove_filter( 'wp_get_attachment_image_attributes', 'mace_lazy_load_attachment', 10, 3);
1718
+ remove_filter( 'the_content', 'mace_lazy_load_content_image' );
1719
+ // SEO Post Content Links compatibility
1720
+ if ( class_exists('cl_core') ) {
1721
+ remove_action('the_content', array( 'cl_core', 'getPost' ) );
1722
+ }
1723
  }
1724
 
1725
  // 22. Removing author links from comments Issue #180
1780
  <?php } ?>
1781
  <?php if($redux_builder_amp['enable-single-whatsapp-share'] == true) { ?>
1782
  <a href="whatsapp://send?text=<?php echo get_the_permalink();?>">
1783
+ <div class="amp-social-icon">
1784
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjUxMnB4IiBoZWlnaHQ9IjUxMnB4IiB2aWV3Qm94PSIwIDAgOTAgOTAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDkwIDkwOy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S4wODQtMS4yNTUsMS42MjUtMS44ODIgICBjMC41NDMtMC42MjgsMC43MjMtMS4wNzUsMS4wODItMS43OTNjMC4zNjMtMC43MTcsMC4xODItMS4zNDQtMC4wOS0xLjg4M2MtMC4yNy0wLjUzNy0yLjQzOC01LjgyNS0zLjM0LTcuOTc3ICAgYy0wLjkwMi0yLjE1LTEuODAzLTEuNzkyLTIuNDM2LTEuNzkyYy0wLjYzMSwwLTEuMzU0LTAuMDktMi4wNzYtMC4wOWMtMC43MjIsMC0xLjg5NiwwLjI2OS0yLjg4OSwxLjM0NCAgIGMtMC45OTIsMS4wNzYtMy43ODksMy42NzYtMy43ODksOC45NjNjMCw1LjI4OCwzLjg3OSwxMC4zOTcsNC40MjIsMTEuMTEzYzAuNTQxLDAuNzE2LDcuNDksMTEuOTIsMTguNSwxNi4yMjMgICBDNTguMiw2NS43NzEsNTguMiw2NC4zMzYsNjAuMTg2LDY0LjE1NmMxLjk4NC0wLjE3OSw2LjQwNi0yLjU5OSw3LjMxMi01LjEwN0M2OC4zOTgsNTYuNTM3LDY4LjM5OCw1NC4zODYsNjguMTI5LDUzLjkzOHoiIGZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K" width="50" height="20" />
1785
  </div>
1786
  </a>
1787
  <?php } ?>
1788
  <?php if($redux_builder_amp['enable-single-line-share'] == true) { ?>
1789
  <a href="http://line.me/R/msg/text/?<?php echo get_the_permalink(); ?>">
1790
+ <div class="amp-social-icon custom-amp-socialsharing-line">
1791
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlb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z4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==" width="50" height="20" />
1792
  </div>
1793
  </a>
1794
  <?php } ?>
1795
  <?php if($redux_builder_amp['enable-single-vk-share'] == true) { ?>
1796
  <a href="http://vk.com/share.php?url=<?php echo get_the_permalink(); ?>">
1797
+ <div class="amp-social-icon amp-social-vk">
1798
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCAzMDQuMzYgMzA0LjM2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAzMDQuMzYgMzA0LjM2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjUxMnB4IiBoZWlnaHQ9IjUxMnB4Ij4KPGcgaWQ9IlhNTElEXzFfIj4KCTxwYXRoIGlkPSJYTUxJRF84MDdfIiBzdHlsZT0iZmlsbC1ydWxlOmV2ZW5vZGQ7Y2xpcC1ydWxlOmV2ZW5vZGQ7IiBkPSJNMjYxLjk0NSwxNzUuNTc2YzEwLjA5Niw5Ljg1NywyMC43NTIsMTkuMTMxLDI5LjgwNywyOS45ODIgICBjNCw0LjgyMiw3Ljc4Nyw5Ljc5OCwxMC42ODQsMTUu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IGMzLjU2NC00LjE3Miw2LjkxNi02Ljc2OSwxMy41OTgtNi43NjloNTAuMTExYzcuODg5LDEuNTU3LDkuNjQxLDUuMTAxLDEwLjcyMSwxMy4wMzlsMC4wNDMsNTUuNjYzICAgYy0wLjA4NiwzLjA3MywxLjUzNSwxMi4xOTIsNy4wNywxNC4yMjZjNC40MywxLjQ0OCw3LjM1LTIuMDk2LDEwLjAwOC00LjkwNWMxMS45OTgtMTIuNzM0LDIwLjU2MS0yNy43ODMsMjguMjExLTQzLjM2NiAgIGMzLjM5NS02Ljg1Miw2LjMxNC0xMy45NjgsOS4xNDMtMjEuMDc4YzIuMDk2LTUuMjc2LDUuMzg1LTcuODcyLDExLjMyOC03Ljc1N2w0OC4yMjksMC4wNDNjMS40MywwLDIuODc3LDAuMDIxLDQuMjYyLDAuMjU4ICAgYzguMTI3LDEuMzg1LDEwLjM1NCw0Ljg4MSw3Ljg0NCwxMi44MTdjLTMuOTU1LDEyLjQ1MS0xMS42NSwyMi44MjctMTkuMTc0LDMzLjI1MWMtOC4wNDMsMTEuMTI5LTE2LjY0NSwyMS44NzctMjQuNjIxLDMzLjA3MiAgIEMyNTIuMjYsMTYxLjU0NCwyNTIuODQyLDE2Ni42OTcsMjYxLjk0NSwxNzUuNTc2TDI2MS45NDUsMTc1LjU3NnogTTI2MS45NDUsMTc1LjU3NiIgZmlsbD0iI0ZGRkZGRiIvPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=" width="50" height="20" />
1799
  </div>
1800
  </a>
1801
  <?php } ?>
1802
  <?php if($redux_builder_amp['enable-single-odnoklassniki-share'] == true) { ?>
1803
  <a href="https://ok.ru/dk?st.cmd=addShare&st._surl=<?php echo get_the_permalink(); ?>" target="_blank">
1804
+ <div class="amp-social-icon amp-social-odnoklassniki">
1805
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDk1LjQ4MSA5NS40ODEiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDk1LjQ4MSA5NS40ODE7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNNDMuMDQxLDY3LjI1NGMtNy40MDItMC43NzItMTQuMDc2LTIuNTk1LTE5Ljc5LTcuMDY0Yy0wLjcwOS0wLjU1Ni0xLjQ0MS0xLjA5Mi0yLjA4OC0xLjcxMyAgICBjLTIuNTAxLTIuNDAyLTIuNzUzLTUuMTUzLTAuNzc0LTcuOTg4YzEuNjkzLTIuNDI2LDQuNTM1LTMuMDc1LDcuNDg5LTEuNjgyYzAuNTcyLDAuMjcsMS4xMTcsMC42MDcsMS42MzksMC45NjkgICAgYzEwLjY0O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yMThDMjMuNjcsMTAuNzM5LDM0LjUwNS0wLjAzNyw0Ny44NCwwICAgIGMxMy4zNjIsMC4wMzYsMjQuMDg3LDEwLjk2NywyNC4wMiwyNC40NzhDNzEuNzkyLDM3LjY3Nyw2MC44ODksNDguMzc1LDQ3LjU1LDQ4LjMyOXogTTU5LjU1MSwyNC4xNDMgICAgYy0wLjAyMy02LjU2Ny01LjI1My0xMS43OTUtMTEuODA3LTExLjgwMWMtNi42MDktMC4wMDctMTEuODg2LDUuMzE2LTExLjgzNSwxMS45NDNjMC4wNDksNi41NDIsNS4zMjQsMTEuNzMzLDExLjg5NiwxMS43MDkgICAgQzU0LjM1NywzNS45NzEsNTkuNTczLDMwLjcwOSw1OS41NTEsMjQuMTQzeiIgZmlsbD0iI0ZGRkZGRiIvPgoJPC9nPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=" width="50" height="20" />
1806
  </div>
1807
  </a>
1808
  <?php } ?>
1809
+ <?php if ( true == $redux_builder_amp['enable-single-reddit-share'] ) { ?>
1810
+ <a href="https://reddit.com/submit?url=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(get_the_title()); ?>" target="_blank">
1811
+ <div class="amp-social-icon amp-social-reddit">
1812
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNDQ5IDUxMiIgZmlsbD0iI2ZmZmZmZiIgPj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single-tumblr-share'] ) { ?>
1817
+ <a href="https://www.tumblr.com/widgets/share/tool?canonicalUrl=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(get_the_title()); ?>&caption=<?php echo esc_attr(get_the_excerpt()); ?>" target="_blank">
1818
+ <div class="amp-social-icon amp-social-tumblr">
1819
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNjQgNjQiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMzYuMDAyIDI4djE0LjYzNmMwIDMuNzE0LS4wNDggNS44NTMuMzQ2IDYuOTA2LjM5IDEuMDQ3IDEuMzcgMi4xMzQgMi40MzcgMi43NjMgMS40MTguODUgMy4wMzQgMS4yNzMgNC44NTcgMS4yNzMgMy4yNCAwIDUuMTU1LS40MjggOC4zNi0yLjUzNHY5LjYyYy0yLjczMiAxLjI4Ni01LjExOCAyLjAzOC03LjMzNCAyLjU2LTIuMjIuNTE0LTQuNjE2Ljc3NC03LjE5Ljc3NC0yLjkyOCAwLTQuNjU1LS4zNjgtNi45MDItMS4xMDMtMi4yNDctLjc0Mi00LjE2Ni0xLjgtNS43NS0zLjE2LTEuNTkyLTEuMzctMi42OS0yLjgyNC0zLjMwNC00LjM2M3MtLjkyLTMuNzc2LS45Mi02LjcwM1YyNi4yMjRoLTguNTl2LTkuMDYzYzIuNTE0LS44MTUgNS4zMjQtMS45ODcgNy4xMTItMy41MSAxLjc5Ny0xLjUyNyAzLjIzNS0zLjM1NiA0LjMyLTUuNDk2QzI0LjUzIDYuMDIyIDI1LjI3NiAzLjMgMjUuNjgzIDBoMTAuMzJ2MTZINTJ2MTJIMzYuMDA0eiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
1820
+ </div>
1821
+ </a>
1822
+ <?php } ?>
1823
+ <?php if ( true == $redux_builder_amp['enable-single-telegram-share'] ) { ?>
1824
+ <a href="https://telegram.me/share/url?url=<?php echo esc_url(get_the_permalink()); ?>&text=<?php echo esc_attr(get_the_title()); ?>" target="_blank">
1825
+ <div class="amp-social-icon amp-social-telegram">
1826
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjYgMjYiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMCAydjguNUwxNSAxMyAwIDE1LjVWMjRsMjYtMTFMMCAyeiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
1827
+ </div>
1828
+ </a>
1829
+ <?php } ?>
1830
+ <?php if ( true == $redux_builder_amp['enable-single-digg-share'] ) { ?>
1831
+ <a href="http://digg.com/submit?url=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(get_the_title()); ?>" target="_blank">
1832
+ <div class="amp-social-icon amp-social-digg">
1833
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjA0OCAxODk2LjA4MzMiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMzI4IDI4MmgyMDR2OTgzSDBWNTY4aDMyOFYyODJ6bTAgODE5VjczMkgyMDV2MzY5aDEyM3ptMjg2LTUzM3Y2OTdoMjA1VjU2OEg2MTR6bTAtMjg2djIwNGgyMDVWMjgySDYxNHptMjg3IDI4Nmg1MzN2OTQySDkwMXYtMTYzaDMyOHYtODJIOTAxVjU2OHptMzI4IDUzM1Y3MzJoLTEyM3YzNjloMTIzem0yODctNTMzaDUzMnY5NDJoLTUzMnYtMTYzaDMyN3YtODJoLTMyN1Y1Njh6bTMyNyA1MzNWNzMyaC0xMjN2MzY5aDEyM3oiPjwvcGF0aD48L3N2Zz4=" width="50" height="20" />
1834
+ </div>
1835
+ </a>
1836
+ <?php } ?>
1837
+ <?php if ( true == $redux_builder_amp['enable-single-stumbleupon-share'] ) { ?>
1838
+ <a href="http://www.stumbleupon.com/submit?url=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(get_the_title()); ?>" target="_blank">
1839
+ <div class="amp-social-icon amp-social-stumbleupon">
1840
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNjcwLjIyMzMgNjAxLjA4NjkiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMCA0MzcuMjQ3di05Mi42NzJoMTE0LjY4OHY5MS42NjRjMCA5LjU2NyAzLjQwOCAxNy44MjMgMTAuMjQgMjQuODNzMTUuMTg0IDEwLjQ5NyAyNS4wODggMTAuNDk3IDE4LjMzNi0zLjQyNCAyNS4zNDQtMTAuMjRjNy4wMDgtNi44NDggMTAuNDk2LTE1LjIgMTAuNDk2LTI1LjA4OFYyMTkuNjQ2YzAtMzkuOTM1IDE0Ljc1Mi03My45ODQgNDQuMjg4LTEwMi4xNDQgMjkuNTM2LTI4LjE2IDY0LjYwOC00Mi4yNCAxMDUuMjE2LTQyLjI0IDQwLjYwOCAwIDc1LjY4IDE0LjE2IDEwNS4yMTYgNDIuNDk2IDI5LjUyID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<?php } ?>
1844
+ <?php if ( true == $redux_builder_amp['enable-single-wechat-share'] ) { ?>
1845
+ <a href="http://api.addthis.com/oexchange/0.8/forward/wechat/offer?url=<?php echo esc_url(get_the_permalink()); ?>" target="_blank">
1846
+ <div class="amp-social-icon amp-social-wechat">
1847
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjA0OCAxODk2LjA4MzMiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNNTgwIDQ2MXEwLTQxLTI1LTY2dC02Ni0yNXEtNDMgMC03NiAyNS41VDM4MCA0NjFxMCAzOSAzMyA2NC41dDc2IDI1LjVxNDEgMCA2Ni0yNC41dDI1LTY1LjV6bTc0MyA1MDdxMC0yOC0yNS41LTUwdC02NS41LTIycS0yNyAwLTQ5LjUgMjIuNVQxMTYwIDk2OHEwIDI4IDIyLjUgNTAuNXQ0OS41IDIyLjVxNDAgMCA2NS41LTIydDI1LjUtNTF6bS0yMzYtNTA3cTAtNDEtMjQuNS02NlQ5OTcgMzcwcS00MyAwLTc2IDI1LjVUODg4IDQ2MXEwIDM5IDMzIDY0LjV0NzYgMjUuNXE0MSAwIDY1LjUtMjQuNVQxMDg3IDQ2MXptNjM1IDUwN3EwLTI4LTI2LTUwdC02NS0yMnEtMjcgMC00OS41IDIyLjVUMTU1OSA5NjhxMCAyOCAyMi41IDUwLjV0NDkuNSAyMi41cTM5IDAgNjUtMjJ0MjYtNTF6bS0yNjYtMzk3cS0zMS00LTcwLTQtMTY5IDAtMzExIDc3VDg1MS41IDg1Mi41IDc3MCAxMTQwcTAgNzggMjMgMTUyLTM1IDMtNjggMy0yNiAwLTUwLTEuNXQtNTUtNi41LTQ0LjUtNy01NC41LTEwLjUtNTAtMTAuNWwtMjUzIDEyNyA3Mi0yMThRMCA5NjUgMCA2NzhxMC0xNjkgOTcuNS0zMTF0MjY0LTIyMy41VDcyNSA2MnExNzYgMCAzMzIuNSA2NnQyNjIgMTgyLjVUMTQ1NiA1NzF6bTU5MiA1NjFxMCAxMTctNjguNSAyMjMuNVQxNzk0IDE1NDlsNTUgMTgxLTE5OS0xMDlxLTE1MCAzNy0yMTggMzctMTY5IDAtMzExLTcwLjVUODk3LjUgMTM5NiA4MTYgMTEzMnQ4MS41LTI2NFQxMTIxIDY3Ni41dDMxMS03MC41cTE2MSAwIDMwMyA3MC41dDIyNy41IDE5MlQyMDQ4IDExMzJ6Ij48L3BhdGg+PC9zdmc+" width="50" height="20" />
1848
+ </div>
1849
+ </a>
1850
+ <?php } ?>
1851
+ <?php if ( true == $redux_builder_amp['enable-single-viber-share'] ) { ?>
1852
+ <a href="viber://forward?text=<?php echo esc_url(get_the_permalink()); ?>" target="_blank">
1853
+ <div class="amp-social-icon amp-social-viber">
1854
+ <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTAyNiAxMjM0IiBmaWxsPSIjZmZmZmZmIiA+PHBhdGggZD0iTTkwNCA3OTRxLTY5IDYxLTIwMCA4Ny41VDQzNCA4OTdsLTE3NiAxMzJWODY0cS04Ny0yNy0xMzYtNzAtNTgtNTEtOTAtMTQ2LjV0LTMyLTE5NSAzMi0xOTUgOTAuNS0xNDcgMTY3LjUtNzlUNTEzIDR0MjIzIDI3LjUgMTY3LjUgNzkgOTAuNSAxNDcgMzIgMTk1LTMyIDE5NVQ5MDQgNzk0ek02MzkgNTQ5bDY1IDExcS04LTEyMC05Mi41LTIwNVQ0MDcgMjYybDExIDY1cTg2IDExIDE0OCA3M3Q3MyAxNDl6TTQyOSAzOTRsMTIgNzJxNDAgMjAgNTkgNTlsNzIgMTJxLTEyLTUzLTUxLTkxLjVUNDI5IDM5NHptLTEwNyA1OXYtNjRxMC0xNy0xMi41LTM0VDI4MyAzMzAuNXQtMjEtMS41bC00NiA0N3EtMzkgMzktMTEuNSAxMjEuNXQxMDUgMTYwIDE2MCAxMDVUNTkwIDc1MWw0Ny00N3E3LTYtLjUtMjAuNVQ2MTIgNjU3dC0zNC0xMmgtNjRsLTM3IDMycS00NC0xMi0xMDkuNS03Ny41VDI5MCA0ODl6bTY0LTMyMGwxMCA2NXExMDAgMiAxODUgNTIuNXQxMzUgMTM1VDc2OSA1NzBsNjUgMTFxMC05MS0zNS41LTE3NFQ3MDMgMjY0dC0xNDMtOTUuNVQzODYgMTMzeiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
1855
+ </div>
1856
+ </a>
1857
+ <?php } ?>
1858
+ </div>
1859
  <?php }
1860
  //}
1861
  }
2685
  $non_sanitized_sidebar = ob_get_contents();
2686
  ob_end_clean();
2687
  if ( $non_sanitized_sidebar ) {
2688
+ $sanitized_sidebar = new AMPFORWP_Content( $non_sanitized_sidebar,
2689
  apply_filters( 'amp_content_embed_handlers', array(
2690
  'AMP_Twitter_Embed_Handler' => array(),
2691
  'AMP_YouTube_Embed_Handler' => array(),
2951
  function ampforwp_add_ads_scripts( $data ) {
2952
  global $redux_builder_amp;
2953
 
2954
+ if ( (isset($redux_builder_amp['enable-amp-ads-1'] ) && $redux_builder_amp['enable-amp-ads-1']) || (isset( $redux_builder_amp['enable-amp-ads-2'] ) && $redux_builder_amp['enable-amp-ads-2']) || (isset($redux_builder_amp['enable-amp-ads-3']) && $redux_builder_amp['enable-amp-ads-3']) || (isset($redux_builder_amp['enable-amp-ads-4']) && $redux_builder_amp['enable-amp-ads-4']) ) {
 
 
 
2955
  if ( empty( $data['amp_component_scripts']['amp-ad'] ) ) {
2956
  $data['amp_component_scripts']['amp-ad'] = 'https://cdn.ampproject.org/v0/amp-ad-0.1.js';
2957
  }
3093
  add_action('amp_post_template_head','ampforwp_meta_description');
3094
  function ampforwp_meta_description() {
3095
  global $redux_builder_amp;
3096
+ if ( ! $redux_builder_amp['ampforwp-seo-meta-description'] ) {
3097
  return;
3098
  }
3099
+ $desc = "";
3100
  $desc = ampforwp_generate_meta_desc();
3101
+ if ( $desc ) {
3102
  echo '<meta name="description" content="'. esc_attr( convert_chars( stripslashes( $desc ) ) ) .'"/>';
3103
  }
3104
  }
3105
+ // All in One Seo Compatibility #1557
3106
+ add_filter('aioseop_amp_description', '__return_false');
3107
 
3108
  // 55. Call Now Button Feature added
3109
  add_action('ampforwp_call_button','ampforwp_call_button_html_output');
3965
  $desc = '';
3966
  $post_id = '';
3967
  $genesis_description = '';
3968
+ if ( $redux_builder_amp['ampforwp-seo-yoast-description'] && class_exists('WPSEO_Frontend') ) {
3969
  // general Description of everywhere
3970
  $front = WPSEO_Frontend::get_instance();
3971
  $desc = addslashes( strip_tags( $front->metadesc( false ) ) );
3974
  // Code for Custom Frontpage Yoast SEO Description
3975
  //WPML Static Front Page Support for title and description with Yoast #1143
3976
  include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
3977
+ if ( is_plugin_active( 'sitepress-multilingual-cms/sitepress.php' ) && is_plugin_active('wordpress-seo/wp-seo.php') ) {
3978
 
3979
  $post_id = get_option( 'page_on_front' );
3980
  }
3988
  }
3989
  }
3990
  // for search
3991
+ if ( is_search() ) {
3992
  $desc = addslashes( ampforwp_translation($redux_builder_amp['amp-translator-search-text'], 'You searched for:') . ' ' . get_search_query() );
3993
  }
3994
  }
3995
 
3996
  else {
3997
+ if ( is_home() ) {
3998
  // normal home page
3999
+ $desc = addslashes( strip_tags( get_bloginfo( 'description' ) ) );
4000
  }
4001
 
4002
+ if ( is_archive() ) {
4003
+ $desc = addslashes( strip_tags( get_the_archive_description() ) );
4004
  }
4005
 
4006
+ if ( is_single() || is_page() ) {
4007
+ if ( has_excerpt() ) {
4008
  $desc = get_the_excerpt();
4009
  } else {
4010
  global $post;
4011
  $id = $post->ID;
4012
  $desc = $post->post_content;
4013
  }
4014
+ $desc = preg_replace('/\[(.*?)\]/',' ', $desc);
4015
  $desc = addslashes( wp_trim_words( strip_tags( $desc ) , '15' ) );
4016
  }
4017
 
4018
+ if ( is_search() ) {
4019
  $desc = addslashes( ampforwp_translation($redux_builder_amp['amp-translator-search-text'], 'You searched for:') . ' ' . get_search_query() );
4020
  }
4021
 
4022
+ if ( is_home() && $redux_builder_amp['amp-frontpage-select-option'] && ampforwp_get_blog_details() == false ) {
4023
+ $post_id = $redux_builder_amp['amp-frontpage-select-option-pages'];
4024
  $desc = addslashes( wp_trim_words( strip_tags( get_post_field('post_content', $post_id) ) , '15' ) );
4025
  }
4026
  }
4027
 
4028
  //Genesis #1013
4029
+ if ( function_exists('genesis_meta') ) {
4030
+ if ( is_home() && is_front_page() && ! $redux_builder_amp['amp-frontpage-select-option'] ) {
4031
  $genesis_description = genesis_get_seo_option( 'home_description' ) ? genesis_get_seo_option( 'home_description' ) : get_bloginfo( 'description' );
4032
  }
4033
  elseif ( is_home() && get_option( 'page_for_posts' ) && get_queried_object_id() ) {
4035
  if ( null !== $post_id || is_singular() ) {
4036
  if ( genesis_get_custom_field( '_genesis_description', $post_id ) ) {
4037
  $genesis_description = genesis_get_custom_field( '_genesis_description', $post_id );
4038
+ if ( $genesis_description ) {
4039
  $desc = $genesis_description;
4040
  }
4041
  }
4042
  }
4043
  }
4044
+ elseif ( is_home() && $redux_builder_amp['amp-frontpage-select-option'] && get_option( 'page_on_front' ) ) {
4045
  $post_id = get_option('page_on_front');
4046
  if ( null !== $post_id || is_singular() ) {
4047
  if ( genesis_get_custom_field( '_genesis_description', $post_id ) ) {
4049
  }
4050
  }
4051
  }
4052
+ else {
4053
  $genesis_description = genesis_get_seo_meta_description();
4054
  }
4055
+ if ( $genesis_description ) {
4056
  $desc = $genesis_description;
4057
  }
4058
  }
4059
+ // All in One SEO
4060
+ if ( class_exists('All_in_One_SEO_Pack') ) {
4061
+ $aisop_class = new All_in_One_SEO_Pack();
4062
+ $desc = $aisop_class->get_main_description();
4063
+ }
4064
  // strip_shortcodes strategy not working here so had to do this way
4065
  // strips shortcodes
4066
+ $desc = preg_replace('/\[(.*?)\]/','', $desc);
4067
+ return $desc;
4068
  }
4069
 
4070
  //Compatibility with WP User Avatar #975
4423
  return $show_image;
4424
  }
4425
  // 82. Grab Featured Image from The Content
4426
+ function ampforwp_get_featured_image_from_content($featured_image = "", $size="") {
4427
  global $post, $posts;
4428
  $image_url = '';
4429
  $image_width = '';
4451
  add_filter('ampforwp_modify_the_content','featured_image_content_filter');
4452
 
4453
  }
4454
+ if ( isset( $size ) ) {
4455
+ $image_id = attachment_url_to_postid( $image_url );
4456
+ $image_array = wp_get_attachment_image_src($image_id, $size, true);
4457
+ $image_url = $image_array[0];
4458
+ $image_width = $image_array[1];
4459
+ $image_height = $image_array[2];
4460
+ }
4461
  switch ($featured_image) {
4462
  case 'image':
4463
  $featured_image_output = $amp_html;
4841
  }
4842
  // Get Post Thumbnail URL
4843
  if( !function_exists('ampforwp_get_post_thumbnail')){
4844
+ function ampforwp_get_post_thumbnail($param="", $size=""){
4845
  global $post, $redux_builder_amp;
4846
  $thumb_url = '';
4847
  $thumb_width = '';
4860
  $thumb_height = ampforwp_cf_featured_image_src('height');
4861
  }
4862
  if( true == $redux_builder_amp['ampforwp-featured-image-from-content'] && ampforwp_get_featured_image_from_content('url') ){
4863
+ $thumb_url = ampforwp_get_featured_image_from_content('url', $size);
4864
+ $thumb_width = ampforwp_get_featured_image_from_content('width', $size);
4865
+ $thumb_height = ampforwp_get_featured_image_from_content('height', $size);
4866
  }
4867
  switch ($param) {
4868
  case 'url':
4956
  if( ! function_exists('ampforwp_get_comments_gravatar') ){
4957
  function ampforwp_get_comments_gravatar( $comment ) {
4958
  $gravatar_exists = '';
4959
+ $gravatar_exists = ampforwp_gravatar_checker($comment->comment_author_email);
4960
  if($gravatar_exists == true){
4961
  return get_avatar_url( $comment, apply_filters( 'ampforwp_get_comments_gravatar', '60' ), '' );
4962
  }
4965
  }
4966
  }
4967
  // Gravatar Checker
4968
+ if ( ! function_exists('ampforwp_gravatar_checker') ) {
4969
+ function ampforwp_gravatar_checker( $email ) {
4970
  // Craft a potential url and test its headers
4971
  $hash = md5(strtolower(trim($email)));
4972
  $uri = 'http://www.gravatar.com/avatar/' . $hash . '?d=404';
5122
  global $redux_builder_amp;
5123
  if(isset($redux_builder_amp['ampforwp-web-push-onesignal']) && $redux_builder_amp['ampforwp-web-push-onesignal'] ){ ?>
5124
  <!-- A subscription widget -->
5125
+ <div class="amp-web-push-container">
5126
  <amp-web-push-widget visibility="unsubscribed" layout="fixed" width="245" height="45">
5127
  <button class="subscribe" on="tap:amp-web-push.subscribe">
5128
  <amp-img
5141
  <?php echo ampforwp_translation( $redux_builder_amp['ampforwp-onesignal-translator-unsubscribe'], 'Unsubscribe from updates' ); ?>
5142
  </button>
5143
  </amp-web-push-widget>
5144
+ </div>
5145
  <?php }
5146
  }
5147
  }
5169
  amp-web-push-widget button.subscribe:active {transform: scale(0.99);}
5170
  amp-web-push-widget button.unsubscribe {display: inline-flex; align-items: center; justify-content: center; height: 45px; border: 0; margin: 0; cursor: pointer; outline: none; font-size: 15px; font-weight: 400; background: #4a90e2; color: #fff; -webkit-tap-highlight-color: rgba(0,0,0,0); box-sizing: border-box; padding: 10px 15px;}
5171
  amp-web-push-widget.amp-invisible{ display:none;}
5172
+ .amp-web-push-container{width: 245px; margin:0 auto}
5173
  <?php }
5174
  }
5175
  }
5177
  add_filter( 'nav_menu_link_attributes', 'ampforwp_nav_menu_link_attributes', 10, 3 );
5178
  if( ! function_exists( 'ampforwp_nav_menu_link_attributes' ) ) {
5179
  function ampforwp_nav_menu_link_attributes( $atts, $item, $args ) {
5180
+ if ( function_exists('ampforwp_is_amp_endpoint') && ampforwp_is_amp_endpoint() ) {
5181
  // Manipulate link attributes
5182
+ $atts['itemprop'] = "url";
5183
+ }
5184
  return $atts;
5185
  }
5186
  }
5451
  echo wp_kses($pages, ampforwp_allowed_tags());
5452
  }
5453
  }
5454
+ }
5455
+ // Meta Robots Tag From Yoast #1563
5456
+ add_action('amp_post_template_head','ampforwp_yoast_robots_meta');
5457
+ function ampforwp_yoast_robots_meta(){
5458
+ if ( class_exists('WPSEO_Frontend') ) {
5459
+ $class_instance = '';
5460
+ $class_instance = WPSEO_Frontend::get_instance();
5461
+ // robots() will return and print the meta robots tag
5462
+ $class_instance->robots();
5463
+ }
5464
+ }
5465
+
5466
+ // Disable wptextturize #1458
5467
+ add_action('init','ampforwp_wptexturize_disabler');
5468
+ if ( ! function_exists('ampforwp_wptexturize_disabler') ) {
5469
+ function ampforwp_wptexturize_disabler(){
5470
+ global $redux_builder_amp;
5471
+ if ( true == $redux_builder_amp['ampforwp-wptexturize'] ) {
5472
+ remove_filter('the_content', 'wptexturize');
5473
+ remove_filter('the_title', 'wptexturize');
5474
+ }
5475
+ }
5476
  }