AMP for WP – Accelerated Mobile Pages - Version 0.9.97.17

Version Description

(28th September 2018)

Download this release

Release Info

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

Code changes from version 0.9.97.16 to 0.9.97.17

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.8
7
- Stable tag: 0.9.97.16
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -183,6 +183,23 @@ You can contact us from [here](https://ampforwp.com/contact/)
183
 
184
  == Changelog ==
185
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
186
  = 0.9.97.16 (19th September 2018) =
187
  * Added: 3 Types of Gallery designs #1968
188
  * Added: New Section to show 'change log' on Welcome Page #1753
4
  Donate link: https://www.paypal.me/Kaludi/25
5
  Requires at least: 3.0
6
  Tested up to: 4.9.8
7
+ Stable tag: 0.9.97.17
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
183
 
184
  == Changelog ==
185
 
186
+ = 0.9.97.17 (28th September 2018) =
187
+ * Added: Featured Slider "Tag" support #954
188
+ * Added: Marfeel plugin is blocking Internal pages of AMP and rendering 503 error #2423
189
+ * Fixed: Dropdown Menu arrows not working properly in Swift #2148
190
+ * Fixed: Wrong implementation of load_plugin_textdomain function #2408
191
+ * Fixed: Page Float to right and showing menu content when page scroll horizontally in iPhone device #2434
192
+ * Fixed: Internal Link Option is not Working in beta #2443
193
+ * Fixed: Missing conditional tag for get_the_tags() causing "Invalid argument supplied for foreach()" error #2456
194
+ * Fixed: Need to make a space in meta information and published date is not getting translated #2411
195
+ * Fixed: Meta og:title and description tag are Not completely Reflecting #2454
196
+ * Fixed: Images are not aligned center when published with Gutenberg Editor #2462
197
+ * Fixed: Anchor Tag is not working because there is a space in between link #2465
198
+ * Fixed: Fix social shares icons #2467
199
+ * Fixed: Debug errors in beta #2472
200
+ * Fixed: homepage is getting blank when "Convert To WP" is enable only for posts #2493
201
+ * Fixed: wrong amphtml URL generating for WPML #2573
202
+
203
  = 0.9.97.16 (19th September 2018) =
204
  * Added: 3 Types of Gallery designs #1968
205
  * Added: New Section to show 'change log' on Welcome Page #1753
accelerated-moblie-pages.php CHANGED
@@ -3,12 +3,13 @@
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.97.16
7
  Author: Ahmed Kaludi, Mohammed Kaludi
8
  Author URI: https://ampforwp.com/
9
  Donate link: https://www.paypal.me/Kaludi/25
10
  License: GPL2+
11
  Text Domain: accelerated-mobile-pages
 
12
  */
13
 
14
  // Exit if accessed directly.
@@ -19,7 +20,7 @@ define('AMPFORWP_PLUGIN_DIR_URI', plugin_dir_url(__FILE__));
19
  define('AMPFORWP_DISQUS_URL',plugin_dir_url(__FILE__).'includes/disqus.html');
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.97.16');
23
  // any changes to AMP_QUERY_VAR should be refelected here
24
  function ampforwp_generate_endpoint(){
25
  $ampforwp_slug = '';
@@ -32,8 +33,6 @@ function ampforwp_generate_endpoint(){
32
 
33
  define('AMPFORWP_AMP_QUERY_VAR', apply_filters( 'amp_query_var', ampforwp_generate_endpoint() ) );
34
 
35
- load_plugin_textdomain( 'accelerated-mobile-pages', false, trailingslashit(AMPFORWP_PLUGIN_DIR) . 'languages' );
36
-
37
  // Rewrite the Endpoints after the plugin is activate, as priority is set to 11
38
  function ampforwp_add_custom_post_support() {
39
  global $redux_builder_amp;
@@ -623,7 +622,7 @@ if ( ! function_exists('ampforwp_init') ) {
623
 
624
  do_action( 'amp_init' );
625
 
626
- load_plugin_textdomain( 'amp', false, plugin_basename( AMP__DIR__ ) . '/languages' );
627
 
628
  add_rewrite_endpoint( AMP_QUERY_VAR, EP_PERMALINK );
629
  add_post_type_support( 'post', AMP_QUERY_VAR );
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.97.17
7
  Author: Ahmed Kaludi, Mohammed Kaludi
8
  Author URI: https://ampforwp.com/
9
  Donate link: https://www.paypal.me/Kaludi/25
10
  License: GPL2+
11
  Text Domain: accelerated-mobile-pages
12
+ Domain Path: /languages/
13
  */
14
 
15
  // Exit if accessed directly.
20
  define('AMPFORWP_DISQUS_URL',plugin_dir_url(__FILE__).'includes/disqus.html');
21
  define('AMPFORWP_IMAGE_DIR',plugin_dir_url(__FILE__).'images');
22
  define('AMPFORWP_MAIN_PLUGIN_DIR', plugin_dir_path( __DIR__ ) );
23
+ define('AMPFORWP_VERSION','0.9.97.17');
24
  // any changes to AMP_QUERY_VAR should be refelected here
25
  function ampforwp_generate_endpoint(){
26
  $ampforwp_slug = '';
33
 
34
  define('AMPFORWP_AMP_QUERY_VAR', apply_filters( 'amp_query_var', ampforwp_generate_endpoint() ) );
35
 
 
 
36
  // Rewrite the Endpoints after the plugin is activate, as priority is set to 11
37
  function ampforwp_add_custom_post_support() {
38
  global $redux_builder_amp;
622
 
623
  do_action( 'amp_init' );
624
 
625
+ load_plugin_textdomain( 'accelerated-mobile-pages', false, trailingslashit(AMPFORWP_PLUGIN_DIR) . 'languages' );
626
 
627
  add_rewrite_endpoint( AMP_QUERY_VAR, EP_PERMALINK );
628
  add_post_type_support( 'post', AMP_QUERY_VAR );
classes/class-ampforwp-walker-nav-menu.php ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*Sidebar Nav menu Walker Start*/
3
+ class Ampforwp_Walker_Nav_Menu extends Walker_Nav_Menu {
4
+
5
+ function start_lvl(&$output, $depth=0, $args = array(), $has_children = 0) {
6
+ static $column = 1;
7
+ $indent = str_repeat("\t", $depth);
8
+ //$output .= "\n$indent<ul class=\"sub-menu\">\n";
9
+
10
+ // Change sub-menu to dropdown menu
11
+ if ($depth > 0 && $has_children > 0 )
12
+ {
13
+ $column += 1;
14
+ $output .= "\n$indent<input type=\"checkbox\" id=\"drop-$column\"><label for=\"drop-$column\" class=\"toggle\"></label><ul class=\"sub-menu\">\n";
15
+ }else{
16
+ $column += 1;
17
+ $output .= "\n$indent<input type=\"checkbox\" id=\"drop-$column\"><label for=\"drop-$column\" class=\"toggle\"></label><ul class=\"sub-menu\">\n";
18
+
19
+ }
20
+ }
21
+
22
+ function start_el ( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {
23
+ // Most of this code is copied from original Walker_Nav_Menu
24
+ global $wp_query, $wpdb;
25
+ $indent = ( $depth ) ? str_repeat( "\t", $depth ) : '';
26
+
27
+ $class_names = $value = '';
28
+
29
+ $classes = empty( $item->classes ) ? array() : (array) $item->classes;
30
+ $classes[] = 'menu-item-' . $item->ID;
31
+
32
+ $class_names = join( ' ', apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item, $args ) );
33
+ $class_names = ' class="' . esc_attr( $class_names ) . '"';
34
+
35
+ $id = apply_filters( 'nav_menu_item_id', 'menu-item-'. $item->ID, $item, $args );
36
+ $id = strlen( $id ) ? ' id="' . esc_attr( $id ) . '"' : '';
37
+
38
+ $has_children = $wpdb->get_var("SELECT COUNT(meta_id)
39
+ FROM {$wpdb->prefix}postmeta
40
+ WHERE meta_key='_menu_item_menu_item_parent'
41
+ AND meta_value='".$item->ID."'");
42
+
43
+ $output .= $indent . '<li' . $id . $value . $class_names .'>';
44
+
45
+ $attributes = ! empty( $item->attr_title ) ? ' title="' . esc_attr( $item->attr_title ) .'"' : '';
46
+ $attributes .= ! empty( $item->target ) ? ' target="' . esc_attr( $item->target ) .'"' : '';
47
+ $attributes .= ! empty( $item->xfn ) ? ' rel="' . esc_attr( $item->xfn ) .'"' : '';
48
+ $attributes .= ! empty( $item->url ) ? ' href="' . esc_attr( $item->url ) .'"' : '';
49
+
50
+ // Check if menu item is in main menu
51
+ if ( $depth == 0 && $has_children > 0 ) {
52
+ // These lines adds your custom class and attribute
53
+ $attributes .= ' class="dropdown-toggle"';
54
+ $attributes .= ' data-toggle="dropdown"';
55
+ }
56
+
57
+ $item_output = $args->before;
58
+
59
+ $item_output .= '<a'. $attributes .'>';
60
+ $item_output .= $args->link_before . apply_filters( 'the_title', $item->title, $item->ID ) . $args->link_after;
61
+ $item_output .= '</a>';
62
+
63
+ // Add the caret if menu level is 0
64
+ if ( $has_children > 0 ) {
65
+ //$item_output .= '<label for="drop-"'.$depth.' class="toggle">+</label>';
66
+ }
67
+ $item_output .= $args->after;
68
+
69
+ $output .= apply_filters( 'walker_nav_menu_start_el', $item_output, $item, $depth, $args );
70
+ }
71
+
72
+ }
73
+ /*Sidebar Nav menu Walker end*/
components/menu/menu.php CHANGED
@@ -1,4 +1,6 @@
1
  <?php
 
 
2
  function amp_menu_html($echo){
3
  if( has_nav_menu( 'amp-menu' ) ) {
4
  $menu_html_content = wp_nav_menu( array(
@@ -7,6 +9,7 @@ function amp_menu_html($echo){
7
  'menu'=>'ul',
8
  'menu_class'=>'amp-menu',
9
  'echo' => false,
 
10
  ) );
11
  $menu_html_content = apply_filters('ampforwp_menu_content', $menu_html_content);
12
  $sanitizer_obj = new AMPFORWP_Content( $menu_html_content, array(), apply_filters( 'ampforwp_content_sanitizers', array( 'AMP_Img_Sanitizer' => array(), 'AMP_Style_Sanitizer' => array(), ) ) );
@@ -18,5 +21,5 @@ function amp_menu_html($echo){
18
  //Load styling for Menu
19
  add_action('amp_post_template_css','amp_menu_styles',11);
20
  function amp_menu_styles(){ ?>
21
- aside{width:150px}.amp-menu{list-style-type:none;margin:0;padding:0}.amp-menu li{position:relative;display:block}.amp-menu li.menu-item-has-children ul{display:none}.amp-menu li.menu-item-has-children:hover>ul{display:block}.amp-menu li.menu-item-has-children>ul>li{padding-left:10px}.amp-menu li.menu-item-has-children:after{content:" > ";position:absolute;padding:10px;right:0;top:0;z-index:10000;line-height:1;}.amp-menu>li a{padding:7px;display:block;margin-bottom:1px}.amp-menu>li ul{list-style-type:none;margin:0;padding:0;position:relative}
22
  <?php }
1
  <?php
2
+ require_once AMPFORWP_PLUGIN_DIR .'/classes/class-ampforwp-walker-nav-menu.php';
3
+
4
  function amp_menu_html($echo){
5
  if( has_nav_menu( 'amp-menu' ) ) {
6
  $menu_html_content = wp_nav_menu( array(
9
  'menu'=>'ul',
10
  'menu_class'=>'amp-menu',
11
  'echo' => false,
12
+ 'walker' => new Ampforwp_Walker_Nav_Menu()
13
  ) );
14
  $menu_html_content = apply_filters('ampforwp_menu_content', $menu_html_content);
15
  $sanitizer_obj = new AMPFORWP_Content( $menu_html_content, array(), apply_filters( 'ampforwp_content_sanitizers', array( 'AMP_Img_Sanitizer' => array(), 'AMP_Style_Sanitizer' => array(), ) ) );
21
  //Load styling for Menu
22
  add_action('amp_post_template_css','amp_menu_styles',11);
23
  function amp_menu_styles(){ ?>
24
+ aside{width:150px}.amp-menu{list-style-type:none;margin:0;padding:0}.amp-menu li{position:relative;display:block}.amp-menu li.menu-item-has-children ul{display:none}.amp-menu li.menu-item-has-children:hover>ul{display:}.amp-menu li.menu-item-has-children>ul>li{padding-left:10px}.amp-menu li.menu-item-has-children:after{content:" > ";position:absolute;padding:10px;right:0;top:0;z-index:10000;line-height:1;}.amp-menu>li a{padding:7px;display:block;margin-bottom:1px}.amp-menu>li ul{list-style-type:none;margin:0;padding:0;position:relative}
25
  <?php }
includes/options/admin-config.php CHANGED
@@ -404,10 +404,12 @@ foreach ($extension_listing_array as $key => $extension) {
404
  }
405
 
406
  $pluginReview = '<input id="redux_builder_amp_amp-license_'.$pathExploded.'_license" type="text" value="'. str_replace(substr($amplicense, 0, strlen($amplicense)-4), '**', $amplicense).'" onclick="return false;">
407
- <input name="redux_builder_amp[amp-license]['.$pathExploded.'][license]" type="hidden" value="'. $amplicense.'">
408
- <input name="redux_builder_amp[amp-license]['.$pathExploded.'][item_name]" type="hidden" value="'.$extension['item_name'].'">
409
- <input name="redux_builder_amp[amp-license]['.$pathExploded.'][store_url]" type="hidden" value="'.$extension['store_url'].'">
410
- <input name="redux_builder_amp[amp-license]['.$pathExploded.'][plugin_active_path]" type="hidden" value="'.$extension['plugin_active_path'].'">
 
 
411
  <input name="redux_builder_amp[amp-license]['.$pathExploded.'][name]" type="hidden" value="'.$extension['name'].'">
412
  <input name="redux_builder_amp[amp-license]['.$pathExploded.'][status]" type="hidden" value="'.$selectedOption['amp-license'][$pathExploded]['status'].'">';
413
  $pluginReview .= '<input name="redux_builder_amp[amp-license]['.$pathExploded.'][all_data][success]" type="hidden" value="'.$allResponseData['success'].'">
@@ -5201,11 +5203,12 @@ Redux::setSection( $opt_name, array(
5201
  );
5202
 
5203
 
5204
- //code for fetching ctegories to show as a list in redux settings
5205
  if(get_categories()){
5206
  $categories = get_categories( array(
5207
  'orderby' => 'name',
5208
- 'order' => 'ASC'
 
5209
  ) );
5210
  $categories_array = '';
5211
  $categories_array = array();
@@ -5213,12 +5216,31 @@ Redux::setSection( $opt_name, array(
5213
  foreach ($categories as $cat ) {
5214
  $cat_id = $cat->cat_ID;
5215
  $key = "".$cat_id;
5216
- //building assosiative array of ID-cat_name
5217
  $categories_array[ $key ] = $cat->name;
5218
  }
5219
  endif;
5220
  }
5221
- //End of code for fetching ctegories to show as a list in redux settings
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5222
  $ampforwp_home_loop = array();
5223
  $ampforwp_home_loop = get_option('ampforwp_custom_post_types');
5224
  $ampforwp_home_loop['post'] = 'Posts';
@@ -5246,6 +5268,20 @@ Redux::setSection( $opt_name, array(
5246
  array('amp-design-selector', '=' , '3')
5247
  ),
5248
  'default' => '1'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5249
  ),
5250
  array(
5251
  'id' => 'amp-design-3-category-selector',
@@ -5255,8 +5291,21 @@ Redux::setSection( $opt_name, array(
5255
  'options' => $categories_array,
5256
  'required' => array(
5257
  array('amp-design-selector', '=' , '3'),
5258
- array('amp-design-3-featured-slider', '=' , '1')
 
5259
  ),
 
 
 
 
 
 
 
 
 
 
 
 
5260
  ),
5261
  array(
5262
  'id' =>'ampforwp-featur-slider-num-posts',
@@ -6531,6 +6580,13 @@ $single_page_options = array(
6531
  'default' => 'default',
6532
  'required' => array(array('amp-design-selector', '=', '4') )
6533
  ),
 
 
 
 
 
 
 
6534
  // Facebook Like
6535
  array(
6536
  'id' => 'ampforwp-facebook-like-button',
404
  }
405
 
406
  $pluginReview = '<input id="redux_builder_amp_amp-license_'.$pathExploded.'_license" type="text" value="'. str_replace(substr($amplicense, 0, strlen($amplicense)-4), '**', $amplicense).'" onclick="return false;">
407
+ <input name="redux_builder_amp[amp-license]['.$pathExploded.'][license]" type="hidden" value="'. $amplicense.'">
408
+ <input name="redux_builder_amp[amp-license]['.$pathExploded.'][item_name]" type="hidden" value="'.$extension['item_name'].'">';
409
+ if (isset($extension['store_url'])){
410
+ $pluginReview .= '<input name="redux_builder_amp[amp-license]['.$pathExploded.'][store_url]" type="hidden" value="'.$extension['store_url'].'">';
411
+ }
412
+ $pluginReview .= '<input name="redux_builder_amp[amp-license]['.$pathExploded.'][plugin_active_path]" type="hidden" value="'.$extension['plugin_active_path'].'">
413
  <input name="redux_builder_amp[amp-license]['.$pathExploded.'][name]" type="hidden" value="'.$extension['name'].'">
414
  <input name="redux_builder_amp[amp-license]['.$pathExploded.'][status]" type="hidden" value="'.$selectedOption['amp-license'][$pathExploded]['status'].'">';
415
  $pluginReview .= '<input name="redux_builder_amp[amp-license]['.$pathExploded.'][all_data][success]" type="hidden" value="'.$allResponseData['success'].'">
5203
  );
5204
 
5205
 
5206
+ //code for fetching categories to show as a list in redux settings
5207
  if(get_categories()){
5208
  $categories = get_categories( array(
5209
  'orderby' => 'name',
5210
+ 'order' => 'ASC',
5211
+ 'number' => 500
5212
  ) );
5213
  $categories_array = '';
5214
  $categories_array = array();
5216
  foreach ($categories as $cat ) {
5217
  $cat_id = $cat->cat_ID;
5218
  $key = "".$cat_id;
5219
+ //building associative array of ID-cat_name
5220
  $categories_array[ $key ] = $cat->name;
5221
  }
5222
  endif;
5223
  }
5224
+ //End of code for fetching categories to show as a list in redux settings
5225
+
5226
+ // code for fetching tags to show as a list in the redux settings
5227
+ if(get_tags()){
5228
+ $tags = get_tags( array(
5229
+ 'orderby' => 'name',
5230
+ 'order' => 'ASC',
5231
+ 'number' => 500
5232
+ ) );
5233
+ $tags_array = array();
5234
+ if( $tags ) :
5235
+ foreach( $tags as $tag ){
5236
+ $tag_id = $tag->term_id;
5237
+ $key = "".$tag_id;
5238
+ // building associative array of ID-tag_name
5239
+ $tags_array[ $key ] = $tag->name;
5240
+ }
5241
+ endif;
5242
+ }
5243
+ // End of code for fetching tags to show as a list in redux settings
5244
  $ampforwp_home_loop = array();
5245
  $ampforwp_home_loop = get_option('ampforwp_custom_post_types');
5246
  $ampforwp_home_loop['post'] = 'Posts';
5268
  array('amp-design-selector', '=' , '3')
5269
  ),
5270
  'default' => '1'
5271
+ ),
5272
+ array(
5273
+ 'id' => 'amp-design-3-featured-content',
5274
+ 'type' => 'select',
5275
+ 'title' => __( 'Featured Slider Content', 'accelerated-mobile-pages' ),
5276
+ 'required' => array(
5277
+ array('amp-design-3-featured-slider', '=' , '1')
5278
+ ),
5279
+ 'options' => array(
5280
+ '0' => 'Recent Posts',
5281
+ '1' => 'Categories',
5282
+ '2' => 'Tags'
5283
+ ),
5284
+ 'default' => '1'
5285
  ),
5286
  array(
5287
  'id' => 'amp-design-3-category-selector',
5291
  'options' => $categories_array,
5292
  'required' => array(
5293
  array('amp-design-selector', '=' , '3'),
5294
+ array('amp-design-3-featured-slider', '=' , '1'),
5295
+ array('amp-design-3-featured-content', '=', '1'),
5296
  ),
5297
+ ),
5298
+ array(
5299
+ 'id' => 'amp-design-3-tag-selector',
5300
+ 'type' => 'select',
5301
+ 'class' => 'child_opt',
5302
+ 'title' => __( 'Featured Slider from Tags', 'accelerated-mobile-pages' ),
5303
+ 'options' => $tags_array,
5304
+ 'required' => array(
5305
+ array('amp-design-selector', '=' , '3'),
5306
+ array('amp-design-3-featured-slider', '=' , '1'),
5307
+ array('amp-design-3-featured-content', '=' , '2'),
5308
+ ),
5309
  ),
5310
  array(
5311
  'id' =>'ampforwp-featur-slider-num-posts',
6580
  'default' => 'default',
6581
  'required' => array(array('amp-design-selector', '=', '4') )
6582
  ),
6583
+ // Social Share links to AMP
6584
+ array(
6585
+ 'id' => 'ampforwp-social-share-amp',
6586
+ 'type' => 'switch',
6587
+ 'title' => __('Social Share links to AMP', 'accelerated-mobile-pages'),
6588
+ 'default' => 0,
6589
+ ),
6590
  // Facebook Like
6591
  array(
6592
  'id' => 'ampforwp-facebook-like-button',
includes/vendor/amp/amp.php CHANGED
@@ -7,7 +7,6 @@
7
  * Author URI: https://automattic.com
8
  * Version: 0.4.2
9
  * Text Domain: amp
10
- * Domain Path: /languages/
11
  * License: GPLv2 or later
12
  */
13
  // Make sure the `amp` query var has an explicit value.
7
  * Author URI: https://automattic.com
8
  * Version: 0.4.2
9
  * Text Domain: amp
 
10
  * License: GPLv2 or later
11
  */
12
  // Make sure the `amp` query var has an explicit value.
includes/vendor/amp/includes/sanitizers/class-amp-blacklist-sanitizer.php CHANGED
@@ -163,6 +163,11 @@ class AMP_Blacklist_Sanitizer extends AMP_Base_Sanitizer {
163
  $special_protocols = array( 'tel', 'sms' ); // these ones don't valid with `filter_var+FILTER_VALIDATE_URL`
164
  $protocol = strtok( $href, ':' );
165
 
 
 
 
 
 
166
  if ( false === filter_var( $href, FILTER_VALIDATE_URL )
167
  && ! in_array( $protocol, $special_protocols, true ) ) {
168
  return false;
163
  $special_protocols = array( 'tel', 'sms' ); // these ones don't valid with `filter_var+FILTER_VALIDATE_URL`
164
  $protocol = strtok( $href, ':' );
165
 
166
+ /* Convert space into %20 and esc url so it can work with the correct
167
+ urls that have spaces */
168
+ if ( strpos($href, ' ') ){
169
+ $href = esc_url($href);
170
+ }
171
  if ( false === filter_var( $href, FILTER_VALIDATE_URL )
172
  && ! in_array( $protocol, $special_protocols, true ) ) {
173
  return false;
includes/vendor/tinymce-widget/includes/class-admin.php CHANGED
@@ -80,9 +80,9 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Admin' ) ) {
80
  * @return void
81
  * @since 2.0.0
82
  */
83
- public function load_textdomain() {
84
  load_plugin_textdomain( 'black-studio-tinymce-widget', false, dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/' );
85
- }
86
 
87
  /**
88
  * Checks if the plugin admin code should be loaded
80
  * @return void
81
  * @since 2.0.0
82
  */
83
+ /*public function load_textdomain() {
84
  load_plugin_textdomain( 'black-studio-tinymce-widget', false, dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/' );
85
+ }*/
86
 
87
  /**
88
  * Checks if the plugin admin code should be loaded
includes/vendor/tinymce-widget/tinymce-widget.php CHANGED
@@ -10,7 +10,6 @@ Requires at least: 3.1
10
  Tested up to: 4.6
11
  License: GPLv3
12
  Text Domain: black-studio-tinymce-widget
13
- Domain Path: /languages
14
  */
15
 
16
  // Exit if accessed directly
10
  Tested up to: 4.6
11
  License: GPLv3
12
  Text Domain: black-studio-tinymce-widget
 
13
  */
14
 
15
  // Exit if accessed directly
includes/vendor/vendor-changelog.txt CHANGED
@@ -52,4 +52,5 @@ Reason: To extend the functionality of sidebars and Pagebuilder
52
  25. check added in class-amp-content.php on line no.107 #2173
53
  26. added htmlspecialchars($element->textContent); in includes/vendor/amp/includes/sanitizers/class-amp-blacklist-sanitizer.php line no 95 check #2346
54
  27. Class AMP_DOM_Utils updated #2445
55
- 28. Class AMP_Gallery_Embed_Handler updated #1968
 
52
  25. check added in class-amp-content.php on line no.107 #2173
53
  26. added htmlspecialchars($element->textContent); in includes/vendor/amp/includes/sanitizers/class-amp-blacklist-sanitizer.php line no 95 check #2346
54
  27. Class AMP_DOM_Utils updated #2445
55
+ 28. Class AMP_Gallery_Embed_Handler updated #1968
56
+ 29. Converted the space into %20 on anchor links which have spaces on line number 166 and here is the github ticket #2465
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.8
7
- Stable tag: 0.9.97.16
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -183,6 +183,23 @@ You can contact us from [here](https://ampforwp.com/contact/)
183
 
184
  == Changelog ==
185
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
186
  = 0.9.97.16 (19th September 2018) =
187
  * Added: 3 Types of Gallery designs #1968
188
  * Added: New Section to show 'change log' on Welcome Page #1753
4
  Donate link: https://www.paypal.me/Kaludi/25
5
  Requires at least: 3.0
6
  Tested up to: 4.9.8
7
+ Stable tag: 0.9.97.17
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
183
 
184
  == Changelog ==
185
 
186
+ = 0.9.97.17 (28th September 2018) =
187
+ * Added: Featured Slider "Tag" support #954
188
+ * Added: Marfeel plugin is blocking Internal pages of AMP and rendering 503 error #2423
189
+ * Fixed: Dropdown Menu arrows not working properly in Swift #2148
190
+ * Fixed: Wrong implementation of load_plugin_textdomain function #2408
191
+ * Fixed: Page Float to right and showing menu content when page scroll horizontally in iPhone device #2434
192
+ * Fixed: Internal Link Option is not Working in beta #2443
193
+ * Fixed: Missing conditional tag for get_the_tags() causing "Invalid argument supplied for foreach()" error #2456
194
+ * Fixed: Need to make a space in meta information and published date is not getting translated #2411
195
+ * Fixed: Meta og:title and description tag are Not completely Reflecting #2454
196
+ * Fixed: Images are not aligned center when published with Gutenberg Editor #2462
197
+ * Fixed: Anchor Tag is not working because there is a space in between link #2465
198
+ * Fixed: Fix social shares icons #2467
199
+ * Fixed: Debug errors in beta #2472
200
+ * Fixed: homepage is getting blank when "Convert To WP" is enable only for posts #2493
201
+ * Fixed: wrong amphtml URL generating for WPML #2573
202
+
203
  = 0.9.97.16 (19th September 2018) =
204
  * Added: 3 Types of Gallery designs #1968
205
  * Added: New Section to show 'change log' on Welcome Page #1753
templates/design-manager/design-1/elements/social-icons.php CHANGED
@@ -1,8 +1,15 @@
1
  <?php global $redux_builder_amp;
 
 
 
 
 
 
 
2
  if ( is_single() || (is_page() && isset($redux_builder_amp['ampforwp-page-social']) && true == $redux_builder_amp['ampforwp-page-social']) ) {
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
8
  $permalink = wp_get_shortlink();
@@ -11,7 +18,7 @@ if ( is_single() || (is_page() && isset($redux_builder_amp['ampforwp-page-social
11
  <div class="ampforwp-social-icons">
12
  <?php if( true == $redux_builder_amp['ampforwp-facebook-like-button'] ) {
13
  $facebook_like_url = '';
14
- $facebook_like_url = get_the_permalink();
15
  if( $facebook_like_url ){ ?>
16
  <amp-facebook-like width=90 height=28
17
  layout="fixed"
@@ -46,91 +53,91 @@ if ( is_single() || (is_page() && isset($redux_builder_amp['ampforwp-page-social
46
  <amp-social-share type="linkedin" width="50" height="28"></amp-social-share>
47
  <?php } ?>
48
  <?php if($redux_builder_amp['enable-single-whatsapp-share'] == true) { ?>
49
- <a title="whatsapp share" href="whatsapp://send?text=<?php echo get_the_permalink(); ?>">
50
  <div class="amp-social-icon">
51
  <amp-img src="data:image/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gICBDNTguMiw2NS43NzEsNTguMiw2NC4zMzYsNjAuMTg2LDY0LjE1NmMxLjk4NC0wLjE3OSw2LjQwNi0yLjU5OSw3LjMxMi01LjEwN0M2OC4zOTgsNTYuNTM3LDY4LjM5OCw1NC4zODYsNjguMTI5LDUzLjkzOHoiIGZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K" width="50" height="20" />
52
  </div>
53
  </a>
54
  <?php } ?>
55
  <?php if($redux_builder_amp['enable-single-line-share'] == true) { ?>
56
- <a title="line share" 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+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIg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tMC45MzYsNi4wNDUsMC4wOSw3LjgyNywyLjU0NWwyNS4yMDcsMzQuNzE3Vjk5LjY3NSAgIGMwLTMuODY2LDMuMTM0LTcsNy03YzMuODY2LDAsNywzLjEzNCw3LDdWMTUzLjM3MXogTTIzMy4zMTEsMTU5LjI2OWgtMzQuNjQ1Yy0zLjg2NiwwLTctMy4xMzQtNy03di0yNi44NDdWOTguNTczICAgYzAtMy44NjYsMy4xMzQtNyw3LTdoMzMuNTdjMy44NjYsMCw3LDMuMTM0LDcsN3MtMy4xMzQsNy03LDdoLTI2LjU3djEyLjg0OWgyMS41NjJjMy44NjYsMCw3LDMuMTM0LDcsN2MwLDMuODY2LTMuMTM0LDctNyw3ICAgaC0yMS41NjJ2MTIuODQ3aDI3LjY0NWMzLjg2NiwwLDcsMy4xMzQsNyw3UzIzNy4xNzcsMTU5LjI2OSwyMzMuMzExLDE1OS4yNjl6IiBmaWxsPSIjRkZGRkZGIi8+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 title="vkontakte share" 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/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4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ICAgYzguMTI3LDEuMzg1LDEwLjM1NCw0Ljg4MSw3Ljg0NCwxMi44MTdjLTMuOTU1LDEyLjQ1MS0xMS42NSwyMi44MjctMTkuMTc0LDMzLjI1MWMtOC4wNDMsMTEuMTI5LTE2LjY0NSwyMS44NzctMjQuNjIxLDMzLjA3MiAgIEMyNTIuMjYsMTYxLjU0NCwyNTIuODQyLDE2Ni42OTcsMjYxLjk0NSwxNzUuNTc2TDI2MS45NDUsMTc1LjU3NnogTTI2MS45NDUsMTc1LjU3NiIgZmlsbD0iI0ZGRkZGRiIvPgo8L2c+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 title="odnoklassniki share" 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+CjxzdmcgeG1sbnM9Imh0dHA6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+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 title="reddit share" href="https://reddit.com/submit?url=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(htmlspecialchars(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 title="tumblr share" href="https://www.tumblr.com/widgets/share/tool?canonicalUrl=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(htmlspecialchars(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 title="telegram share" href="https://telegram.me/share/url?url=<?php echo esc_url(get_the_permalink()); ?>&text=<?php echo esc_attr(htmlspecialchars(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 title="digg share" href="http://digg.com/submit?url=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(htmlspecialchars(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 title="stumbleupon share" href="http://www.stumbleupon.com/submit?url=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>" target="_blank">
106
  <div class="amp-social-icon amp-social-stumbleupon">
107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Mi0xMDUuOTg0LTQzLjc3NkMxNC42ODggNTE0LjMwMy4wMDIgNDc4Ljg4LjAwMiA0MzcuMjQ3em0zNzAuNjg4IDEuNTM2di05My42OTVsNDUuNTY4IDIxLjUyIDY4LjYyNC0yMC40OTd2OTQuMjI2YzAgOS45MDMgMy40MDggMTguMzM2IDEwLjIyNCAyNS4zNDQgNi44NDcgNy4wMDcgMTUuMiAxMC40OTYgMjUuMDg3IDEwLjQ5NiA5LjkwNiAwIDE4LjI3NC0zLjUwNCAyNS4wOS0xMC40OTYgNi44MTYtNi45OTMgMTAuMjU1LTE1LjQ0IDEwLjI1NS0yNS4zNDR2LTk1Ljc0NGgxMTQuNjg4djkyLjY3MmMwIDQxLjI5NS0xNC41OSA3Ni42NC00My43NzYgMTA1Ljk4My0yOS4xODQgMjkuMzYtNjQuNDMyIDQ0LjAzMi0xMDUuNzI4IDQ0LjAzMnMtNzYuNjI1LTE0LjQ5Ny0xMDUuOTg1LTQzLjUyYy0yOS4zNi0yOS4wNC00NC4wNDgtNjQuMDE3LTQ0LjA0OC0xMDQuOTc4eiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
108
  </div>
109
  </a>
110
  <?php } ?>
111
  <?php if ( true == $redux_builder_amp['enable-single-wechat-share'] ) { ?>
112
- <a title="wechat share" 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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjA0OCAxODk2LjA4MzMiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNNTgwIDQ2MXEwLTQxLTI1LTY2dC02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php if ( true == $redux_builder_amp['enable-single-viber-share'] ) { ?>
119
- <a title="viber share" 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
  <?php if ( true == $redux_builder_amp['enable-single-hatena-bookmarks'] ) { ?>
126
- <a title="hatena share" href="http://b.hatena.ne.jp/entry/<?php echo esc_url(get_the_permalink()); ?>" target="_blank">
127
  <div class="amp-social-icon amp-social-hatena">
128
  <amp-img src="data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' viewBox='0 0 512 512'%3e%3cpath d='M 64 96 L 64 416 L 212 416 C 252 416 292 404 308 368 C 328 332 320 276 284 252 C 272 244 260 240 248 236 C 276 232 300 212 300 184 C 304 156 296 120 268 108 C 236 96 192 96 160 96 L 64 96 z M 364 96 L 364 308 L 444 308 L 444 96 L 364 96 z M 144 156 C 144 156 188 156 200 160 C 224 168 224 208 196 212 C 188 216 144 216 144 216 L 144 156 z M 144 280 C 144 280 188 280 208 284 C 232 288 240 312 228 332 C 220 348 204 348 188 348 L 144 348 L 144 280 z M 404 328 A 44 44 0 0 0 360 372 A 44 44 0 0 0 404 416 A 44 44 0 0 0 448 372 A 44 44 0 0 0 404 328 z' style='fill:%23ffffff'/%3e%3c/svg%3e" width="50" height="20" />
129
  </div>
130
  </a>
131
  <?php } ?>
132
  <?php if ( true == $redux_builder_amp['enable-single-pocket-share'] ) { ?>
133
- <a title="pocket share" href="https://getpocket.com/save?url=<?php echo esc_url(get_the_permalink()); ?>" target="_blank">
134
  <div class="amp-social-icon amp-social-pocket">
135
  <amp-img src="data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='2500' height='2251' viewBox='75.247 261.708 445.529 401.074'%3e%3cpath fill='%23EF4056' d='M114.219 261.708c-24.275 1.582-38.972 15.44-38.972 40.088v147.611c0 119.893 119.242 214.114 222.393 213.37 115.986-.837 223.137-98.779 223.137-213.37V301.796c0-24.741-15.626-38.693-40.088-40.088h-366.47zm93.943 120.079L297.64 466.8l89.571-85.013c40.088-16.835 57.574 28.927 41.111 42.321L311.685 535.443c-3.813 3.628-24.183 3.628-27.996 0L167.051 424.107c-15.72-14.789 4.743-61.295 41.111-42.32z'/%3e%3c/svg%3e" width="50" height="20" />
136
  </div>
1
  <?php global $redux_builder_amp;
2
+ // Social share in AMP
3
+ $amp_permalink = "";
4
+ if ( ampforwp_get_setting('ampforwp-social-share-amp') ) {
5
+ $amp_permalink = ampforwp_url_controller(get_the_permalink());
6
+ } else{
7
+ $amp_permalink = get_the_permalink();
8
+ }
9
  if ( is_single() || (is_page() && isset($redux_builder_amp['ampforwp-page-social']) && true == $redux_builder_amp['ampforwp-page-social']) ) {
10
  $permalink = '';
11
  if(isset($redux_builder_amp['enable-single-twitter-share-link']) && $redux_builder_amp['enable-single-twitter-share-link']){
12
+ $permalink = $amp_permalink;
13
  }
14
  else
15
  $permalink = wp_get_shortlink();
18
  <div class="ampforwp-social-icons">
19
  <?php if( true == $redux_builder_amp['ampforwp-facebook-like-button'] ) {
20
  $facebook_like_url = '';
21
+ $facebook_like_url = $amp_permalink;
22
  if( $facebook_like_url ){ ?>
23
  <amp-facebook-like width=90 height=28
24
  layout="fixed"
53
  <amp-social-share type="linkedin" width="50" height="28"></amp-social-share>
54
  <?php } ?>
55
  <?php if($redux_builder_amp['enable-single-whatsapp-share'] == true) { ?>
56
+ <a title="whatsapp share" href="whatsapp://send?text=<?php echo esc_url($amp_permalink); ?>">
57
  <div class="amp-social-icon">
58
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS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KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K" width="50" height="20" />
59
  </div>
60
  </a>
61
  <?php } ?>
62
  <?php if($redux_builder_amp['enable-single-line-share'] == true) { ?>
63
+ <a title="line share" href="http://line.me/R/msg/text/?<?php echo esc_url($amp_permalink); ?>">
64
  <div class="amp-social-icon custom-amp-socialsharing-line">
65
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDI5Ni41MjggMjk2LjUyOCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjk2LjUyOCAyOTYuNTI4OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjI0cHgiIGhlaWdodD0iMjRweCI+CjxnPgoJPHBhdGggZD0iTTI5NS44MzgsMTE1LjM0N2wwLjAwMy0wLjAwMWwtMC4wOTItMC43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zMuNTdjMy44NjYsMCw3LDMuMTM0LDcsN3MtMy4xMzQsNy03LDdoLTI2LjU3djEyLjg0OWgyMS41NjJjMy44NjYsMCw3LDMuMTM0LDcsN2MwLDMuODY2LTMuMTM0LDctNyw3ICAgaC0yMS41NjJ2MTIuODQ3aDI3LjY0NWMzLjg2NiwwLDcsMy4xMzQsNyw3UzIzNy4xNzcsMTU5LjI2OSwyMzMuMzExLDE1OS4yNjl6IiBmaWxsPSIjRkZGRkZGIi8+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==" width="50" height="20" />
66
  </div>
67
  </a>
68
  <?php } ?>
69
  <?php if($redux_builder_amp['enable-single-vk-share'] == true) { ?>
70
+ <a title="vkontakte share" href="http://vk.com/share.php?url=<?php echo esc_url($amp_permalink); ?>">
71
  <div class="amp-social-icon custom-amp-socialsharing-vk">
72
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCAzMDQuMzYgMzA0LjM2IiBzdHlsZT0iZW5hY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NDUsMTc1LjU3NnogTTI2MS45NDUsMTc1LjU3NiIgZmlsbD0iI0ZGRkZGRiIvPgo8L2c+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($redux_builder_amp['enable-single-odnoklassniki-share'] == true) { ?>
77
+ <a title="odnoklassniki share" href="https://ok.ru/dk?st.cmd=addShare&st._surl=<?php echo esc_url($amp_permalink); ?>" target="_blank">
78
  <div class="amp-social-icon amp-social-odnoklassniki">
79
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDk1LjQ4MSA5NS40ODEiIHN0eWxlPSJlbmFibGUtYmFja2dyb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
83
  <?php if ( true == $redux_builder_amp['enable-single-reddit-share'] ) { ?>
84
+ <a title="reddit share" href="https://reddit.com/submit?url=<?php echo esc_url($amp_permalink); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>" target="_blank">
85
  <div class="amp-social-icon amp-social-reddit">
86
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNDQ5IDUxMiIgZmlsbD0iI2ZmZmZmZiIgPjxwYXRoIGQ9Ik00NDkgMjUxYzAgMjAtMTEgMzctMjcgNDUgMSA1IDEgOSAxIDE0IDAgNzYtODkgMTM4LTE5OSAxMzhTMjYgMzg3IDI2IDMxMWMwLTUgMC0xMCAxLTE1LTE2LTgtMjctMjUtMjctNDUgMC0yOCAyMy01MCA1MC01MCAxMyAwIDI0IDUgMzMgMTMgMzMtMjMgNzktMzkgMTI5LTQxaDJsMzEtMTAzIDkwIDE4YzgtMTQgMjItMjQgMzktMjRoMWMyNSAwIDQ0IDIwIDQ0IDQ1cy0xOSA0NS00NCA0NWgtMWMtMjMgMC00Mi0xNy00NC00MGwtNjctMTQtMjIgNzRjNDkgMyA5MyAxNyAxMjUgNDAgOS04IDIxLTEzIDM0LTEzIDI3IDAgNDkgMjIgNDkgNTB6TTM0IDI3MWM1LTE1IDE1LTI5IDI5LTQxLTQtMy05LTUtMTUtNS0xNCAwLTI1IDExLTI1IDI1IDAgOSA0IDE3IDExIDIxem0zMjQtMTYyYzAgOSA3IDE3IDE2IDE3czE3LTggMTctMTctOC0xNy0xNy0xNy0xNiA4LTE2IDE3ek0xMjcgMjg4YzAgMTggMTQgMzIgMzIgMzJzMzItMTQgMzItMzItMTQtMzEtMzItMzEtMzIgMTMtMzIgMzF6bTk3IDExMmM0OCAwIDc3LTI5IDc4LTMwbC0xMy0xMnMtMjUgMjQtNjUgMjRjLTQxIDAtNjQtMjQtNjQtMjRsLTEzIDEyYzEgMSAyOSAzMCA3NyAzMHptNjctODBjMTggMCAzMi0xNCAzMi0zMnMtMTQtMzEtMzItMzEtMzIgMTMtMzIgMzEgMTQgMzIgMzIgMzJ6bTEyNC00OGM3LTUgMTEtMTMgMTEtMjIgMC0xNC0xMS0yNS0yNS0yNS02IDAtMTEgMi0xNSA1IDE0IDEyIDI0IDI3IDI5IDQyeiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
87
  </div>
88
  </a>
89
  <?php } ?>
90
  <?php if ( true == $redux_builder_amp['enable-single-tumblr-share'] ) { ?>
91
+ <a title="tumblr share" href="https://www.tumblr.com/widgets/share/tool?canonicalUrl=<?php echo esc_url($amp_permalink); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>&caption=<?php echo esc_attr(get_the_excerpt()); ?>" target="_blank">
92
  <div class="amp-social-icon amp-social-tumblr">
93
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNjQgNjQiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMzYuMDAyIDI4djE0LjYzNmMwIDMuNzE0LS4wNDggNS44NTMuMzQ2IDYuOTA2LjM5IDEuMDQ3IDEuMzcgMi4xMzQgMi40MzcgMi43NjMgMS40MTguODUgMy4wMzQgMS4yNzMgNC44NTcgMS4yNzMgMy4yNCAwIDUuMTU1LS40MjggOC4zNi0yLjUzNHY5LjYyYy0yLjczMiAxLjI4Ni01LjExOCAyLjAzOC03LjMzNCAyLjU2LTIuMjIuNTE0LTQuNjE2Ljc3NC03LjE5Ljc3NC0yLjkyOCAwLTQuNjU1LS4zNjgtNi45MDItMS4xMDMtMi4yNDctLjc0Mi00LjE2Ni0xLjgtNS43NS0zLjE2LTEuNTkyLTEuMzctMi42OS0yLjgyNC0zLjMwNC00LjM2M3MtLjkyLTMuNzc2LS45Mi02LjcwM1YyNi4yMjRoLTguNTl2LTkuMDYzYzIuNTE0LS44MTUgNS4zMjQtMS45ODcgNy4xMTItMy41MSAxLjc5Ny0xLjUyNyAzLjIzNS0zLjM1NiA0LjMyLTUuNDk2QzI0LjUzIDYuMDIyIDI1LjI3NiAzLjMgMjUuNjgzIDBoMTAuMzJ2MTZINTJ2MTJIMzYuMDA0eiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
94
  </div>
95
  </a>
96
  <?php } ?>
97
  <?php if ( true == $redux_builder_amp['enable-single-telegram-share'] ) { ?>
98
+ <a title="telegram share" href="https://telegram.me/share/url?url=<?php echo esc_url($amp_permalink); ?>&text=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>" target="_blank">
99
  <div class="amp-social-icon amp-social-telegram">
100
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjYgMjYiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMCAydjguNUwxNSAxMyAwIDE1LjVWMjRsMjYtMTFMMCAyeiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
101
  </div>
102
  </a>
103
  <?php } ?>
104
  <?php if ( true == $redux_builder_amp['enable-single-digg-share'] ) { ?>
105
+ <a title="digg share" href="http://digg.com/submit?url=<?php echo esc_url($amp_permalink); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>" target="_blank">
106
  <div class="amp-social-icon amp-social-digg">
107
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjA0OCAxODk2LjA4MzMiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMzI4IDI4MmgyMDR2OTgzSDBWNTY4aDMyOFYyODJ6bTAgODE5VjczMkgyMDV2MzY5aDEyM3ptMjg2LTUzM3Y2OTdoMjA1VjU2OEg2MTR6bTAtMjg2djIwNGgyMDVWMjgySDYxNHptMjg3IDI4Nmg1MzN2OTQySDkwMXYtMTYzaDMyOHYtODJIOTAxVjU2OHptMzI4IDUzM1Y3MzJoLTEyM3YzNjloMTIzem0yODctNTMzaDUzMnY5NDJoLTUzMnYtMTYzaDMyN3YtODJoLTMyN1Y1Njh6bTMyNyA1MzNWNzMyaC0xMjN2MzY5aDEyM3oiPjwvcGF0aD48L3N2Zz4=" width="50" height="20" />
108
  </div>
109
  </a>
110
  <?php } ?>
111
  <?php if ( true == $redux_builder_amp['enable-single-stumbleupon-share'] ) { ?>
112
+ <a title="stumbleupon share" href="http://www.stumbleupon.com/submit?url=<?php echo esc_url($amp_permalink); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>" target="_blank">
113
  <div class="amp-social-icon amp-social-stumbleupon">
114
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNjcwLjIyMzMgNjAxLjA4NjkiIGZpbGw9IiNmZmZmZmYiID48cGF0a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iA5LjkwNiAwIDE4LjI3NC0zLjUwNCAyNS4wOS0xMC40OTYgNi44MTYtNi45OTMgMTAuMjU1LTE1LjQ0IDEwLjI1NS0yNS4zNDR2LTk1Ljc0NGgxMTQuNjg4djkyLjY3MmMwIDQxLjI5NS0xNC41OSA3Ni42NC00My43NzYgMTA1Ljk4My0yOS4xODQgMjkuMzYtNjQuNDMyIDQ0LjAzMi0xMDUuNzI4IDQ0LjAzMnMtNzYuNjI1LTE0LjQ5Ny0xMDUuOTg1LTQzLjUyYy0yOS4zNi0yOS4wNC00NC4wNDgtNjQuMDE3LTQ0LjA0OC0xMDQuOTc4eiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
115
  </div>
116
  </a>
117
  <?php } ?>
118
  <?php if ( true == $redux_builder_amp['enable-single-wechat-share'] ) { ?>
119
+ <a title="wechat share" href="http://api.addthis.com/oexchange/0.8/forward/wechat/offer?url=<?php echo esc_url($amp_permalink); ?>" target="_blank">
120
  <div class="amp-social-icon amp-social-wechat">
121
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjA0OCAxODk2LjA4MzMiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNNTgwIDQ2MXEwLTQxLTI1LTY2dC02Ni0yNXEtNDMgMC03NiAyNS41VDM4MCA0NjFxMCAzOSAzMyA2NC41dDc2IDI1LjVxNDEgMCA2Ni0yNC41dDI1LTY1LjV6bTc0MyA1MDdxMC0yOC0yNS41LTUwdC02NS41LTIycS0yNyAwLTQ5LjUgMjIuNVQxMTYwIDk2OHEwIDI4IDIyLjUgNTAuNXQ0OS41IDIyLjVxNDAgMCA2NS41LTIydDI1LjUtNTF6bS0yMzYtNTA3cTAtNDEtMjQuNS02NlQ5OTcgMzcwcS00MyAwLTc2IDI1LjVUODg4IDQ2MXEwIDM5IDMzIDY0LjV0NzYgMjUuNXE0MSAwIDY1LjUtMjQuNVQxMDg3IDQ2MXptNjM1IDUwN3EwLTI4LTI2LTUwdC02NS0yMnEtMjcgMC00OS41IDIyLjVUMTU1OSA5NjhxMCAyOCAyMi41IDUwLjV0NDkuNSAyMi41cTM5IDAgNjUtMjJ0MjYtNTF6bS0yNjYtMzk3cS0zMS00LTcwLTQtMTY5IDAtMzExIDc3VDg1MS41IDg1Mi41IDc3MCAxMTQwcTAgNzggMjMgMTUyLTM1IDMtNjggMy0yNiAwLTUwLTEuNXQtNTUtNi41LTQ0LjUtNy01NC41LTEwLjUtNTAtMTAuNWwtMjUzIDEyNyA3Mi0yMThRMCA5NjUgMCA2NzhxMC0xNjkgOTcuNS0zMTF0MjY0LTIyMy41VDcyNSA2MnExNzYgMCAzMzIuNSA2NnQyNjIgMTgyLjVUMTQ1NiA1NzF6bTU5MiA1NjFxMCAxMTctNjguNSAyMjMuNVQxNzk0IDE1NDlsNTUgMTgxLTE5OS0xMDlxLTE1MCAzNy0yMTggMzctMTY5IDAtMzExLTcwLjVUODk3LjUgMTM5NiA4MTYgMTEzMnQ4MS41LTI2NFQxMTIxIDY3Ni41dDMxMS03MC41cTE2MSAwIDMwMyA3MC41dDIyNy41IDE5MlQyMDQ4IDExMzJ6Ij48L3BhdGg+PC9zdmc+" width="50" height="20" />
122
  </div>
123
  </a>
124
  <?php } ?>
125
  <?php if ( true == $redux_builder_amp['enable-single-viber-share'] ) { ?>
126
+ <a title="viber share" href="viber://forward?text=<?php echo esc_url($amp_permalink); ?>" target="_blank">
127
  <div class="amp-social-icon amp-social-viber">
128
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTAyNiAxMjM0IiBmaWxsPSIjZmZmZmZmIiA+PHBhdGggZD0iTTkwNCA3OTRxLTY5IDYxLTIwMCA4Ny41VDQzNCA4OTdsLTE3NiAxMzJWODY0cS04Ny0yNy0xMzYtNzAtNTgtNTEtOTAtMTQ2LjV0LTMyLTE5NSAzMi0xOTUgOTAuNS0xNDcgMTY3LjUtNzlUNTEzIDR0MjIzIDI3LjUgMTY3LjUgNzkgOTAuNSAxNDcgMzIgMTk1LTMyIDE5NVQ5MDQgNzk0ek02MzkgNTQ5bDY1IDExcS04LTEyMC05Mi41LTIwNVQ0MDcgMjYybDExIDY1cTg2IDExIDE0OCA3M3Q3MyAxNDl6TTQyOSAzOTRsMTIgNzJxNDAgMjAgNTkgNTlsNzIgMTJxLTEyLTUzLTUxLTkxLjVUNDI5IDM5NHptLTEwNyA1OXYtNjRxMC0xNy0xMi41LTM0VDI4MyAzMzAuNXQtMjEtMS41bC00NiA0N3EtMzkgMzktMTEuNSAxMjEuNXQxMDUgMTYwIDE2MCAxMDVUNTkwIDc1MWw0Ny00N3E3LTYtLjUtMjAuNVQ2MTIgNjU3dC0zNC0xMmgtNjRsLTM3IDMycS00NC0xMi0xMDkuNS03Ny41VDI5MCA0ODl6bTY0LTMyMGwxMCA2NXExMDAgMiAxODUgNTIuNXQxMzUgMTM1VDc2OSA1NzBsNjUgMTFxMC05MS0zNS41LTE3NFQ3MDMgMjY0dC0xNDMtOTUuNVQzODYgMTMzeiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
129
  </div>
130
  </a>
131
  <?php } ?>
132
  <?php if ( true == $redux_builder_amp['enable-single-hatena-bookmarks'] ) { ?>
133
+ <a title="hatena share" href="http://b.hatena.ne.jp/entry/<?php echo esc_url($amp_permalink); ?>" target="_blank">
134
  <div class="amp-social-icon amp-social-hatena">
135
  <amp-img src="data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' viewBox='0 0 512 512'%3e%3cpath d='M 64 96 L 64 416 L 212 416 C 252 416 292 404 308 368 C 328 332 320 276 284 252 C 272 244 260 240 248 236 C 276 232 300 212 300 184 C 304 156 296 120 268 108 C 236 96 192 96 160 96 L 64 96 z M 364 96 L 364 308 L 444 308 L 444 96 L 364 96 z M 144 156 C 144 156 188 156 200 160 C 224 168 224 208 196 212 C 188 216 144 216 144 216 L 144 156 z M 144 280 C 144 280 188 280 208 284 C 232 288 240 312 228 332 C 220 348 204 348 188 348 L 144 348 L 144 280 z M 404 328 A 44 44 0 0 0 360 372 A 44 44 0 0 0 404 416 A 44 44 0 0 0 448 372 A 44 44 0 0 0 404 328 z' style='fill:%23ffffff'/%3e%3c/svg%3e" width="50" height="20" />
136
  </div>
137
  </a>
138
  <?php } ?>
139
  <?php if ( true == $redux_builder_amp['enable-single-pocket-share'] ) { ?>
140
+ <a title="pocket share" href="https://getpocket.com/save?url=<?php echo esc_url($amp_permalink); ?>" target="_blank">
141
  <div class="amp-social-icon amp-social-pocket">
142
  <amp-img src="data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='2500' height='2251' viewBox='75.247 261.708 445.529 401.074'%3e%3cpath fill='%23EF4056' d='M114.219 261.708c-24.275 1.582-38.972 15.44-38.972 40.088v147.611c0 119.893 119.242 214.114 222.393 213.37 115.986-.837 223.137-98.779 223.137-213.37V301.796c0-24.741-15.626-38.693-40.088-40.088h-366.47zm93.943 120.079L297.64 466.8l89.571-85.013c40.088-16.835 57.574 28.927 41.111 42.321L311.685 535.443c-3.813 3.628-24.183 3.628-27.996 0L167.051 424.107c-15.72-14.789 4.743-61.295 41.111-42.32z'/%3e%3c/svg%3e" width="50" height="20" />
143
  </div>
templates/design-manager/design-1/header-bar.php CHANGED
@@ -33,14 +33,17 @@
33
  <div role="button" tabindex="0" on='tap:sidebar.close' class="close-nav">X</div> <?php
34
  // schema.org/SiteNavigationElement missing from menus #1229 ?>
35
  <nav id ="primary-amp-menu" itemscope="" itemtype="https://schema.org/SiteNavigationElement">
36
- <?php
37
- $menu_html_content = wp_nav_menu( array(
 
 
38
  'theme_location' => 'amp-menu' ,
39
  'link_before' => '<span itemprop="name">',
40
  'link_after' => '</span>',
41
  'menu'=>'ul',
42
  'echo' => false,
43
- 'menu_class' => 'menu amp-menu'
 
44
  ) );
45
  $menu_html_content = apply_filters('ampforwp_menu_content', $menu_html_content);
46
  $sanitizer_obj = new AMPFORWP_Content( $menu_html_content, array(), apply_filters( 'ampforwp_content_sanitizers', array( 'AMP_Img_Sanitizer' => array(), 'AMP_Style_Sanitizer' => array(), ) ) );
33
  <div role="button" tabindex="0" on='tap:sidebar.close' class="close-nav">X</div> <?php
34
  // schema.org/SiteNavigationElement missing from menus #1229 ?>
35
  <nav id ="primary-amp-menu" itemscope="" itemtype="https://schema.org/SiteNavigationElement">
36
+ <?php
37
+ require_once AMPFORWP_PLUGIN_DIR .'/classes/class-ampforwp-walker-nav-menu.php';
38
+
39
+ $menu_html_content = wp_nav_menu( array(
40
  'theme_location' => 'amp-menu' ,
41
  'link_before' => '<span itemprop="name">',
42
  'link_after' => '</span>',
43
  'menu'=>'ul',
44
  'echo' => false,
45
+ 'menu_class' => 'menu amp-menu',
46
+ 'walker' => new Ampforwp_Walker_Nav_Menu()
47
  ) );
48
  $menu_html_content = apply_filters('ampforwp_menu_content', $menu_html_content);
49
  $sanitizer_obj = new AMPFORWP_Content( $menu_html_content, array(), apply_filters( 'ampforwp_content_sanitizers', array( 'AMP_Img_Sanitizer' => array(), 'AMP_Style_Sanitizer' => array(), ) ) );
templates/design-manager/design-1/style.php CHANGED
@@ -81,6 +81,9 @@ blockquote {color: <?php echo sanitize_hex_color( $text_color ); ?>;background:
81
  .ampforwp-ad-above-related-post{padding-top:15px;}
82
  .single-post .amp_author_area amp-img{ margin: 0; float: left; margin-right: 12px; border-radius: 60px; }
83
  .single-post .amp_author_area .amp_author_area_wrapper{ display: inline-block; width: 100%; line-height: 1.4; margin-top: 22px; font-size: 13px; color:#333; font-family: sans-serif; }
 
 
 
84
  /* Footer */
85
  .footer_menu ul{ list-style-type: none; padding: 0; text-align: center; margin: 0px 20px 25px 20px; line-height: 27px; font-size: 13px }
86
  .footer_menu ul li{ display:inline; margin:0 10px; }
@@ -210,8 +213,9 @@ if( !is_home() && $redux_builder_amp['ampforwp-bread-crumb'] == 1 ) { ?>
210
  .amp-menu li{position:relative}
211
  .amp-menu li.menu-item-has-children ul{display:none;margin:0;background:#222}
212
  .amp-menu li.menu-item-has-children ul ul{background:#444}
213
- .amp-menu li.menu-item-has-children:hover > ul{display:block}
214
- .amp-menu li.menu-item-has-children:after{content:'\25be';position:absolute;padding: 10px 15px 10px 30px;right:0;font-size:18px;color:#ccc;top:0;z-index:10000;line-height:1}
 
215
  .amp-ad-wrapper span { display: inherit; font-size: 12px; line-height: 1;}
216
  <?php // Ads (sitewide)
217
  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-wrapper.amp_ad_1{padding-top:20px} .amp-ad-wrapper,.amp-wp-article amp-ad{ direction: ltr; } <?php }
81
  .ampforwp-ad-above-related-post{padding-top:15px;}
82
  .single-post .amp_author_area amp-img{ margin: 0; float: left; margin-right: 12px; border-radius: 60px; }
83
  .single-post .amp_author_area .amp_author_area_wrapper{ display: inline-block; width: 100%; line-height: 1.4; margin-top: 22px; font-size: 13px; color:#333; font-family: sans-serif; }
84
+ .wp-block-image.aligncenter amp-img {
85
+ margin: 0 auto;
86
+ }
87
  /* Footer */
88
  .footer_menu ul{ list-style-type: none; padding: 0; text-align: center; margin: 0px 20px 25px 20px; line-height: 27px; font-size: 13px }
89
  .footer_menu ul li{ display:inline; margin:0 10px; }
213
  .amp-menu li{position:relative}
214
  .amp-menu li.menu-item-has-children ul{display:none;margin:0;background:#222}
215
  .amp-menu li.menu-item-has-children ul ul{background:#444}
216
+ .amp-menu input{display:none;}
217
+ .amp-menu [id^=drop]:checked + label + ul{ display: block;}
218
+ .amp-menu .toggle:after{content:'\25be';position:absolute;padding: 10px 15px 10px 30px;right:0;font-size:18px;color:#ccc;top:5px;z-index:10000;line-height:1}
219
  .amp-ad-wrapper span { display: inherit; font-size: 12px; line-height: 1;}
220
  <?php // Ads (sitewide)
221
  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-wrapper.amp_ad_1{padding-top:20px} .amp-ad-wrapper,.amp-wp-article amp-ad{ direction: ltr; } <?php }
templates/design-manager/design-2/elements/social-icons.php CHANGED
@@ -1,8 +1,15 @@
1
- <?php global $redux_builder_amp;
 
 
 
 
 
 
 
2
  if ( is_single() || (is_page() && isset($redux_builder_amp['ampforwp-page-social']) && true == $redux_builder_amp['ampforwp-page-social']) ) {
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
8
  $permalink = wp_get_shortlink();
@@ -11,7 +18,7 @@ if ( is_single() || (is_page() && isset($redux_builder_amp['ampforwp-page-social
11
  <div class="amp-wp-content post-pagination-meta ampforwp-social-icons-wrapper ampforwp-social-icons">
12
  <?php if( true == $redux_builder_amp['ampforwp-facebook-like-button'] ) {
13
  $facebook_like_url = '';
14
- $facebook_like_url = get_the_permalink();
15
  if( $facebook_like_url ){ ?>
16
  <amp-facebook-like width=90 height=28
17
  layout="fixed"
@@ -46,91 +53,91 @@ if ( is_single() || (is_page() && isset($redux_builder_amp['ampforwp-page-social
46
  <amp-social-share type="linkedin" width="50" height="28"></amp-social-share>
47
  <?php } ?>
48
  <?php if($redux_builder_amp['enable-single-whatsapp-share'] == true) { ?>
49
- <a title="whatsapp share" 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+CjxnPgoJPHBhdGggaWQ9IldoYXRzQXBwIiBkPSJNOTAsNDMuODQxYzAsMjQuMjEzLTE5Ljc3OSw0My44NDEtNDQuMTgyLDQzLjg0MWMtNy43NDcsMC0xNS4wMjUtMS45OC0yMS4zNTctNS40NTVMMCw5MGw3Ljk3NS0yMy41MjIgICBjLTQuMDIzLTYuNjA2LTYuMzQtMTQuMzU0LTYuMzQtMjIuNjM3QzEuNjM1LDE5LjYyOCwyMS40MTYsMCw0NS44MTgsMEM3MC4yMjMsMCw5MC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45OTIsMS4wNzYtMy43ODksMy42NzYtMy43ODksOC45NjNjMCw1LjI4OCwzLjg3OSwxMC4zOTcsNC40MjIsMTEuMTEzYzAuNTQxLDAuNzE2LDcuNDksMTEuOTIsMTguNSwxNi4yMjMgICBDNTguMiw2NS43NzEsNTguMiw2NC4zMzYsNjAuMTg2LDY0LjE1NmMxLjk4NC0wLjE3OSw2LjQwNi0yLjU5OSw3LjMxMi01LjEwN0M2OC4zOTgsNTYuNTM3LDY4LjM5OCw1NC4zODYsNjguMTI5LDUzLjkzOHoiIGZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K" width="50" height="20" />
52
  </div>
53
  </a>
54
  <?php } ?>
55
  <?php if($redux_builder_amp['enable-single-line-share'] == true) { ?>
56
- <a title="line share" 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+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cud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Ny0zNC43MTd2MzAuNjA1YzAsMy44NjYtMy4xMzQsNy03LDcgICBjLTMuODY2LDAtNy0zLjEzNC03LTd2LTUyLjE2YzAtMy4wMzMsMS45NTMtNS43MjEsNC44MzgtNi42NThjMi44ODYtMC45MzYsNi4wNDUsMC4wOSw3LjgyNywyLjU0NWwyNS4yMDcsMzQuNzE3Vjk5LjY3NSAgIGMwLTMuODY2LDMuMTM0LTcsNy03YzMuODY2LDAsNywzLjEzNCw3LDdWMTUzLjM3MXogTTIzMy4zMTEsMTU5LjI2OWgtMzQuNjQ1Yy0zLjg2NiwwLTctMy4xMzQtNy03di0yNi44NDdWOTguNTczICAgYzAtMy44NjYsMy4xMzQtNyw3LTdoMzMuNTdjMy44NjYsMCw3LDMuMTM0LDcsN3MtMy4xMzQsNy03LDdoLTI2LjU3djEyLjg0OWgyMS41NjJjMy44NjYsMCw3LDMuMTM0LDcsN2MwLDMuODY2LTMuMTM0LDctNyw3ICAgaC0yMS41NjJ2MTIuODQ3aDI3LjY0NWMzLjg2NiwwLDcsMy4xMzQsNyw3UzIzNy4xNzcsMTU5LjI2OSwyMzMuMzExLDE1OS4yNjl6IiBmaWxsPSIjRkZGRkZGIi8+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 title="vkontakte share" 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,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNv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0xMy45NjgsOS4xNDMtMjEuMDc4YzIuMDk2LTUuMjc2LDUuMzg1LTcuODcyLDExLjMyOC03Ljc1N2w0OC4yMjksMC4wNDNjMS40MywwLDIuODc3LDAuMDIxLDQuMjYyLDAuMjU4ICAgYzguMTI3LDEuMzg1LDEwLjM1NCw0Ljg4MSw3Ljg0NCwxMi44MTdjLTMuOTU1LDEyLjQ1MS0xMS42NSwyMi44MjctMTkuMTc0LDMzLjI1MWMtOC4wNDMsMTEuMTI5LTE2LjY0NSwyMS44NzctMjQuNjIxLDMzLjA3MiAgIEMyNTIuMjYsMTYxLjU0NCwyNTIuODQyLDE2Ni42OTcsMjYxLjk0NSwxNzUuNTc2TDI2MS45NDUsMTc1LjU3NnogTTI2MS45NDUsMTc1LjU3NiIgZmlsbD0iI0ZGRkZGRiIvPgo8L2c+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 title="odnoklassniki share" 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+CjwhRE9DVFlQRSBzdmcgUF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4zMjQsMTEuNzMzLDExLjg5NiwxMS43MDkgICAgQzU0LjM1NywzNS45NzEsNTkuNTczLDMwLjcwOSw1OS41NTEsMjQuMTQzeiIgZmlsbD0iI0ZGRkZGRiIvPgoJPC9nPgo8L2c+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 title="reddit share" href="https://reddit.com/submit?url=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(htmlspecialchars( 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 title="tumblr share" href="https://www.tumblr.com/widgets/share/tool?canonicalUrl=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(htmlspecialchars( 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 title="telegram share" href="https://telegram.me/share/url?url=<?php echo esc_url(get_the_permalink()); ?>&text=<?php echo esc_attr(htmlspecialchars( 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 title="digg share" href="http://digg.com/submit?url=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(htmlspecialchars( 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 title="stumbleupon share" href="http://www.stumbleupon.com/submit?url=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(htmlspecialchars( 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 title="wechat share" 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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJz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QxMTIxIDY3Ni41dDMxMS03MC41cTE2MSAwIDMwMyA3MC41dDIyNy41IDE5MlQyMDQ4IDExMzJ6Ij48L3BhdGg+PC9zdmc+" width="50" height="20" />
115
  </div>
116
  </a>
117
  <?php } ?>
118
  <?php if ( true == $redux_builder_amp['enable-single-viber-share'] ) { ?>
119
- <a title="viber share" 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
  <?php if ( true == $redux_builder_amp['enable-single-hatena-bookmarks'] ) { ?>
126
- <a title="hatena share" href="http://b.hatena.ne.jp/entry/<?php echo esc_url(get_the_permalink()); ?>" target="_blank">
127
  <div class="amp-social-icon amp-social-hatena">
128
  <amp-img src="data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' viewBox='0 0 512 512'%3e%3cpath d='M 64 96 L 64 416 L 212 416 C 252 416 292 404 308 368 C 328 332 320 276 284 252 C 272 244 260 240 248 236 C 276 232 300 212 300 184 C 304 156 296 120 268 108 C 236 96 192 96 160 96 L 64 96 z M 364 96 L 364 308 L 444 308 L 444 96 L 364 96 z M 144 156 C 144 156 188 156 200 160 C 224 168 224 208 196 212 C 188 216 144 216 144 216 L 144 156 z M 144 280 C 144 280 188 280 208 284 C 232 288 240 312 228 332 C 220 348 204 348 188 348 L 144 348 L 144 280 z M 404 328 A 44 44 0 0 0 360 372 A 44 44 0 0 0 404 416 A 44 44 0 0 0 448 372 A 44 44 0 0 0 404 328 z' style='fill:%23ffffff'/%3e%3c/svg%3e" width="50" height="20" />
129
  </div>
130
  </a>
131
  <?php } ?>
132
  <?php if ( true == $redux_builder_amp['enable-single-pocket-share'] ) { ?>
133
- <a title="pocket share" href="https://getpocket.com/save?url=<?php echo esc_url(get_the_permalink()); ?>" target="_blank">
134
  <div class="amp-social-icon amp-social-pocket">
135
  <amp-img src="data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='2500' height='2251' viewBox='75.247 261.708 445.529 401.074'%3e%3cpath fill='%23EF4056' d='M114.219 261.708c-24.275 1.582-38.972 15.44-38.972 40.088v147.611c0 119.893 119.242 214.114 222.393 213.37 115.986-.837 223.137-98.779 223.137-213.37V301.796c0-24.741-15.626-38.693-40.088-40.088h-366.47zm93.943 120.079L297.64 466.8l89.571-85.013c40.088-16.835 57.574 28.927 41.111 42.321L311.685 535.443c-3.813 3.628-24.183 3.628-27.996 0L167.051 424.107c-15.72-14.789 4.743-61.295 41.111-42.32z'/%3e%3c/svg%3e" width="50" height="20" />
136
  </div>
1
+ <?php global $redux_builder_amp;
2
+ // Social share in AMP
3
+ $amp_permalink = "";
4
+ if ( ampforwp_get_setting('ampforwp-social-share-amp') ) {
5
+ $amp_permalink = ampforwp_url_controller(get_the_permalink());
6
+ } else{
7
+ $amp_permalink = get_the_permalink();
8
+ }
9
  if ( is_single() || (is_page() && isset($redux_builder_amp['ampforwp-page-social']) && true == $redux_builder_amp['ampforwp-page-social']) ) {
10
  $permalink = '';
11
  if(isset($redux_builder_amp['enable-single-twitter-share-link']) && $redux_builder_amp['enable-single-twitter-share-link']){
12
+ $permalink = $amp_permalink;
13
  }
14
  else
15
  $permalink = wp_get_shortlink();
18
  <div class="amp-wp-content post-pagination-meta ampforwp-social-icons-wrapper ampforwp-social-icons">
19
  <?php if( true == $redux_builder_amp['ampforwp-facebook-like-button'] ) {
20
  $facebook_like_url = '';
21
+ $facebook_like_url = $amp_permalink;
22
  if( $facebook_like_url ){ ?>
23
  <amp-facebook-like width=90 height=28
24
  layout="fixed"
53
  <amp-social-share type="linkedin" width="50" height="28"></amp-social-share>
54
  <?php } ?>
55
  <?php if($redux_builder_amp['enable-single-whatsapp-share'] == true) { ?>
56
+ <a title="whatsapp share" href="whatsapp://send?text=<?php echo esc_url($amp_permalink); ?>">
57
  <div class="amp-social-icon">
58
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdl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U5OSw3LjMxMi01LjEwN0M2OC4zOTgsNTYuNTM3LDY4LjM5OCw1NC4zODYsNjguMTI5LDUzLjkzOHoiIGZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K" width="50" height="20" />
59
  </div>
60
  </a>
61
  <?php } ?>
62
  <?php if($redux_builder_amp['enable-single-line-share'] == true) { ?>
63
+ <a title="line share" href="http://line.me/R/msg/text/?<?php echo esc_url($amp_permalink); ?>">
64
  <div class="amp-social-icon custom-amp-socialsharing-line">
65
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDI5Ni41MjggMjk2LjUyOCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ld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uODY2LDMuMTM0LTcsNy03YzMuODY2LDAsNywzLjEzNCw3LDdWMTUzLjM3MXogTTIzMy4zMTEsMTU5LjI2OWgtMzQuNjQ1Yy0zLjg2NiwwLTctMy4xMzQtNy03di0yNi44NDdWOTguNTczICAgYzAtMy44NjYsMy4xMzQtNyw3LTdoMzMuNTdjMy44NjYsMCw3LDMuMTM0LDcsN3MtMy4xMzQsNy03LDdoLTI2LjU3djEyLjg0OWgyMS41NjJjMy44NjYsMCw3LDMuMTM0LDcsN2MwLDMuODY2LTMuMTM0LDctNyw3ICAgaC0yMS41NjJ2MTIuODQ3aDI3LjY0NWMzLjg2NiwwLDcsMy4xMzQsNyw3UzIzNy4xNzcsMTU5LjI2OSwyMzMuMzExLDE1OS4yNjl6IiBmaWxsPSIjRkZGRkZGIi8+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==" width="50" height="20" />
66
  </div>
67
  </a>
68
  <?php } ?>
69
  <?php if($redux_builder_amp['enable-single-vk-share'] == true) { ?>
70
+ <a title="vkontakte share" href="http://vk.com/share.php?url=<?php echo esc_url($amp_permalink); ?>">
71
  <div class="amp-social-icon custom-amp-socialsharing-vk">
72
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3Z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1MS0xMS42NSwyMi44MjctMTkuMTc0LDMzLjI1MWMtOC4wNDMsMTEuMTI5LTE2LjY0NSwyMS44NzctMjQuNjIxLDMzLjA3MiAgIEMyNTIuMjYsMTYxLjU0NCwyNTIuODQyLDE2Ni42OTcsMjYxLjk0NSwxNzUuNTc2TDI2MS45NDUsMTc1LjU3NnogTTI2MS45NDUsMTc1LjU3NiIgZmlsbD0iI0ZGRkZGRiIvPgo8L2c+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($redux_builder_amp['enable-single-odnoklassniki-share'] == true) { ?>
77
+ <a title="odnoklassniki share" href="https://ok.ru/dk?st.cmd=addShare&st._surl=<?php echo esc_url($amp_permalink); ?>" target="_blank">
78
  <div class="amp-social-icon amp-social-odnoklassniki">
79
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvM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o8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=" width="50" height="20" />
80
  </div>
81
  </a>
82
  <?php } ?>
83
  <?php if ( true == $redux_builder_amp['enable-single-reddit-share'] ) { ?>
84
+ <a title="reddit share" href="https://reddit.com/submit?url=<?php echo esc_url($amp_permalink); ?>&title=<?php echo esc_attr(htmlspecialchars( get_the_title() )); ?>" target="_blank">
85
  <div class="amp-social-icon amp-social-reddit">
86
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNDQ5IDUxMiIgZmlsbD0iI2ZmZmZmZiIgPjxwYXRoIGQ9Ik00NDkgMjUxYzAgMjAtMTEgMzctMjcgNDUgMSA1IDEgOSAxIDE0IDAgNzYtODkgMTM4LTE5OSAxMzhTMjYgMzg3IDI2IDMxMWMwLTUgMC0xMCAxLTE1LTE2LTgtMjctMjUtMjctNDUgMC0yOCAyMy01MCA1MC01MCAxMyAwIDI0IDUgMzMgMTMgMzMtMjMgNzktMzkgMTI5LTQxaDJsMzEtMTAzIDkwIDE4YzgtMTQgMjItMjQgMzktMjRoMWMyNSAwIDQ0IDIwIDQ0IDQ1cy0xOSA0NS00NCA0NWgtMWMtMjMgMC00Mi0xNy00NC00MGwtNjctMTQtMjIgNzRjNDkgMyA5MyAxNyAxMjUgNDAgOS04IDIxLTEzIDM0LTEzIDI3IDAgNDkgMjIgNDkgNTB6TTM0IDI3MWM1LTE1IDE1LTI5IDI5LTQxLTQtMy05LTUtMTUtNS0xNCAwLTI1IDExLTI1IDI1IDAgOSA0IDE3IDExIDIxem0zMjQtMTYyYzAgOSA3IDE3IDE2IDE3czE3LTggMTctMTctOC0xNy0xNy0xNy0xNiA4LTE2IDE3ek0xMjcgMjg4YzAgMTggMTQgMzIgMzIgMzJzMzItMTQgMzItMzItMTQtMzEtMzItMzEtMzIgMTMtMzIgMzF6bTk3IDExMmM0OCAwIDc3LTI5IDc4LTMwbC0xMy0xMnMtMjUgMjQtNjUgMjRjLTQxIDAtNjQtMjQtNjQtMjRsLTEzIDEyYzEgMSAyOSAzMCA3NyAzMHptNjctODBjMTggMCAzMi0xNCAzMi0zMnMtMTQtMzEtMzItMzEtMzIgMTMtMzIgMzEgMTQgMzIgMzIgMzJ6bTEyNC00OGM3LTUgMTEtMTMgMTEtMjIgMC0xNC0xMS0yNS0yNS0yNS02IDAtMTEgMi0xNSA1IDE0IDEyIDI0IDI3IDI5IDQyeiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
87
  </div>
88
  </a>
89
  <?php } ?>
90
  <?php if ( true == $redux_builder_amp['enable-single-tumblr-share'] ) { ?>
91
+ <a title="tumblr share" href="https://www.tumblr.com/widgets/share/tool?canonicalUrl=<?php echo esc_url($amp_permalink); ?>&title=<?php echo esc_attr(htmlspecialchars( get_the_title() )); ?>&caption=<?php echo esc_attr(get_the_excerpt()); ?>" target="_blank">
92
  <div class="amp-social-icon amp-social-tumblr">
93
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNjQgNjQiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMzYuMDAyIDI4djE0LjYzNmMwIDMuNzE0LS4wNDggNS44NTMuMzQ2IDYuOTA2LjM5IDEuMDQ3IDEuMzcgMi4xMzQgMi40MzcgMi43NjMgMS40MTguODUgMy4wMzQgMS4yNzMgNC44NTcgMS4yNzMgMy4yNCAwIDUuMTU1LS40MjggOC4zNi0yLjUzNHY5LjYyYy0yLjczMiAxLjI4Ni01LjExOCAyLjAzOC03LjMzNCAyLjU2LTIuMjIuNTE0LTQuNjE2Ljc3NC03LjE5Ljc3NC0yLjkyOCAwLTQuNjU1LS4zNjgtNi45MDItMS4xMDMtMi4yNDctLjc0Mi00LjE2Ni0xLjgtNS43NS0zLjE2LTEuNTkyLTEuMzctMi42OS0yLjgyNC0zLjMwNC00LjM2M3MtLjkyLTMuNzc2LS45Mi02LjcwM1YyNi4yMjRoLTguNTl2LTkuMDYzYzIuNTE0LS44MTUgNS4zMjQtMS45ODcgNy4xMTItMy41MSAxLjc5Ny0xLjUyNyAzLjIzNS0zLjM1NiA0LjMyLTUuNDk2QzI0LjUzIDYuMDIyIDI1LjI3NiAzLjMgMjUuNjgzIDBoMTAuMzJ2MTZINTJ2MTJIMzYuMDA0eiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
94
  </div>
95
  </a>
96
  <?php } ?>
97
  <?php if ( true == $redux_builder_amp['enable-single-telegram-share'] ) { ?>
98
+ <a title="telegram share" href="https://telegram.me/share/url?url=<?php echo esc_url($amp_permalink); ?>&text=<?php echo esc_attr(htmlspecialchars( get_the_title() )); ?>" target="_blank">
99
  <div class="amp-social-icon amp-social-telegram">
100
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjYgMjYiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMCAydjguNUwxNSAxMyAwIDE1LjVWMjRsMjYtMTFMMCAyeiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
101
  </div>
102
  </a>
103
  <?php } ?>
104
  <?php if ( true == $redux_builder_amp['enable-single-digg-share'] ) { ?>
105
+ <a title="digg share" href="http://digg.com/submit?url=<?php echo esc_url($amp_permalink); ?>&title=<?php echo esc_attr(htmlspecialchars( get_the_title() )); ?>" target="_blank">
106
  <div class="amp-social-icon amp-social-digg">
107
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjA0OCAxODk2LjA4MzMiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMzI4IDI4MmgyMDR2OTgzSDBWNTY4aDMyOFYyODJ6bTAgODE5VjczMkgyMDV2MzY5aDEyM3ptMjg2LTUzM3Y2OTdoMjA1VjU2OEg2MTR6bTAtMjg2djIwNGgyMDVWMjgySDYxNHptMjg3IDI4Nmg1MzN2OTQySDkwMXYtMTYzaDMyOHYtODJIOTAxVjU2OHptMzI4IDUzM1Y3MzJoLTEyM3YzNjloMTIzem0yODctNTMzaDUzMnY5NDJoLTUzMnYtMTYzaDMyN3YtODJoLTMyN1Y1Njh6bTMyNyA1MzNWNzMyaC0xMjN2MzY5aDEyM3oiPjwvcGF0aD48L3N2Zz4=" width="50" height="20" />
108
  </div>
109
  </a>
110
  <?php } ?>
111
  <?php if ( true == $redux_builder_amp['enable-single-stumbleupon-share'] ) { ?>
112
+ <a title="stumbleupon share" href="http://www.stumbleupon.com/submit?url=<?php echo esc_url($amp_permalink); ?>&title=<?php echo esc_attr(htmlspecialchars( get_the_title() )); ?>" target="_blank">
113
  <div class="amp-social-icon amp-social-stumbleupon">
114
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9z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uMjQ3em0zNzAuNjg4IDEuNTM2di05My42OTVsNDUuNTY4IDIxLjUyIDY4LjYyNC0yMC40OTd2OTQuMjI2YzAgOS45MDMgMy40MDggMTguMzM2IDEwLjIyNCAyNS4zNDQgNi44NDcgNy4wMDcgMTUuMiAxMC40OTYgMjUuMDg3IDEwLjQ5NiA5LjkwNiAwIDE4LjI3NC0zLjUwNCAyNS4wOS0xMC40OTYgNi44MTYtNi45OTMgMTAuMjU1LTE1LjQ0IDEwLjI1NS0yNS4zNDR2LTk1Ljc0NGgxMTQuNjg4djkyLjY3MmMwIDQxLjI5NS0xNC41OSA3Ni42NC00My43NzYgMTA1Ljk4My0yOS4xODQgMjkuMzYtNjQuNDMyIDQ0LjAzMi0xMDUuNzI4IDQ0LjAzMnMtNzYuNjI1LTE0LjQ5Ny0xMDUuOTg1LTQzLjUyYy0yOS4zNi0yOS4wNC00NC4wNDgtNjQuMDE3LTQ0LjA0OC0xMDQuOTc4eiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
115
  </div>
116
  </a>
117
  <?php } ?>
118
  <?php if ( true == $redux_builder_amp['enable-single-wechat-share'] ) { ?>
119
+ <a title="wechat share" href="http://api.addthis.com/oexchange/0.8/forward/wechat/offer?url=<?php echo esc_url($amp_permalink); ?>" target="_blank">
120
  <div class="amp-social-icon amp-social-wechat">
121
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjA0OCAxODk2LjA4MzMiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNNTgwIDQ2MXEwLTQxLTI1LTY2dC02Ni0yNXEtNDMgMC03NiAyNS41VDM4MCA0NjFxMCAzOSAzMyA2NC41dDc2IDI1LjVxNDEgMCA2Ni0yNC41dDI1LTY1LjV6bTc0MyA1MDdxMC0yOC0yNS41LTUwdC02NS41LTIycS0yNyAwLTQ5LjUgMjIuNVQxMTYwIDk2OHEwIDI4IDIyLjUgNTAuNXQ0OS41IDIyLjVxNDAgMCA2NS41LTIydDI1LjUtNTF6bS0yMzYtNTA3cTAtNDEtMjQuNS02NlQ5OTcgMzcwcS00MyAwLTc2IDI1LjVUODg4IDQ2MXEwIDM5IDMzIDY0LjV0NzYgMjUuNXE0MSAwIDY1LjUtMjQuNVQxMDg3IDQ2MXptNjM1IDUwN3EwLTI4LTI2LTUwdC02NS0yMnEtMjcgMC00OS41IDIyLjVUMTU1OSA5NjhxMCAyOCAyMi41IDUwLjV0NDkuNSAyMi41cTM5IDAgNjUtMjJ0MjYtNTF6bS0yNjYtMzk3cS0zMS00LTcwLTQtMTY5IDAtMzExIDc3VDg1MS41IDg1Mi41IDc3MCAxMTQwcTAgNzggMjMgMTUyLTM1IDMtNjggMy0yNiAwLTUwLTEuNXQtNTUtNi41LTQ0LjUtNy01NC41LTEwLjUtNTAtMTAuNWwtMjUzIDEyNyA3Mi0yMThRMCA5NjUgMCA2NzhxMC0xNjkgOTcuNS0zMTF0MjY0LTIyMy41VDcyNSA2MnExNzYgMCAzMzIuNSA2NnQyNjIgMTgyLjVUMTQ1NiA1NzF6bTU5MiA1NjFxMCAxMTctNjguNSAyMjMuNVQxNzk0IDE1NDlsNTUgMTgxLTE5OS0xMDlxLTE1MCAzNy0yMTggMzctMTY5IDAtMzExLTcwLjVUODk3LjUgMTM5NiA4MTYgMTEzMnQ4MS41LTI2NFQxMTIxIDY3Ni41dDMxMS03MC41cTE2MSAwIDMwMyA3MC41dDIyNy41IDE5MlQyMDQ4IDExMzJ6Ij48L3BhdGg+PC9zdmc+" width="50" height="20" />
122
  </div>
123
  </a>
124
  <?php } ?>
125
  <?php if ( true == $redux_builder_amp['enable-single-viber-share'] ) { ?>
126
+ <a title="viber share" href="viber://forward?text=<?php echo esc_url($amp_permalink); ?>" target="_blank">
127
  <div class="amp-social-icon amp-social-viber">
128
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTAyNiAxMjM0IiBmaWxsPSIjZmZmZmZmIiA+PHBhdGggZD0iTTkwNCA3OTRxLTY5IDYxLTIwMCA4Ny41VDQzNCA4OTdsLTE3NiAxMzJWODY0cS04Ny0yNy0xMzYtNzAtNTgtNTEtOTAtMTQ2LjV0LTMyLTE5NSAzMi0xOTUgOTAuNS0xNDcgMTY3LjUtNzlUNTEzIDR0MjIzIDI3LjUgMTY3LjUgNzkgOTAuNSAxNDcgMzIgMTk1LTMyIDE5NVQ5MDQgNzk0ek02MzkgNTQ5bDY1IDExcS04LTEyMC05Mi41LTIwNVQ0MDcgMjYybDExIDY1cTg2IDExIDE0OCA3M3Q3MyAxNDl6TTQyOSAzOTRsMTIgNzJxNDAgMjAgNTkgNTlsNzIgMTJxLTEyLTUzLTUxLTkxLjVUNDI5IDM5NHptLTEwNyA1OXYtNjRxMC0xNy0xMi41LTM0VDI4MyAzMzAuNXQtMjEtMS41bC00NiA0N3EtMzkgMzktMTEuNSAxMjEuNXQxMDUgMTYwIDE2MCAxMDVUNTkwIDc1MWw0Ny00N3E3LTYtLjUtMjAuNVQ2MTIgNjU3dC0zNC0xMmgtNjRsLTM3IDMycS00NC0xMi0xMDkuNS03Ny41VDI5MCA0ODl6bTY0LTMyMGwxMCA2NXExMDAgMiAxODUgNTIuNXQxMzUgMTM1VDc2OSA1NzBsNjUgMTFxMC05MS0zNS41LTE3NFQ3MDMgMjY0dC0xNDMtOTUuNVQzODYgMTMzeiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
129
  </div>
130
  </a>
131
  <?php } ?>
132
  <?php if ( true == $redux_builder_amp['enable-single-hatena-bookmarks'] ) { ?>
133
+ <a title="hatena share" href="http://b.hatena.ne.jp/entry/<?php echo esc_url($amp_permalink); ?>" target="_blank">
134
  <div class="amp-social-icon amp-social-hatena">
135
  <amp-img src="data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' viewBox='0 0 512 512'%3e%3cpath d='M 64 96 L 64 416 L 212 416 C 252 416 292 404 308 368 C 328 332 320 276 284 252 C 272 244 260 240 248 236 C 276 232 300 212 300 184 C 304 156 296 120 268 108 C 236 96 192 96 160 96 L 64 96 z M 364 96 L 364 308 L 444 308 L 444 96 L 364 96 z M 144 156 C 144 156 188 156 200 160 C 224 168 224 208 196 212 C 188 216 144 216 144 216 L 144 156 z M 144 280 C 144 280 188 280 208 284 C 232 288 240 312 228 332 C 220 348 204 348 188 348 L 144 348 L 144 280 z M 404 328 A 44 44 0 0 0 360 372 A 44 44 0 0 0 404 416 A 44 44 0 0 0 448 372 A 44 44 0 0 0 404 328 z' style='fill:%23ffffff'/%3e%3c/svg%3e" width="50" height="20" />
136
  </div>
137
  </a>
138
  <?php } ?>
139
  <?php if ( true == $redux_builder_amp['enable-single-pocket-share'] ) { ?>
140
+ <a title="pocket share" href="https://getpocket.com/save?url=<?php echo esc_url($amp_permalink); ?>" target="_blank">
141
  <div class="amp-social-icon amp-social-pocket">
142
  <amp-img src="data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='2500' height='2251' viewBox='75.247 261.708 445.529 401.074'%3e%3cpath fill='%23EF4056' d='M114.219 261.708c-24.275 1.582-38.972 15.44-38.972 40.088v147.611c0 119.893 119.242 214.114 222.393 213.37 115.986-.837 223.137-98.779 223.137-213.37V301.796c0-24.741-15.626-38.693-40.088-40.088h-366.47zm93.943 120.079L297.64 466.8l89.571-85.013c40.088-16.835 57.574 28.927 41.111 42.321L311.685 535.443c-3.813 3.628-24.183 3.628-27.996 0L167.051 424.107c-15.72-14.789 4.743-61.295 41.111-42.32z'/%3e%3c/svg%3e" width="50" height="20" />
143
  </div>
templates/design-manager/design-2/header-bar.php CHANGED
@@ -23,19 +23,22 @@
23
  <div role="button" tabindex="0" on='tap:sidebar.close' class="close-nav">X</div>
24
  <?php // #1229 ?>
25
  <nav id ="primary-amp-menu" itemscope="" itemtype="https://schema.org/SiteNavigationElement">
26
- <?php
27
- $menu_html_content = wp_nav_menu( array(
28
- 'theme_location' => 'amp-menu' ,
29
- 'link_before' => '<span itemprop="name">',
30
- 'link_after' => '</span>',
31
- 'menu' =>'ul',
32
- 'echo' => false,
33
- 'menu_class' => 'menu amp-menu'
34
- ) );
35
- $menu_html_content = apply_filters('ampforwp_menu_content', $menu_html_content);
36
- $sanitizer_obj = new AMPFORWP_Content( $menu_html_content, array(), apply_filters( 'ampforwp_content_sanitizers', array( 'AMP_Img_Sanitizer' => array(), 'AMP_Style_Sanitizer' => array(), ) ) );
37
- $sanitized_menu = $sanitizer_obj->get_amp_content();
38
- echo $sanitized_menu; ?>
 
 
 
39
  </nav>
40
  <?php do_action('ampforwp_after_amp_menu'); ?>
41
  </div>
23
  <div role="button" tabindex="0" on='tap:sidebar.close' class="close-nav">X</div>
24
  <?php // #1229 ?>
25
  <nav id ="primary-amp-menu" itemscope="" itemtype="https://schema.org/SiteNavigationElement">
26
+ <?php
27
+ require_once AMPFORWP_PLUGIN_DIR.'/classes/class-ampforwp-walker-nav-menu.php';
28
+ $menu_html_content = wp_nav_menu( array(
29
+ 'theme_location' => 'amp-menu' ,
30
+ 'link_before' => '<span itemprop="name">',
31
+ 'link_after' => '</span>',
32
+ 'menu' =>'ul',
33
+ 'echo' => false,
34
+ 'menu_class' => 'menu amp-menu',
35
+ 'walker' => new Ampforwp_Walker_Nav_Menu()
36
+ ) );
37
+ $menu_html_content = apply_filters('ampforwp_menu_content',$menu_html_content);
38
+ $sanitizer_obj = new AMPFORWP_Content( $menu_html_content, array(), apply_filters( 'ampforwp_content_sanitizers', array( 'AMP_Img_Sanitizer' => array(), 'AMP_Style_Sanitizer' => array(), ) ) );
39
+ $sanitized_menu = $sanitizer_obj->get_amp_content();
40
+ echo $sanitized_menu;
41
+ ?>
42
  </nav>
43
  <?php do_action('ampforwp_after_amp_menu'); ?>
44
  </div>
templates/design-manager/design-2/style.php CHANGED
@@ -41,6 +41,9 @@ amp-wistia-player {margin:5px 0px;}
41
  margin: 0 auto;
42
  <?php endif; ?>
43
  }
 
 
 
44
  /* Slide Navigation code */
45
  .nav_container{ padding: 18px 15px; background: #312C7E; color: #fff; text-align: center }
46
  amp-sidebar{ width: 250px; }
@@ -347,8 +350,9 @@ amp-user-notification button { background-color: <?php echo sanitize_hex_color(
347
  .amp-menu li{position:relative}
348
  .amp-menu li.menu-item-has-children ul{display:none;margin:0;background:#222}
349
  .amp-menu li.menu-item-has-children ul ul{background:#444}
350
- .amp-menu li.menu-item-has-children:hover > ul{display:block}
351
- .amp-menu li.menu-item-has-children:after{content:'\25be';position:absolute;padding: 10px 15px 10px 30px;right:0;font-size:18px;color:#ccc;top:0;z-index:10000;line-height:1}
 
352
  .amp-ad-wrapper span { display: inherit; font-size: 12px; line-height: 1;}
353
  <?php // Ads (sitewide)
354
  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-wrapper{ text-align: center; margin-left: -13px; } .amp-ad-wrapper, .amp-wp-article amp-ad{ direction: ltr; } .amp-ad-2{ margin-bottom: 50px; } .amp_home_body .amp_ad_1{ margin-top: 10px; margin-bottom: -20px; }<?php }
41
  margin: 0 auto;
42
  <?php endif; ?>
43
  }
44
+ .wp-block-image.aligncenter amp-img {
45
+ margin: 0 auto;
46
+ }
47
  /* Slide Navigation code */
48
  .nav_container{ padding: 18px 15px; background: #312C7E; color: #fff; text-align: center }
49
  amp-sidebar{ width: 250px; }
350
  .amp-menu li{position:relative}
351
  .amp-menu li.menu-item-has-children ul{display:none;margin:0;background:#222}
352
  .amp-menu li.menu-item-has-children ul ul{background:#444}
353
+ .amp-menu input{display:none}
354
+ .amp-menu [id^=drop]:checked + label + ul{ display: block;}
355
+ .amp-menu .toggle:after{content:'\25be';position:absolute;padding: 10px 15px 10px 30px;right:0;font-size:18px;color:#ccc;top:5px;z-index:10000;line-height:1}
356
  .amp-ad-wrapper span { display: inherit; font-size: 12px; line-height: 1;}
357
  <?php // Ads (sitewide)
358
  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-wrapper{ text-align: center; margin-left: -13px; } .amp-ad-wrapper, .amp-wp-article amp-ad{ direction: ltr; } .amp-ad-2{ margin-bottom: 50px; } .amp_home_body .amp_ad_1{ margin-top: 10px; margin-bottom: -20px; }<?php }
templates/design-manager/design-3/elements/social-icons.php CHANGED
@@ -1,4 +1,11 @@
1
  <?php global $redux_builder_amp, $post;
 
 
 
 
 
 
 
2
  $image = '';
3
  if ( is_single() || (is_page() && isset($redux_builder_amp['ampforwp-page-social']) && true == $redux_builder_amp['ampforwp-page-social']) ) {
4
  if ( has_post_thumbnail( $post->ID ) ) {
@@ -8,7 +15,7 @@ if ( is_single() || (is_page() && isset($redux_builder_amp['ampforwp-page-social
8
  }
9
  $permalink = '';
10
  if ( isset($redux_builder_amp['enable-single-twitter-share-link']) && $redux_builder_amp['enable-single-twitter-share-link'] ) {
11
- $permalink = get_the_permalink();
12
  }
13
  else
14
  $permalink = wp_get_shortlink();
@@ -18,7 +25,7 @@ if ( is_single() || (is_page() && isset($redux_builder_amp['ampforwp-page-social
18
  <i class="icono-share"></i>
19
  <?php if ( true == $redux_builder_amp['ampforwp-facebook-like-button'] ) {
20
  $facebook_like_url = '';
21
- $facebook_like_url = get_the_permalink();
22
  if ( $facebook_like_url ) { ?>
23
  <amp-facebook-like width=90 height=28
24
  layout="fixed"
@@ -30,7 +37,7 @@ if ( is_single() || (is_page() && isset($redux_builder_amp['ampforwp-page-social
30
  } ?>
31
  <?php if ( true == $redux_builder_amp['enable-single-facebook-share'] ) { ?>
32
  <div class="ampforwp-custom-social">
33
- <a title="facebook share" 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">
34
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNDg2LjAzNyAxMDA3IiBmaWxsPSIjZmZmZmZmIiA+PHBhdGggZD0iTTEyNCAxMDA1VjUzNkgwVjM2N2gxMjRWMjIzQzEyNCAxMTAgMTk3IDUgMzY2IDVjNjggMCAxMTkgNyAxMTkgN2wtNCAxNThzLTUyLTEtMTA4LTFjLTYxIDAtNzEgMjgtNzEgNzV2MTIzaDE4M2wtOCAxNjlIMzAydjQ2OUgxMjMiPjwvcGF0aD48L3N2Zz4=" width="16" height="16" />
35
  </a>
36
  </div>
@@ -38,28 +45,28 @@ if ( is_single() || (is_page() && isset($redux_builder_amp['ampforwp-page-social
38
  <?php if ( true == $redux_builder_amp['enable-single-twitter-share'] ) {
39
  $data_param_data = $redux_builder_amp['enable-single-twitter-share-handle']; ?>
40
  <div class="ampforwp-custom-social">
41
- <a title="twitter share" href="https://twitter.com/intent/tweet?url=<?php echo esc_url(get_the_permalink()); ?>&text=<?php echo esc_attr(rawurlencode( get_the_title() )); ?>&via=<?php echo esc_attr($data_param_data); ?>" class="amp-social-icon-rounded amp-social-twitter">
42
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNjQwLjAxNzEgNjAxLjA4NjkiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMCA1MzAuMTU1YzEwLjQyIDEuMDE1IDIwLjgyNiAxLjU0OCAzMS4yMiAxLjU0OCA2MS4wNSAwIDExNS41MjgtMTguNzMgMTYzLjM4Ny01Ni4xNy0yOC40MjQtLjM1Mi01My45MzMtOS4wNC03Ni40NzctMjYuMDQzLTIyLjU3LTE2Ljk5LTM3Ljk4NC0zOC42NzUtNDYuMzIzLTY1LjA1NiA2LjkzMyAxLjQxOCAxNS4xMDIgMi4wOTUgMjQuNDU2IDIuMDk1IDEyLjE1IDAgMjMuNzY3LTEuNTc1IDM0Ljg2Mi00LjY4NC0zMC41MTctNS44NjctNTUuNzY2LTIwLjg5Mi03NS43MS00NC45OTctMTkuOTU0LTI0LjEzMi0yOS45Mi01MS45Ny0yOS45Mi04My41Mjh2LTEuNTc0YzE4LjM5NiAxMC40MiAzOC4zMTIgMTUuODA2IDU5LjgyOCAxNi4xMy0xOC4wMTctMTEuNzk4LTMyLjM0LTI3LjMwNC00Mi45MTUtNDYuNTctMTAuNTc2LTE5LjI0LTE1Ljg3LTQwLjEzLTE1Ljg3LTYyLjY3NCAwLTIzLjU5OCA2LjA4Ny00NS42MDggMTguMjEtNjYuMDk2IDMyLjYgNDAuNTg2IDcyLjQyIDcyLjkzOCAxMTkuNDMyIDk3LjA1NiA0NyAyNC4wOSA5Ny4zNyAzNy41MyAxNTEuMTU4IDQwLjMyNi0yLjQzMi0xMS40NDctMy42NTUtMjEuNTE2LTMuNjU1LTMwLjE4IDAtMzYuMDg1IDEyLjg0LTY2Ljk1NCAzOC41MDUtOTIuNjIgMjUuNjgtMjUuNjY2IDU2LjcwNC0zOC41MDUgOTMuMTUzLTM4LjUwNSAzNy43OSAwIDY5LjcwMiAxMy44OCA5NS43MyA0MS42NCAzMC4xNjgtNi4yNTcgNTcuOTI4LTE3LjAxNSA4My4yNTYtMzIuMjYtOS43MTggMzEuNTU4LTI4LjgxNSA1NS44NDUtNTcuMjM4IDcyLjg0NyAyNS4zMjgtMy4xMSA1MC4zMDQtMTAuMDU2IDc0LjkzLTIwLjgxNC0xNi42NTIgMjYuMDE3LTM4LjMzNyA0OC43NDItNjUuMDU3IDY4LjE1MnYxNy4xOTdjMCAzNC45OTItNS4xMjQgNzAuMTI4LTE1LjM0OCAxMDUuMzU1LTEwLjIxMiAzNS4yMTQtMjUuODUgNjguODUzLTQ2LjgzIDEwMC45NzItMjAuOTk2IDMyLjA2NS00Ni4wNSA2MC42Mi03NS4xOSA4NS41Ny0yOS4xMjYgMjQuOTc2LTY0LjA4IDQ0Ljg1My0xMDQuODUgNTkuNTktNDAuNzU0IDE0Ljc1My04NC41NTMgMjIuMDktMTMxLjM5NyAyMi4wOUMxMjguODYyIDU4OC45NCA2MS43NCA1NjkuMzUgMCA1MzAuMTU0eiI+PC9wYXRoPjwvc3ZnPg==" width="16" height="16" />
43
  </a>
44
  </div>
45
  <?php } ?>
46
  <?php if ( true == $redux_builder_amp['enable-single-gplus-share'] ) { ?>
47
  <div class="ampforwp-custom-social">
48
- <a title="google plus share" href="https://plus.google.com/share?url=<?php echo esc_url(get_the_permalink()); ?>" class="amp-social-icon-rounded amp-social-gplus">
49
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0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TMgOC40MTUgNC42NzcgOS4xNiAxMC4zNDJzLTIuMTUgMTAuMTU0LTYuNDYyIDEwLjAyNHpNNTIgMTZWNGgtNHYxMkgzNnY0aDEydjEyaDRWMjBoMTJ2LTR6Ij48L3BhdGg+PC9zdmc+" width="16" height="16" />
50
  </a>
51
  </div>
52
  <?php } ?>
53
  <?php if ( true == $redux_builder_amp['enable-single-email-share'] ) { ?>
54
  <div class="ampforwp-custom-social">
55
- <a title="mailto" href="mailto:?subject=<?php echo esc_attr(htmlspecialchars( get_the_title() )); ?>&body=<?php echo esc_url(get_the_permalink()); ?>" class="amp-social-icon-rounded amp-social-email">
56
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgODk2IDEwMjYiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMCAxOTN2NjQwaDg5NlYxOTNIMHptNzY4IDY0TDQ0OCA1MjEgMTI4IDI1N2g2NDB6TTY0IDMyMWwyNTIuMDMgMTkxLjYyNUw2NCA3MDVWMzIxem02NCA0NDhsMjU0LTIwNi4yNUw0NDggNjEzbDY1Ljg3NS01MC4xMjVMNzY4IDc2OUgxMjh6bTcwNC02NEw1NzkuNjI1IDUxMi45MzggODMyIDMyMXYzODR6Ij48L3BhdGg+PC9zdmc+" width="16" height="16" />
57
  </a>
58
  </div>
59
  <?php } ?>
60
  <?php if ( true == $redux_builder_amp['enable-single-pinterest-share'] ) { ?>
61
  <div class="ampforwp-custom-social">
62
- <a title="pinterest share" href="https://pinterest.com/pin/create/bookmarklet/?media=<?php echo esc_url($image); ?>&url=<?php echo esc_url(get_the_permalink()); ?>&description=<?php echo esc_attr(htmlspecialchars( get_the_title() )); ?>" target="_blank" class="amp-social-icon-rounded amp-social-pinterest">
63
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNOC42MTcgMTMuMjI3QzguMDkgMTUuOTggNy40NSAxOC42MiA1LjU1IDIwYy0uNTg3LTQuMTYyLjg2LTcuMjg3IDEuNTMzLTEwLjYwNS0xLjE0Ny0xLjkzLjEzOC01LjgxMiAyLjU1NS00Ljg1NSAyLjk3NSAxLjE3Ni0yLjU3NiA3LjE3MiAxLjE1IDcuOTIyIDMuODkuNzggNS40OC02Ljc1IDMuMDY2LTkuMkMxMC4zNy0uMjc0IDMuNzA4IDMuMTggNC41MjggOC4yNDZjLjIgMS4yMzggMS40NzggMS42MTMuNTEgMy4zMjItMi4yMy0uNDk0LTIuODk2LTIuMjU0LTIuODEtNC42LjEzOC0zLjg0IDMuNDUtNi41MjcgNi43Ny02LjkgNC4yMDItLjQ3IDguMTQ1IDEuNTQzIDguNjkgNS40OTQuNjEzIDQuNDYyLTEuODk2IDkuMjk0LTYuMzkgOC45NDYtMS4yMTctLjA5NS0xLjcyNy0uNy0yLjY4LTEuMjh6Ij48L3BhdGg+PC9zdmc+" width="16" height="16" />
64
  </a>
65
  </div>
@@ -73,90 +80,90 @@ if ( is_single() || (is_page() && isset($redux_builder_amp['ampforwp-page-social
73
  <?php } ?>
74
  <?php if ( true == $redux_builder_amp['enable-single-whatsapp-share'] ) { ?>
75
  <div class="ampforwp-custom-social">
76
- <a title="whatsapp share" href="whatsapp://send?text=<?php echo esc_url(get_the_permalink());?>" class="amp-social-icon-rounded amp-social-whatsapp">
77
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lv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zMzYsNjAuMTg2LDY0LjE1NmMxLjk4NC0wLjE3OSw2LjQwNi0yLjU5OSw3LjMxMi01LjEwN0M2OC4zOTgsNTYuNTM3LDY4LjM5OCw1NC4zODYsNjguMTI5LDUzLjkzOHoiIGZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K" width="16" height="16" />
78
  </a>
79
  </div>
80
  <?php } ?>
81
  <?php if ( true == $redux_builder_amp['enable-single-line-share'] ) { ?>
82
  <div class="ampforwp-custom-social">
83
- <a title="line share" class="amp-social-line amp-social-icon-rounded" href="http://line.me/R/msg/text/?<?php echo esc_url(get_the_permalink()); ?>">
84
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0i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4wNDUsMC4wOSw3LjgyNywyLjU0NWwyNS4yMDcsMzQuNzE3Vjk5LjY3NSAgIGMwLTMuODY2LDMuMTM0LTcsNy03YzMuODY2LDAsNywzLjEzNCw3LDdWMTUzLjM3MXogTTIzMy4zMTEsMTU5LjI2OWgtMzQuNjQ1Yy0zLjg2NiwwLTctMy4xMzQtNy03di0yNi44NDdWOTguNTczICAgYzAtMy44NjYsMy4xMzQtNyw3LTdoMzMuNTdjMy44NjYsMCw3LDMuMTM0LDcsN3MtMy4xMzQsNy03LDdoLTI2LjU3djEyLjg0OWgyMS41NjJjMy44NjYsMCw3LDMuMTM0LDcsN2MwLDMuODY2LTMuMTM0LDctNyw3ICAgaC0yMS41NjJ2MTIuODQ3aDI3LjY0NWMzLjg2NiwwLDcsMy4xMzQsNyw3UzIzNy4xNzcsMTU5LjI2OSwyMzMuMzExLDE1OS4yNjl6IiBmaWxsPSIjRkZGRkZGIi8+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==" width="16" height="16" />
85
  </a>
86
  </div>
87
  <?php } ?>
88
  <?php if ( true == $redux_builder_amp['enable-single-vk-share'] ) { ?>
89
  <div class="ampforwp-custom-social">
90
- <a title="vkontakte share" href="http://vk.com/share.php?url=<?php echo esc_url(get_the_permalink()); ?>" class="amp-social-icon-rounded amp-social-vk">
91
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2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LDAuMjU4ICAgYzguMTI3LDEuMzg1LDEwLjM1NCw0Ljg4MSw3Ljg0NCwxMi44MTdjLTMuOTU1LDEyLjQ1MS0xMS42NSwyMi44MjctMTkuMTc0LDMzLjI1MWMtOC4wNDMsMTEuMTI5LTE2LjY0NSwyMS44NzctMjQuNjIxLDMzLjA3MiAgIEMyNTIuMjYsMTYxLjU0NCwyNTIuODQyLDE2Ni42OTcsMjYxLjk0NSwxNzUuNTc2TDI2MS45NDUsMTc1LjU3NnogTTI2MS45NDUsMTc1LjU3NiIgZmlsbD0iI0ZGRkZGRiIvPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=" width="16" height="16" />
92
  </a>
93
  </div>
94
  <?php } ?>
95
  <?php if ( true == $redux_builder_amp['enable-single-odnoklassniki-share'] ) { ?>
96
  <div class="ampforwp-custom-social">
97
- <a title="odnoklassniki share" 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">
98
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzEx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sbD0iI0ZGRkZGRiIvPgoJPC9nPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=" width="16" height="16" />
99
  </a>
100
  </div>
101
  <?php } ?>
102
  <?php if ( true == $redux_builder_amp['enable-single-reddit-share'] ) { ?>
103
  <div class="ampforwp-custom-social">
104
- <a title="reddit share" href="https://reddit.com/submit?url=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(htmlspecialchars( get_the_title() )); ?>" target="_blank" class="amp-social-icon-rounded amp-social-reddit">
105
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNDQ5IDUxMiIgZmlsbD0iI2ZmZmZmZiIgPjxwYXRoIGQ9Ik00NDkgMjUxYzAgMjAtMTEgMzctMjcgNDUgMSA1IDEgOSAxIDE0IDAgNzYtODkgMTM4LTE5OSAxMzhTMjYgMzg3IDI2IDMxMWMwLTUgMC0xMCAxLTE1LTE2LTgtMjctMjUtMjctNDUgMC0yOCAyMy01MCA1MC01MCAxMyAwIDI0IDUgMzMgMTMgMzMtMjMgNzktMzkgMTI5LTQxaDJsMzEtMTAzIDkwIDE4YzgtMTQgMjItMjQgMzktMjRoMWMyNSAwIDQ0IDIwIDQ0IDQ1cy0xOSA0NS00NCA0NWgtMWMtMjMgMC00Mi0xNy00NC00MGwtNjctMTQtMjIgNzRjNDkgMyA5MyAxNyAxMjUgNDAgOS04IDIxLTEzIDM0LTEzIDI3IDAgNDkgMjIgNDkgNTB6TTM0IDI3MWM1LTE1IDE1LTI5IDI5LTQxLTQtMy05LTUtMTUtNS0xNCAwLTI1IDExLTI1IDI1IDAgOSA0IDE3IDExIDIxem0zMjQtMTYyYzAgOSA3IDE3IDE2IDE3czE3LTggMTctMTctOC0xNy0xNy0xNy0xNiA4LTE2IDE3ek0xMjcgMjg4YzAgMTggMTQgMzIgMzIgMzJzMzItMTQgMzItMzItMTQtMzEtMzItMzEtMzIgMTMtMzIgMzF6bTk3IDExMmM0OCAwIDc3LTI5IDc4LTMwbC0xMy0xMnMtMjUgMjQtNjUgMjRjLTQxIDAtNjQtMjQtNjQtMjRsLTEzIDEyYzEgMSAyOSAzMCA3NyAzMHptNjctODBjMTggMCAzMi0xNCAzMi0zMnMtMTQtMzEtMzItMzEtMzIgMTMtMzIgMzEgMTQgMzIgMzIgMzJ6bTEyNC00OGM3LTUgMTEtMTMgMTEtMjIgMC0xNC0xMS0yNS0yNS0yNS02IDAtMTEgMi0xNSA1IDE0IDEyIDI0IDI3IDI5IDQyeiI+PC9wYXRoPjwvc3ZnPg==" width="16" height="16" />
106
  </a>
107
  </div>
108
  <?php } ?>
109
  <?php if ( true == $redux_builder_amp['enable-single-tumblr-share'] ) { ?>
110
  <div class="ampforwp-custom-social">
111
- <a title="tumblr share" href="https://www.tumblr.com/widgets/share/tool?canonicalUrl=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(htmlspecialchars( get_the_title() )); ?>&caption=<?php echo esc_attr(get_the_excerpt()); ?>" target="_blank" class="amp-social-icon-rounded amp-social-tumblr">
112
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNjQgNjQiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMzYuMDAyIDI4djE0LjYzNmMwIDMuNzE0LS4wNDggNS44NTMuMzQ2IDYuOTA2LjM5IDEuMDQ3IDEuMzcgMi4xMzQgMi40MzcgMi43NjMgMS40MTguODUgMy4wMzQgMS4yNzMgNC44NTcgMS4yNzMgMy4yNCAwIDUuMTU1LS40MjggOC4zNi0yLjUzNHY5LjYyYy0yLjczMiAxLjI4Ni01LjExOCAyLjAzOC03LjMzNCAyLjU2LTIuMjIuNTE0LTQuNjE2Ljc3NC03LjE5Ljc3NC0yLjkyOCAwLTQuNjU1LS4zNjgtNi45MDItMS4xMDMtMi4yNDctLjc0Mi00LjE2Ni0xLjgtNS43NS0zLjE2LTEuNTkyLTEuMzctMi42OS0yLjgyNC0zLjMwNC00LjM2M3MtLjkyLTMuNzc2LS45Mi02LjcwM1YyNi4yMjRoLTguNTl2LTkuMDYzYzIuNTE0LS44MTUgNS4zMjQtMS45ODcgNy4xMTItMy41MSAxLjc5Ny0xLjUyNyAzLjIzNS0zLjM1NiA0LjMyLTUuNDk2QzI0LjUzIDYuMDIyIDI1LjI3NiAzLjMgMjUuNjgzIDBoMTAuMzJ2MTZINTJ2MTJIMzYuMDA0eiI+PC9wYXRoPjwvc3ZnPg==" width="16" height="16" />
113
  </a>
114
  </div>
115
  <?php } ?>
116
  <?php if ( true == $redux_builder_amp['enable-single-telegram-share'] ) { ?>
117
  <div class="ampforwp-custom-social">
118
- <a title="telegram share" href="https://telegram.me/share/url?url=<?php echo esc_url(get_the_permalink()); ?>&text=<?php echo esc_attr(htmlspecialchars( get_the_title() )); ?>" target="_blank" class="amp-social-icon-rounded amp-social-telegram">
119
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjYgMjYiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMCAydjguNUwxNSAxMyAwIDE1LjVWMjRsMjYtMTFMMCAyeiI+PC9wYXRoPjwvc3ZnPg==" width="16" height="16" />
120
  </a>
121
  </div>
122
  <?php } ?>
123
  <?php if ( true == $redux_builder_amp['enable-single-digg-share'] ) { ?>
124
  <div class="ampforwp-custom-social">
125
- <a title="digg share" href="http://digg.com/submit?url=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(htmlspecialchars( get_the_title() )); ?>" target="_blank" class="amp-social-icon-rounded amp-social-digg">
126
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjA0OCAxODk2LjA4MzMiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMzI4IDI4MmgyMDR2OTgzSDBWNTY4aDMyOFYyODJ6bTAgODE5VjczMkgyMDV2MzY5aDEyM3ptMjg2LTUzM3Y2OTdoMjA1VjU2OEg2MTR6bTAtMjg2djIwNGgyMDVWMjgySDYxNHptMjg3IDI4Nmg1MzN2OTQySDkwMXYtMTYzaDMyOHYtODJIOTAxVjU2OHptMzI4IDUzM1Y3MzJoLTEyM3YzNjloMTIzem0yODctNTMzaDUzMnY5NDJoLTUzMnYtMTYzaDMyN3YtODJoLTMyN1Y1Njh6bTMyNyA1MzNWNzMyaC0xMjN2MzY5aDEyM3oiPjwvcGF0aD48L3N2Zz4=" width="16" height="16" />
127
  </a>
128
  </div>
129
  <?php } ?>
130
  <?php if ( true == $redux_builder_amp['enable-single-stumbleupon-share'] ) { ?>
131
  <div class="ampforwp-custom-social">
132
- <a title="stumbleupon share" href="http://www.stumbleupon.com/submit?url=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(htmlspecialchars( get_the_title() )); ?>" target="_blank" class="amp-social-icon-rounded amp-social-stumbleupon">
133
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNjcwLjIyMzMgNjAxLjA4NjkiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMCA0MzcuMjQ3di05Mi42NzJoMTE0LjY4OHY5MS42NjRjMCA5LjU2NyAzLjQwOCAxNy44MjMgMTAuMjQgMjQuODNzMTUuMTg0IDEwLjQ5NyAyNS4wODggMTAuNDk3IDE4LjMzNi0zLjQyNCAyNS4zNDQtMTAuMjRjNy4wMDgtNi44NDggMTAuNDk2LTE1LjIgMTAuNDk2LTI1LjA4OFYyMTkuNjQ2YzAtMzkuOTM1IDE0Ljc1Mi03My45ODQgNDQuMjg4LTEwMi4xNDQgMjkuNTM2LTI4LjE2IDY0LjYwOC00Mi4yNCAxMDUuMjE2LTQyLjI0IDQwLjYwOCAwIDc1LjY4IDE0LjE2IDEwNS4yMTYgNDIuNDk2IDI5LjUyIDI4LjMzNSA0NC4zMDUgNjIuNjQgNDQuMzA1IDEwMi45MXY0Ny4xMDRsLTY4LjYyMyAyMC40OC00NS41Ny0yMS41MDN2LTQwLjk2YzAtOS45MDMtMy40MDctMTguMjU2LTEwLjI1NS0yNS4wODgtNi44MTYtNi44MzItMTUuMTgzLTEwLjI0LTI1LjA3Mi0xMC4yNC05LjkwMyAwLTE4LjMzNiAzLjQwOC0yNS4zNDQgMTAuMjRzLTEwLjQ5NiAxNS4xODUtMTAuNDk2IDI1LjA5djIxMy41MDNjMCA0MC45NzYtMTQuNjcyIDc1Ljg3Mi00NC4wMzIgMTA0LjcyLTI5LjM0NCAyOC44NDgtNjQuNTEyIDQzLjI0OC0xMDUuNDcyIDQzLjI0OC00MS4zMSAwLTc2LjY0LTE0LjU5Mi0xMDUuOTg0LTQzLjc3NkMxNC42ODggNTE0LjMwMy4wMDIgNDc4Ljg4LjAwMiA0MzcuMjQ3em0zNzAuNjg4IDEuNTM2di05My42OTVsNDUuNTY4IDIxLjUyIDY4LjYyNC0yMC40OTd2OTQuMjI2YzAgOS45MDMgMy40MDggMTguMzM2IDEwLjIyNCAyNS4zNDQgNi44NDcgNy4wMDcgMTUuMiAxMC40OTYgMjUuMDg3IDEwLjQ5NiA5LjkwNiAwIDE4LjI3NC0zLjUwNCAyNS4wOS0xMC40OTYgNi44MTYtNi45OTMgMTAuMjU1LTE1LjQ0IDEwLjI1NS0yNS4zNDR2LTk1Ljc0NGgxMTQuNjg4djkyLjY3MmMwIDQxLjI5NS0xNC41OSA3Ni42NC00My43NzYgMTA1Ljk4My0yOS4xODQgMjkuMzYtNjQuNDMyIDQ0LjAzMi0xMDUuNzI4IDQ0LjAzMnMtNzYuNjI1LTE0LjQ5Ny0xMDUuOTg1LTQzLjUyYy0yOS4zNi0yOS4wNC00NC4wNDgtNjQuMDE3LTQ0LjA0OC0xMDQuOTc4eiI+PC9wYXRoPjwvc3ZnPg==" width="16" height="16" />
134
  </a>
135
  </div>
136
  <?php } ?>
137
  <?php if ( true == $redux_builder_amp['enable-single-wechat-share'] ) { ?>
138
  <div class="ampforwp-custom-social">
139
- <a title="wechat share" 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">
140
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rI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S41LTI2NFQxMTIxIDY3Ni41dDMxMS03MC41cTE2MSAwIDMwMyA3MC41dDIyNy41IDE5MlQyMDQ4IDExMzJ6Ij48L3BhdGg+PC9zdmc+" width="16" height="16" />
141
  </a>
142
  </div>
143
  <?php } ?>
144
  <?php if ( true == $redux_builder_amp['enable-single-viber-share'] ) { ?>
145
  <div class="ampforwp-custom-social">
146
- <a title="viber share" href="viber://forward?text=<?php echo esc_url(get_the_permalink()); ?>" target="_blank" class="amp-social-icon-rounded amp-social-viber">
147
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTAyNiAxMjM0IiBmaWxsPSIjZmZmZmZmIiA+PHBhdGggZD0iTTkwNCA3OTRxLTY5IDYxLTIwMCA4Ny41VDQzNCA4OTdsLTE3NiAxMzJWODY0cS04Ny0yNy0xMzYtNzAtNTgtNTEtOTAtMTQ2LjV0LTMyLTE5NSAzMi0xOTUgOTAuNS0xNDcgMTY3LjUtNzlUNTEzIDR0MjIzIDI3LjUgMTY3LjUgNzkgOTAuNSAxNDcgMzIgMTk1LTMyIDE5NVQ5MDQgNzk0ek02MzkgNTQ5bDY1IDExcS04LTEyMC05Mi41LTIwNVQ0MDcgMjYybDExIDY1cTg2IDExIDE0OCA3M3Q3MyAxNDl6TTQyOSAzOTRsMTIgNzJxNDAgMjAgNTkgNTlsNzIgMTJxLTEyLTUzLTUxLTkxLjVUNDI5IDM5NHptLTEwNyA1OXYtNjRxMC0xNy0xMi41LTM0VDI4MyAzMzAuNXQtMjEtMS41bC00NiA0N3EtMzkgMzktMTEuNSAxMjEuNXQxMDUgMTYwIDE2MCAxMDVUNTkwIDc1MWw0Ny00N3E3LTYtLjUtMjAuNVQ2MTIgNjU3dC0zNC0xMmgtNjRsLTM3IDMycS00NC0xMi0xMDkuNS03Ny41VDI5MCA0ODl6bTY0LTMyMGwxMCA2NXExMDAgMiAxODUgNTIuNXQxMzUgMTM1VDc2OSA1NzBsNjUgMTFxMC05MS0zNS41LTE3NFQ3MDMgMjY0dC0xNDMtOTUuNVQzODYgMTMzeiI+PC9wYXRoPjwvc3ZnPg==" width="16" height="16" />
148
  </a>
149
  </div>
150
  <?php } ?>
151
  <?php if ( true == $redux_builder_amp['enable-single-hatena-bookmarks'] ) { ?>
152
- <a title="hatena share" href="http://b.hatena.ne.jp/entry/<?php echo esc_url(get_the_permalink()); ?>" target="_blank">
153
  <div class="amp-social-icon-rounded amp-social-hatena">
154
  <amp-img src="data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' viewBox='0 0 512 512'%3e%3cpath d='M 64 96 L 64 416 L 212 416 C 252 416 292 404 308 368 C 328 332 320 276 284 252 C 272 244 260 240 248 236 C 276 232 300 212 300 184 C 304 156 296 120 268 108 C 236 96 192 96 160 96 L 64 96 z M 364 96 L 364 308 L 444 308 L 444 96 L 364 96 z M 144 156 C 144 156 188 156 200 160 C 224 168 224 208 196 212 C 188 216 144 216 144 216 L 144 156 z M 144 280 C 144 280 188 280 208 284 C 232 288 240 312 228 332 C 220 348 204 348 188 348 L 144 348 L 144 280 z M 404 328 A 44 44 0 0 0 360 372 A 44 44 0 0 0 404 416 A 44 44 0 0 0 448 372 A 44 44 0 0 0 404 328 z' style='fill:%23ffffff'/%3e%3c/svg%3e" width="16" height="16" />
155
  </div>
156
  </a>
157
  <?php } ?>
158
  <?php if ( true == $redux_builder_amp['enable-single-pocket-share'] ) { ?>
159
- <a title="pocket share" href="https://getpocket.com/save?url=<?php echo esc_url(get_the_permalink()); ?>" target="_blank">
160
  <div class="amp-social-icon-rounded amp-social-pocket">
161
  <amp-img src="data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='2500' height='2251' viewBox='75.247 261.708 445.529 401.074'%3e%3cpath fill='%23EF4056' d='M114.219 261.708c-24.275 1.582-38.972 15.44-38.972 40.088v147.611c0 119.893 119.242 214.114 222.393 213.37 115.986-.837 223.137-98.779 223.137-213.37V301.796c0-24.741-15.626-38.693-40.088-40.088h-366.47zm93.943 120.079L297.64 466.8l89.571-85.013c40.088-16.835 57.574 28.927 41.111 42.321L311.685 535.443c-3.813 3.628-24.183 3.628-27.996 0L167.051 424.107c-15.72-14.789 4.743-61.295 41.111-42.32z'/%3e%3c/svg%3e" width="16" height="16" />
162
  </div>
1
  <?php global $redux_builder_amp, $post;
2
+ // Social share in AMP
3
+ $amp_permalink = "";
4
+ if ( ampforwp_get_setting('ampforwp-social-share-amp') ) {
5
+ $amp_permalink = ampforwp_url_controller(get_the_permalink());
6
+ } else{
7
+ $amp_permalink = get_the_permalink();
8
+ }
9
  $image = '';
10
  if ( is_single() || (is_page() && isset($redux_builder_amp['ampforwp-page-social']) && true == $redux_builder_amp['ampforwp-page-social']) ) {
11
  if ( has_post_thumbnail( $post->ID ) ) {
15
  }
16
  $permalink = '';
17
  if ( isset($redux_builder_amp['enable-single-twitter-share-link']) && $redux_builder_amp['enable-single-twitter-share-link'] ) {
18
+ $permalink = $amp_permalink;
19
  }
20
  else
21
  $permalink = wp_get_shortlink();
25
  <i class="icono-share"></i>
26
  <?php if ( true == $redux_builder_amp['ampforwp-facebook-like-button'] ) {
27
  $facebook_like_url = '';
28
+ $facebook_like_url = $amp_permalink;
29
  if ( $facebook_like_url ) { ?>
30
  <amp-facebook-like width=90 height=28
31
  layout="fixed"
37
  } ?>
38
  <?php if ( true == $redux_builder_amp['enable-single-facebook-share'] ) { ?>
39
  <div class="ampforwp-custom-social">
40
+ <a title="facebook share" 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($amp_permalink); ?>" class="amp-social-icon-rounded amp-social-facebook">
41
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNDg2LjAzNyAxMDA3IiBmaWxsPSIjZmZmZmZmIiA+PHBhdGggZD0iTTEyNCAxMDA1VjUzNkgwVjM2N2gxMjRWMjIzQzEyNCAxMTAgMTk3IDUgMzY2IDVjNjggMCAxMTkgNyAxMTkgN2wtNCAxNThzLTUyLTEtMTA4LTFjLTYxIDAtNzEgMjgtNzEgNzV2MTIzaDE4M2wtOCAxNjlIMzAydjQ2OUgxMjMiPjwvcGF0aD48L3N2Zz4=" width="16" height="16" />
42
  </a>
43
  </div>
45
  <?php if ( true == $redux_builder_amp['enable-single-twitter-share'] ) {
46
  $data_param_data = $redux_builder_amp['enable-single-twitter-share-handle']; ?>
47
  <div class="ampforwp-custom-social">
48
+ <a title="twitter share" href="https://twitter.com/intent/tweet?url=<?php echo esc_url($amp_permalink); ?>&text=<?php echo esc_attr(rawurlencode( get_the_title() )); ?>&via=<?php echo esc_attr($data_param_data); ?>" class="amp-social-icon-rounded amp-social-twitter">
49
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNjQwLjAxNzEgNjAxLjA4NjkiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMCA1MzAuMTU1YzEwLjQyIDEuMDE1IDIwLjgyNiAxLjU0OCAzMS4yMiAxLjU0OCA2MS4wNSAwIDExNS41MjgtMTguNzMgMTYzLjM4Ny01Ni4xNy0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NzAuMTI4LTE1LjM0OCAxMDUuMzU1LTEwLjIxMiAzNS4yMTQtMjUuODUgNjguODUzLTQ2LjgzIDEwMC45NzItMjAuOTk2IDMyLjA2NS00Ni4wNSA2MC42Mi03NS4xOSA4NS41Ny0yOS4xMjYgMjQuOTc2LTY0LjA4IDQ0Ljg1My0xMDQuODUgNTkuNTktNDAuNzU0IDE0Ljc1My04NC41NTMgMjIuMDktMTMxLjM5NyAyMi4wOUMxMjguODYyIDU4OC45NCA2MS43NCA1NjkuMzUgMCA1MzAuMTU0eiI+PC9wYXRoPjwvc3ZnPg==" width="16" height="16" />
50
  </a>
51
  </div>
52
  <?php } ?>
53
  <?php if ( true == $redux_builder_amp['enable-single-gplus-share'] ) { ?>
54
  <div class="ampforwp-custom-social">
55
+ <a title="google plus share" href="https://plus.google.com/share?url=<?php echo esc_url($amp_permalink); ?>" class="amp-social-icon-rounded amp-social-gplus">
56
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNjQgNjQiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMzQuOTQyIDRIMTguMTk2QzEwLjY4OCA0IDMuNjIzIDkuNjg4IDMuNjIzIDE2LjI3NmMwIDYuNzMzIDUuMTE4IDEyLjE2NyAxMi43NTUgMTIuMTY3LjUzIDAgMS4wNDctLjAxIDEuNTUzLS4wNDctLjQ5NS45NS0uODUgMi4wMTgtLjg1IDMuMTI4IDAgMS44NyAxLjAwNyAzLjM4OCAyLjI4IDQuNjI3LS45NjIgMC0xLjg5LjAzLTIuOTAzLjAzQzcuMTU3IDM2LjE4IDAgNDIuMSAwIDQ4LjI0MmMwIDYuMDUgNy44NDcgOS44MzIgMTcuMTQ3IDkuODMyIDEwLjYwMiAwIDE2LjQ1Ny02LjAxNSAxNi40NTctMTIuMDY0IDAtNC44NS0xLjQzLTcuNzU0LTUuODU1LTEwLjg4Mi0xLjUxNS0xLjA3Mi00LjQxLTMuNjc3LTQuNDEtNS4yMSAwLTEuNzk0LjUxMy0yLjY3OCAzLjIxNS00Ljc5IDIuNzctMi4xNjMgNC43My01LjIwNSA0LjczLTguNzQ0IDAtNC4yMTMtMS44NzYtOC4zMi01LjM5OC05LjY3M2g1LjMxbDMuNzQ4LTIuNzA4em0tNS44NSA0MC45NjZjLjEzNC41Ni4yMDYgMS4xMzguMjA2IDEuNzI3IDAgNC44ODgtMy4xNSA4LjcwNy0xMi4xODYgOC43MDctNi40MjggMC0xMS4wNy00LjA3LTExLjA3LTguOTU2IDAtNC43OSA1Ljc1OC04Ljc3OCAxMi4xODUtOC43MDggMS41LjAxNiAyLjg5OC4yNTcgNC4xNjcuNjY4IDMuNDkgMi40MjcgNS45OTIgMy43OTggNi42OTggNi41NjN6bS0xMC4yOS0xOC4yM2MtNC4zMTYtLjEzLTguNDE2LTQuODI3LTkuMTYtMTAuNDktLjc0NS01LjY2OCAyLjE0OC0xMC4wMDQgNi40NjItOS44NzUgNC4zMTMuMTMgOC40MTUgNC42NzcgOS4xNiAxMC4zNDJzLTIuMTUgMTAuMTU0LTYuNDYyIDEwLjAyNHpNNTIgMTZWNGgtNHYxMkgzNnY0aDEydjEyaDRWMjBoMTJ2LTR6Ij48L3BhdGg+PC9zdmc+" width="16" height="16" />
57
  </a>
58
  </div>
59
  <?php } ?>
60
  <?php if ( true == $redux_builder_amp['enable-single-email-share'] ) { ?>
61
  <div class="ampforwp-custom-social">
62
+ <a title="mailto" href="mailto:?subject=<?php echo esc_attr(htmlspecialchars( get_the_title() )); ?>&body=<?php echo esc_url($amp_permalink); ?>" class="amp-social-icon-rounded amp-social-email">
63
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgODk2IDEwMjYiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMCAxOTN2NjQwaDg5NlYxOTNIMHptNzY4IDY0TDQ0OCA1MjEgMTI4IDI1N2g2NDB6TTY0IDMyMWwyNTIuMDMgMTkxLjYyNUw2NCA3MDVWMzIxem02NCA0NDhsMjU0LTIwNi4yNUw0NDggNjEzbDY1Ljg3NS01MC4xMjVMNzY4IDc2OUgxMjh6bTcwNC02NEw1NzkuNjI1IDUxMi45MzggODMyIDMyMXYzODR6Ij48L3BhdGg+PC9zdmc+" width="16" height="16" />
64
  </a>
65
  </div>
66
  <?php } ?>
67
  <?php if ( true == $redux_builder_amp['enable-single-pinterest-share'] ) { ?>
68
  <div class="ampforwp-custom-social">
69
+ <a title="pinterest share" href="https://pinterest.com/pin/create/bookmarklet/?media=<?php echo esc_url($image); ?>&url=<?php echo esc_url($amp_permalink); ?>&description=<?php echo esc_attr(htmlspecialchars( get_the_title() )); ?>" target="_blank" class="amp-social-icon-rounded amp-social-pinterest">
70
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNOC42MTcgMTMuMjI3QzguMDkgMTUuOTggNy40NSAxOC42MiA1LjU1IDIwYy0uNTg3LTQuMTYyLjg2LTcuMjg3IDEuNTMzLTEwLjYwNS0xLjE0Ny0xLjkzLjEzOC01LjgxMiAyLjU1NS00Ljg1NSAyLjk3NSAxLjE3Ni0yLjU3NiA3LjE3MiAxLjE1IDcuOTIyIDMuODkuNzggNS40OC02Ljc1IDMuMDY2LTkuMkMxMC4zNy0uMjc0IDMuNzA4IDMuMTggNC41MjggOC4yNDZjLjIgMS4yMzggMS40NzggMS42MTMuNTEgMy4zMjItMi4yMy0uNDk0LTIuODk2LTIuMjU0LTIuODEtNC42LjEzOC0zLjg0IDMuNDUtNi41MjcgNi43Ny02LjkgNC4yMDItLjQ3IDguMTQ1IDEuNTQzIDguNjkgNS40OTQuNjEzIDQuNDYyLTEuODk2IDkuMjk0LTYuMzkgOC45NDYtMS4yMTctLjA5NS0xLjcyNy0uNy0yLjY4LTEuMjh6Ij48L3BhdGg+PC9zdmc+" width="16" height="16" />
71
  </a>
72
  </div>
80
  <?php } ?>
81
  <?php if ( true == $redux_builder_amp['enable-single-whatsapp-share'] ) { ?>
82
  <div class="ampforwp-custom-social">
83
+ <a title="whatsapp share" href="whatsapp://send?text=<?php echo esc_url($amp_permalink);?>" class="amp-social-icon-rounded amp-social-whatsapp">
84
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIg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UuMzMzICAgYy0zLjIxOS0yLjg0OC01LjM5My02LjM2NC02LjAyNS03LjQ0MWMtMC42MzEtMS4wNzUtMC4wNjYtMS42NTYsMC40NzUtMi4xOTFjMC40ODgtMC40ODIsMS4wODQtMS4yNTUsMS42MjUtMS44ODIgICBjMC41NDMtMC42MjgsMC43MjMtMS4wNzUsMS4wODItMS43OTNjMC4zNjMtMC43MTcsMC4xODItMS4zNDQtMC4wOS0xLjg4M2MtMC4yNy0wLjUzNy0yLjQzOC01LjgyNS0zLjM0LTcuOTc3ICAgYy0wLjkwMi0yLjE1LTEuODAzLTEuNzkyLTIuNDM2LTEuNzkyYy0wLjYzMSwwLTEuMzU0LTAuMDktMi4wNzYtMC4wOWMtMC43MjIsMC0xLjg5NiwwLjI2OS0yLjg4OSwxLjM0NCAgIGMtMC45OTIsMS4wNzYtMy43ODksMy42NzYtMy43ODksOC45NjNjMCw1LjI4OCwzLjg3OSwxMC4zOTcsNC40MjIsMTEuMTEzYzAuNTQxLDAuNzE2LDcuNDksMTEuOTIsMTguNSwxNi4yMjMgICBDNTguMiw2NS43NzEsNTguMiw2NC4zMzYsNjAuMTg2LDY0LjE1NmMxLjk4NC0wLjE3OSw2LjQwNi0yLjU5OSw3LjMxMi01LjEwN0M2OC4zOTgsNTYuNTM3LDY4LjM5OCw1NC4zODYsNjguMTI5LDUzLjkzOHoiIGZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K" width="16" height="16" />
85
  </a>
86
  </div>
87
  <?php } ?>
88
  <?php if ( true == $redux_builder_amp['enable-single-line-share'] ) { ?>
89
  <div class="ampforwp-custom-social">
90
+ <a title="line share" class="amp-social-line amp-social-icon-rounded" href="http://line.me/R/msg/text/?<?php echo esc_url($amp_permalink); ?>">
91
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDI5Ni41MjggMjk2LjUyOCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjk2LjUyOCAyOTYuNTI4OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjI0cHgiIGhlaWdodD0iMjRweCI+CjxnPgoJPHBhdGggZD0iTTI5NS44MzgsMTE1LjM0N2wwLjAwMy0wLjAwMWwtMC4wOTItMC43NmMtMC4wMDEtMC4wMTMtMC4wMDItMC4wMjMtMC4wMDQtMC4wMzZjLTAuMDAxLTAuMDExLTAuMDAyLTAuMDIxLTAuMDA0LTAuMDMyICAgbC0wLjM0NC0yLjg1OGMtMC4wNjktMC41NzQtMC4xNDgtMS4yMjgtMC4yMzgtMS45NzRsLTAuMDcyLTAuNTk0bC0wLjE0NywwLjAxOGMtMy42MTctMjAuNTcxLTEzLj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4yNjl6IiBmaWxsPSIjRkZGRkZGIi8+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==" width="16" height="16" />
92
  </a>
93
  </div>
94
  <?php } ?>
95
  <?php if ( true == $redux_builder_amp['enable-single-vk-share'] ) { ?>
96
  <div class="ampforwp-custom-social">
97
+ <a title="vkontakte share" href="http://vk.com/share.php?url=<?php echo esc_url($amp_permalink); ?>" class="amp-social-icon-rounded amp-social-vk">
98
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCAzMDQuMzYgMzA0LjM2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAzMDQuMzYgMzA0LjM2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjUxMnB4IiBoZWlnaHQ9IjUxMnB4Ij4KPGcgaWQ9IlhNTElEXzFfIj4KCTxwYXRoIGlkPSJYTUxJRF84MDdfIiBzdHlsZT0iZmlsbC1ydWxlOmV2ZW5vZG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2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=" width="16" height="16" />
99
  </a>
100
  </div>
101
  <?php } ?>
102
  <?php if ( true == $redux_builder_amp['enable-single-odnoklassniki-share'] ) { ?>
103
  <div class="ampforwp-custom-social">
104
+ <a title="odnoklassniki share" href="https://ok.ru/dk?st.cmd=addShare&st._surl=<?php echo esc_url($amp_permalink); ?>" target="_blank" class="amp-social-icon-rounded amp-social-odnoklassniki">
105
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDk1LjQ4MSA5NS40ODEiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDk1LjQ4MSA5NS40ODE7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNNDMuMDQxLDY3LjI1NGMtNy40MDItMC43NzItMTQuMDc2LTIuNTk1LTE5Ljc5LTcuMDY0Yy0wLjcwOS0wLjU1Ni0xLjQ0M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NS0xNi4zMjIgICAgQzQyLjE4Myw2OC4xOTcsNDIuNTE4LDY3LjgxMyw0My4wNDEsNjcuMjU0eiIgZmlsbD0iI0ZGRkZGRiIvPgoJCTxwYXRoIGQ9Ik00Ny41NSw0OC4zMjljLTEzLjIwNS0wLjA0NS0yNC4wMzMtMTAuOTkyLTIzLjk1Ni0yNC4yMThDMjMuNjcsMTAuNzM5LDM0LjUwNS0wLjAzNyw0Ny44NCwwICAgIGMxMy4zNjIsMC4wMzYsMjQuMDg3LDEwLjk2NywyNC4wMiwyNC40NzhDNzEuNzkyLDM3LjY3Nyw2MC44ODksNDguMzc1LDQ3LjU1LDQ4LjMyOXogTTU5LjU1MSwyNC4xNDMgICAgYy0wLjAyMy02LjU2Ny01LjI1My0xMS43OTUtMTEuODA3LTExLjgwMWMtNi42MDktMC4wMDctMTEuODg2LDUuMzE2LTExLjgzNSwxMS45NDNjMC4wNDksNi41NDIsNS4zMjQsMTEuNzMzLDExLjg5NiwxMS43MDkgICAgQzU0LjM1NywzNS45NzEsNTkuNTczLDMwLjcwOSw1OS41NTEsMjQuMTQzeiIgZmlsbD0iI0ZGRkZGRiIvPgoJPC9nPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=" width="16" height="16" />
106
  </a>
107
  </div>
108
  <?php } ?>
109
  <?php if ( true == $redux_builder_amp['enable-single-reddit-share'] ) { ?>
110
  <div class="ampforwp-custom-social">
111
+ <a title="reddit share" href="https://reddit.com/submit?url=<?php echo esc_url($amp_permalink); ?>&title=<?php echo esc_attr(htmlspecialchars( get_the_title() )); ?>" target="_blank" class="amp-social-icon-rounded amp-social-reddit">
112
  <amp-img src="data:image/svg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EgMTQgMzIgMzIgMzJ6bTEyNC00OGM3LTUgMTEtMTMgMTEtMjIgMC0xNC0xMS0yNS0yNS0yNS02IDAtMTEgMi0xNSA1IDE0IDEyIDI0IDI3IDI5IDQyeiI+PC9wYXRoPjwvc3ZnPg==" width="16" height="16" />
113
  </a>
114
  </div>
115
  <?php } ?>
116
  <?php if ( true == $redux_builder_amp['enable-single-tumblr-share'] ) { ?>
117
  <div class="ampforwp-custom-social">
118
+ <a title="tumblr share" href="https://www.tumblr.com/widgets/share/tool?canonicalUrl=<?php echo esc_url($amp_permalink); ?>&title=<?php echo esc_attr(htmlspecialchars( get_the_title() )); ?>&caption=<?php echo esc_attr(get_the_excerpt()); ?>" target="_blank" class="amp-social-icon-rounded amp-social-tumblr">
119
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNjQgNjQiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMzYuMDAyIDI4djE0LjYzNmMwIDMuNzE0LS4wNDggNS44NTMuMzQ2IDYuOTA2LjM5IDEuMDQ3IDEuMzcgMi4xMzQgMi40MzcgMi43NjMgMS40MTguODUgMy4wMzQgMS4yNzMgNC44NTcgMS4yNzMgMy4yNCAwIDUuMTU1LS40MjggOC4zNi0yLjUzNHY5LjYyYy0yLjczMiAxLjI4Ni01LjExOCAyLjAzOC03LjMzNCAyLjU2LTIuMjIuNTE0LTQuNjE2Ljc3NC03LjE5Ljc3NC0yLjkyOCAwLTQuNjU1LS4zNjgtNi45MDItMS4xMDMtMi4yNDctLjc0Mi00LjE2Ni0xLjgtNS43NS0zLjE2LTEuNTkyLTEuMzctMi42OS0yLjgyNC0zLjMwNC00LjM2M3MtLjkyLTMuNzc2LS45Mi02LjcwM1YyNi4yMjRoLTguNTl2LTkuMDYzYzIuNTE0LS44MTUgNS4zMjQtMS45ODcgNy4xMTItMy41MSAxLjc5Ny0xLjUyNyAzLjIzNS0zLjM1NiA0LjMyLTUuNDk2QzI0LjUzIDYuMDIyIDI1LjI3NiAzLjMgMjUuNjgzIDBoMTAuMzJ2MTZINTJ2MTJIMzYuMDA0eiI+PC9wYXRoPjwvc3ZnPg==" width="16" height="16" />
120
  </a>
121
  </div>
122
  <?php } ?>
123
  <?php if ( true == $redux_builder_amp['enable-single-telegram-share'] ) { ?>
124
  <div class="ampforwp-custom-social">
125
+ <a title="telegram share" href="https://telegram.me/share/url?url=<?php echo esc_url($amp_permalink); ?>&text=<?php echo esc_attr(htmlspecialchars( get_the_title() )); ?>" target="_blank" class="amp-social-icon-rounded amp-social-telegram">
126
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjYgMjYiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMCAydjguNUwxNSAxMyAwIDE1LjVWMjRsMjYtMTFMMCAyeiI+PC9wYXRoPjwvc3ZnPg==" width="16" height="16" />
127
  </a>
128
  </div>
129
  <?php } ?>
130
  <?php if ( true == $redux_builder_amp['enable-single-digg-share'] ) { ?>
131
  <div class="ampforwp-custom-social">
132
+ <a title="digg share" href="http://digg.com/submit?url=<?php echo esc_url($amp_permalink); ?>&title=<?php echo esc_attr(htmlspecialchars( get_the_title() )); ?>" target="_blank" class="amp-social-icon-rounded amp-social-digg">
133
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjA0OCAxODk2LjA4MzMiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMzI4IDI4MmgyMDR2OTgzSDBWNTY4aDMyOFYyODJ6bTAgODE5VjczMkgyMDV2MzY5aDEyM3ptMjg2LTUzM3Y2OTdoMjA1VjU2OEg2MTR6bTAtMjg2djIwNGgyMDVWMjgySDYxNHptMjg3IDI4Nmg1MzN2OTQySDkwMXYtMTYzaDMyOHYtODJIOTAxVjU2OHptMzI4IDUzM1Y3MzJoLTEyM3YzNjloMTIzem0yODctNTMzaDUzMnY5NDJoLTUzMnYtMTYzaDMyN3YtODJoLTMyN1Y1Njh6bTMyNyA1MzNWNzMyaC0xMjN2MzY5aDEyM3oiPjwvcGF0aD48L3N2Zz4=" width="16" height="16" />
134
  </a>
135
  </div>
136
  <?php } ?>
137
  <?php if ( true == $redux_builder_amp['enable-single-stumbleupon-share'] ) { ?>
138
  <div class="ampforwp-custom-social">
139
+ <a title="stumbleupon share" href="http://www.stumbleupon.com/submit?url=<?php echo esc_url($amp_permalink); ?>&title=<?php echo esc_attr(htmlspecialchars( get_the_title() )); ?>" target="_blank" class="amp-social-icon-rounded amp-social-stumbleupon">
140
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNjcwLjIyMzMgNjAxLjA4NjkiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMCA0MzcuMjQ3di05Mi42NzJoMTE0LjY4OHY5MS42NjRjMCA5LjU2NyAzLjQwOCAxNy44MjMgMTAuMjQgMjQuODNzMTUuMTg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Tk1Ljc0NGgxMTQuNjg4djkyLjY3MmMwIDQxLjI5NS0xNC41OSA3Ni42NC00My43NzYgMTA1Ljk4My0yOS4xODQgMjkuMzYtNjQuNDMyIDQ0LjAzMi0xMDUuNzI4IDQ0LjAzMnMtNzYuNjI1LTE0LjQ5Ny0xMDUuOTg1LTQzLjUyYy0yOS4zNi0yOS4wNC00NC4wNDgtNjQuMDE3LTQ0LjA0OC0xMDQuOTc4eiI+PC9wYXRoPjwvc3ZnPg==" width="16" height="16" />
141
  </a>
142
  </div>
143
  <?php } ?>
144
  <?php if ( true == $redux_builder_amp['enable-single-wechat-share'] ) { ?>
145
  <div class="ampforwp-custom-social">
146
+ <a title="wechat share" href="http://api.addthis.com/oexchange/0.8/forward/wechat/offer?url=<?php echo esc_url($amp_permalink); ?>" target="_blank" class="amp-social-icon-rounded amp-social-wechat">
147
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjA0OCAxODk2LjA4MzMiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNNTgwIDQ2MXEwLTQxLTI1LTY2dC02Ni0yNXEtNDMgMC03NiAyNS41VDM4MCA0NjFxMCAzOSAzMyA2NC41dDc2IDI1LjVxNDEgMCA2Ni0yNC41dDI1LTY1LjV6bTc0MyA1MDdxMC0yOC0yNS41LTUwdC02NS41LTIycS0yNyAwLTQ5LjUgMjIuNVQxMTYwIDk2OHEwIDI4IDIyLjUgNTAuNXQ0OS41IDIyLjVxNDAgMCA2NS41LTIydDI1LjUtNTF6bS0yMzYtNTA3cTAtNDEtMjQuNS02NlQ5OTcgMzcwcS00MyAwLTc2IDI1LjVUODg4IDQ2MXEwIDM5IDMzIDY0LjV0NzYgMjUuNXE0MSAwIDY1LjUtMjQuNVQxMDg3IDQ2MXptNjM1IDUwN3EwLTI4LTI2LTUwdC02NS0yMnEtMjcgMC00OS41IDIyLjVUMTU1OSA5NjhxMCAyOCAyMi41IDUwLjV0NDkuNSAyMi41cTM5IDAgNjUtMjJ0MjYtNTF6bS0yNjYtMzk3cS0zMS00LTcwLTQtMTY5IDAtMzExIDc3VDg1MS41IDg1Mi41IDc3MCAxMTQwcTAgNzggMjMgMTUyLTM1IDMtNjggMy0yNiAwLTUwLTEuNXQtNTUtNi41LTQ0LjUtNy01NC41LTEwLjUtNTAtMTAuNWwtMjUzIDEyNyA3Mi0yMThRMCA5NjUgMCA2NzhxMC0xNjkgOTcuNS0zMTF0MjY0LTIyMy41VDcyNSA2MnExNzYgMCAzMzIuNSA2NnQyNjIgMTgyLjVUMTQ1NiA1NzF6bTU5MiA1NjFxMCAxMTctNjguNSAyMjMuNVQxNzk0IDE1NDlsNTUgMTgxLTE5OS0xMDlxLTE1MCAzNy0yMTggMzctMTY5IDAtMzExLTcwLjVUODk3LjUgMTM5NiA4MTYgMTEzMnQ4MS41LTI2NFQxMTIxIDY3Ni41dDMxMS03MC41cTE2MSAwIDMwMyA3MC41dDIyNy41IDE5MlQyMDQ4IDExMzJ6Ij48L3BhdGg+PC9zdmc+" width="16" height="16" />
148
  </a>
149
  </div>
150
  <?php } ?>
151
  <?php if ( true == $redux_builder_amp['enable-single-viber-share'] ) { ?>
152
  <div class="ampforwp-custom-social">
153
+ <a title="viber share" href="viber://forward?text=<?php echo esc_url($amp_permalink); ?>" target="_blank" class="amp-social-icon-rounded amp-social-viber">
154
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTAyNiAxMjM0IiBmaWxsPSIjZmZmZmZmIiA+PHBhdGggZD0iTTkwNCA3OTRxLTY5IDYxLTIwMCA4Ny41VDQzNCA4OTdsLTE3NiAxMzJWODY0cS04Ny0yNy0xMzYtNzAtNTgtNTEtOTAtMTQ2LjV0LTMyLTE5NSAzMi0xOTUgOTAuNS0xNDcgMTY3LjUtNzlUNTEzIDR0MjIzIDI3LjUgMTY3LjUgNzkgOTAuNSAxNDcgMzIgMTk1LTMyIDE5NVQ5MDQgNzk0ek02MzkgNTQ5bDY1IDExcS04LTEyMC05Mi41LTIwNVQ0MDcgMjYybDExIDY1cTg2IDExIDE0OCA3M3Q3MyAxNDl6TTQyOSAzOTRsMTIgNzJxNDAgMjAgNTkgNTlsNzIgMTJxLTEyLTUzLTUxLTkxLjVUNDI5IDM5NHptLTEwNyA1OXYtNjRxMC0xNy0xMi41LTM0VDI4MyAzMzAuNXQtMjEtMS41bC00NiA0N3EtMzkgMzktMTEuNSAxMjEuNXQxMDUgMTYwIDE2MCAxMDVUNTkwIDc1MWw0Ny00N3E3LTYtLjUtMjAuNVQ2MTIgNjU3dC0zNC0xMmgtNjRsLTM3IDMycS00NC0xMi0xMDkuNS03Ny41VDI5MCA0ODl6bTY0LTMyMGwxMCA2NXExMDAgMiAxODUgNTIuNXQxMzUgMTM1VDc2OSA1NzBsNjUgMTFxMC05MS0zNS41LTE3NFQ3MDMgMjY0dC0xNDMtOTUuNVQzODYgMTMzeiI+PC9wYXRoPjwvc3ZnPg==" width="16" height="16" />
155
  </a>
156
  </div>
157
  <?php } ?>
158
  <?php if ( true == $redux_builder_amp['enable-single-hatena-bookmarks'] ) { ?>
159
+ <a title="hatena share" href="http://b.hatena.ne.jp/entry/<?php echo esc_url($amp_permalink); ?>" target="_blank">
160
  <div class="amp-social-icon-rounded amp-social-hatena">
161
  <amp-img src="data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' viewBox='0 0 512 512'%3e%3cpath d='M 64 96 L 64 416 L 212 416 C 252 416 292 404 308 368 C 328 332 320 276 284 252 C 272 244 260 240 248 236 C 276 232 300 212 300 184 C 304 156 296 120 268 108 C 236 96 192 96 160 96 L 64 96 z M 364 96 L 364 308 L 444 308 L 444 96 L 364 96 z M 144 156 C 144 156 188 156 200 160 C 224 168 224 208 196 212 C 188 216 144 216 144 216 L 144 156 z M 144 280 C 144 280 188 280 208 284 C 232 288 240 312 228 332 C 220 348 204 348 188 348 L 144 348 L 144 280 z M 404 328 A 44 44 0 0 0 360 372 A 44 44 0 0 0 404 416 A 44 44 0 0 0 448 372 A 44 44 0 0 0 404 328 z' style='fill:%23ffffff'/%3e%3c/svg%3e" width="16" height="16" />
162
  </div>
163
  </a>
164
  <?php } ?>
165
  <?php if ( true == $redux_builder_amp['enable-single-pocket-share'] ) { ?>
166
+ <a title="pocket share" href="https://getpocket.com/save?url=<?php echo esc_url($amp_permalink); ?>" target="_blank">
167
  <div class="amp-social-icon-rounded amp-social-pocket">
168
  <amp-img src="data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='2500' height='2251' viewBox='75.247 261.708 445.529 401.074'%3e%3cpath fill='%23EF4056' d='M114.219 261.708c-24.275 1.582-38.972 15.44-38.972 40.088v147.611c0 119.893 119.242 214.114 222.393 213.37 115.986-.837 223.137-98.779 223.137-213.37V301.796c0-24.741-15.626-38.693-40.088-40.088h-366.47zm93.943 120.079L297.64 466.8l89.571-85.013c40.088-16.835 57.574 28.927 41.111 42.321L311.685 535.443c-3.813 3.628-24.183 3.628-27.996 0L167.051 424.107c-15.72-14.789 4.743-61.295 41.111-42.32z'/%3e%3c/svg%3e" width="16" height="16" />
169
  </div>
templates/design-manager/design-3/header-bar.php CHANGED
@@ -13,20 +13,23 @@ if(isset($redux_builder_amp['ampforwp-amp-menu']) && $redux_builder_amp['ampforw
13
 
14
  <?php // Grand child support AND amp-accordion non critical error in Design 3 due to nav #1152
15
  // schema.org/SiteNavigationElement missing from menus #1229 ?>
16
- <nav id ="primary-amp-menu" itemscope="" itemtype="https://schema.org/SiteNavigationElement"> <?php
 
 
17
  $menu_html_content = wp_nav_menu( array(
18
  'theme_location' => 'amp-menu',
19
  'link_before' => '<span itemprop="name">',
20
  'link_after' => '</span>',
21
  'menu'=>'ul',
22
  'menu_class'=>'amp-menu',
23
- 'echo'=>false
 
24
  ) );
25
  $menu_html_content = apply_filters('ampforwp_menu_content', $menu_html_content);
26
  $sanitizer_obj = new AMPFORWP_Content( $menu_html_content, array(), apply_filters( 'ampforwp_content_sanitizers', array( 'AMP_Img_Sanitizer' => array(), 'AMP_Style_Sanitizer' => array(), ) ) );
27
  $sanitized_menu = $sanitizer_obj->get_amp_content();
28
- echo $sanitized_menu; ?>
29
-
30
  </nav>
31
  <?php }
32
  do_action('ampforwp_after_amp_menu'); ?>
13
 
14
  <?php // Grand child support AND amp-accordion non critical error in Design 3 due to nav #1152
15
  // schema.org/SiteNavigationElement missing from menus #1229 ?>
16
+ <nav id ="primary-amp-menu" itemscope="" itemtype="https://schema.org/SiteNavigationElement">
17
+ <?php
18
+ require_once AMPFORWP_PLUGIN_DIR .'/classes/class-ampforwp-walker-nav-menu.php';
19
  $menu_html_content = wp_nav_menu( array(
20
  'theme_location' => 'amp-menu',
21
  'link_before' => '<span itemprop="name">',
22
  'link_after' => '</span>',
23
  'menu'=>'ul',
24
  'menu_class'=>'amp-menu',
25
+ 'echo'=>false,
26
+ 'walker' => new Ampforwp_Walker_Nav_Menu()
27
  ) );
28
  $menu_html_content = apply_filters('ampforwp_menu_content', $menu_html_content);
29
  $sanitizer_obj = new AMPFORWP_Content( $menu_html_content, array(), apply_filters( 'ampforwp_content_sanitizers', array( 'AMP_Img_Sanitizer' => array(), 'AMP_Style_Sanitizer' => array(), ) ) );
30
  $sanitized_menu = $sanitizer_obj->get_amp_content();
31
+ echo $sanitized_menu;
32
+ ?>
33
  </nav>
34
  <?php }
35
  do_action('ampforwp_after_amp_menu'); ?>
templates/design-manager/design-3/index.php CHANGED
@@ -55,7 +55,7 @@ if ( get_query_var( 'paged' ) ) {
55
  echo $delay; ?> >
56
  <?php
57
  global $redux_builder_amp;
58
- if( isset($redux_builder_amp['amp-design-3-category-selector']) && $redux_builder_amp['amp-design-3-category-selector'] ){
59
  $args = array(
60
  'cat' => $redux_builder_amp['amp-design-3-category-selector'],
61
  'posts_per_page' => $num_posts,
@@ -69,6 +69,14 @@ if ( get_query_var( 'paged' ) ) {
69
  'has_password' => false ,
70
  'post_status'=> 'publish'
71
  );
 
 
 
 
 
 
 
 
72
  }
73
 
74
  $category_posts = new WP_Query($args);
55
  echo $delay; ?> >
56
  <?php
57
  global $redux_builder_amp;
58
+ if( ( isset($redux_builder_amp['amp-design-3-featured-content']) && $redux_builder_amp['amp-design-3-featured-content'] == '1' ) && (isset($redux_builder_amp['amp-design-3-category-selector']) && $redux_builder_amp['amp-design-3-category-selector'] ) ){
59
  $args = array(
60
  'cat' => $redux_builder_amp['amp-design-3-category-selector'],
61
  'posts_per_page' => $num_posts,
69
  'has_password' => false ,
70
  'post_status'=> 'publish'
71
  );
72
+ }
73
+ if( ( isset($redux_builder_amp['amp-design-3-featured-content']) && $redux_builder_amp['amp-design-3-featured-content'] == '2') && ( isset($redux_builder_amp['amp-design-3-tag-selector']) && $redux_builder_amp['amp-design-3-tag-selector'] ) ){
74
+ $args = array(
75
+ 'tag__in' => $redux_builder_amp['amp-design-3-tag-selector'],
76
+ 'posts_per_page' => $num_posts,
77
+ 'has_password' => false ,
78
+ 'post_status'=> 'publish'
79
+ );
80
  }
81
 
82
  $category_posts = new WP_Query($args);
templates/design-manager/design-3/style.php CHANGED
@@ -68,7 +68,9 @@ amp-wistia-player {margin:5px 0px;}
68
  margin: 0 auto;
69
  <?php endif; ?>
70
  }
71
-
 
 
72
  /* Slide Navigation code */
73
  amp-sidebar{ width: 280px; background: #131313; font-family: 'Roboto Slab', serif; }
74
  .amp-sidebar-image{ line-height: 100px; vertical-align:middle; }
@@ -78,11 +80,32 @@ amp-sidebar{ width: 280px; background: #131313; font-family: 'Roboto Slab', seri
78
  .toggle-navigationv2 ul li a{ padding: 10px 15px 10px 20px; display: inline-block; font-size: 14px; color:#eee; width:94% }
79
  .amp-menu li{position:relative}
80
  .toggle-navigationv2 ul li a:hover{background:#666;color:#fff}
81
- .amp-menu li.menu-item-has-children ul{display:none;margin:0;background:#222}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  .amp-menu li.menu-item-has-children ul ul{background:#444}
83
  .amp-menu li.menu-item-has-children ul ul ul{background:#666}
84
- .amp-menu li.menu-item-has-children:hover > ul{display:block}
85
- .amp-menu li.menu-item-has-children:after{content:'\25be';position:absolute;padding: 10px 15px 10px 30px;right:0;font-size:18px;color:#ccc;top:0;z-index:10000;line-height:1}
 
 
 
86
  .toggle-navigationv2 .social_icons{ margin-top: 25px; border-top: 1px solid #555; padding: 25px 0px; color: #fff; width: 100%; }
87
  .menu-all-pages-container:after{ content: ""; clear: both }
88
  .toggle-text{ color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: 3px; display: inherit; text-align: center; }
68
  margin: 0 auto;
69
  <?php endif; ?>
70
  }
71
+ .wp-block-image.aligncenter amp-img {
72
+ margin: 0 auto;
73
+ }
74
  /* Slide Navigation code */
75
  amp-sidebar{ width: 280px; background: #131313; font-family: 'Roboto Slab', serif; }
76
  .amp-sidebar-image{ line-height: 100px; vertical-align:middle; }
80
  .toggle-navigationv2 ul li a{ padding: 10px 15px 10px 20px; display: inline-block; font-size: 14px; color:#eee; width:94% }
81
  .amp-menu li{position:relative}
82
  .toggle-navigationv2 ul li a:hover{background:#666;color:#fff}
83
+ .amp-menu li.menu-item-has-children ul{display:none;margin:0;background:#666;position:relative;
84
+ }
85
+ .amp-menu li.menu-item-has-children .sub-menu li a span:before{
86
+ content: '\25b8';
87
+ position: relative;
88
+ left: -6px;
89
+ font-size: 10px;
90
+ color: #a9a9a9;
91
+ top: -2px;
92
+ z-index: 10000;
93
+ line-height: 1;
94
+ }
95
+ .amp-menu li.menu-item-has-children .sub-menu li a{
96
+ padding: 15px 0px 15px 20px;
97
+ }
98
+ .amp-menu li.menu-item-has-children .sub-menu .sub-menu li a{
99
+ padding: 15px 0px 15px 30px;
100
+ }
101
+
102
  .amp-menu li.menu-item-has-children ul ul{background:#444}
103
  .amp-menu li.menu-item-has-children ul ul ul{background:#666}
104
+
105
+ .amp-menu input{display:none}
106
+ .amp-menu [id^=drop]:checked + label + ul{ display: block;}
107
+ .amp-menu .toggle:after{content:'\25be';position:absolute;padding: 12px 20px 10px 30px;right:0;font-size:13px;color:#ccc;top:6px;z-index:10000;line-height:1}
108
+
109
  .toggle-navigationv2 .social_icons{ margin-top: 25px; border-top: 1px solid #555; padding: 25px 0px; color: #fff; width: 100%; }
110
  .menu-all-pages-container:after{ content: ""; clear: both }
111
  .toggle-text{ color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: 3px; display: inherit; text-align: center; }
templates/design-manager/swift/footer.php CHANGED
@@ -66,29 +66,36 @@
66
  </div>
67
  </footer>
68
  <?php }
 
 
 
 
 
 
 
69
 
70
  if( (is_single() && $redux_builder_amp['enable-single-social-icons']) || (is_page() && true == $redux_builder_amp['ampforwp-page-sticky-social']) ){ ?>
71
  <div class="s_stk ss-ic">
72
  <ul>
73
  <?php if($redux_builder_amp['enable-single-facebook-share']){?>
74
  <li>
75
- <a title="facebook share" class="s_fb" target="_blank" href="https://www.facebook.com/sharer.php?u=<?php the_permalink(); ?>"></a>
76
  </li>
77
  <?php } ?>
78
  <?php if($redux_builder_amp['enable-single-twitter-share']){?>
79
  <li>
80
- <a title="twitter share" class="s_tw" target="_blank" href="https://twitter.com/intent/tweet?url=<?php the_permalink(); ?>&text=<?php echo esc_attr(rawurlencode(get_the_title())); ?>">
81
  </a>
82
  </li>
83
  <?php } ?>
84
  <?php if($redux_builder_amp['enable-single-gplus-share']){?>
85
  <li>
86
- <a title="google plus share" class="s_gp" target="_blank" href="https://plus.google.com/share?url=<?php the_permalink(); ?>"></a>
87
  </li>
88
  <?php } ?>
89
  <?php if($redux_builder_amp['enable-single-email-share']){?>
90
  <li>
91
- <a title="email" class="s_em" target="_blank" href="mailto:?subject=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>&body=<?php the_permalink(); ?>"></a>
92
  </li>
93
  <?php } ?>
94
  <?php if($redux_builder_amp['enable-single-pinterest-share']){
@@ -97,77 +104,77 @@ if( (is_single() && $redux_builder_amp['enable-single-social-icons']) || (is_pag
97
  $image = ampforwp_get_post_thumbnail( 'url', 'full' );
98
  }?>
99
  <li>
100
- <a title="pinterest share" class="s_pt" target="_blank" href="https://pinterest.com/pin/create/button/?media=<?php echo esc_url($image); ?>&url=<?php the_permalink(); ?>&description=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
101
  </li>
102
  <?php } ?>
103
  <?php if($redux_builder_amp['enable-single-linkedin-share']){?>
104
  <li>
105
- <a title="linkedin share" class="s_lk" target="_blank" href="https://www.linkedin.com/shareArticle?url=<?php the_permalink(); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
106
  </li>
107
  <?php } ?>
108
  <?php if($redux_builder_amp['enable-single-whatsapp-share']){?>
109
  <li>
110
- <a title="whatsapp share" class="s_wp" target="_blank" href="whatsapp://send?text=<?php the_permalink(); ?>" data-action="share/whatsapp/share"></a>
111
  </li>
112
  <?php } ?>
113
  <?php if($redux_builder_amp['enable-single-vk-share']){?>
114
  <li>
115
- <a title="vkontakte share" class="s_vk" target="_blank" href="http://vk.com/share.php?url=<?php the_permalink(); ?>"></a>
116
  </li>
117
  <?php } ?>
118
  <?php if($redux_builder_amp['enable-single-odnoklassniki-share']){?>
119
  <li>
120
- <a title="odnoklassniki share" class="s_od" target="_blank" href="https://ok.ru/dk?st.cmd=addShare&st._surl=<?php the_permalink(); ?>"></a>
121
  </li>
122
  <?php } ?>
123
  <?php if($redux_builder_amp['enable-single-reddit-share']){?>
124
  <li>
125
- <a title="reddit share" class="s_rd" target="_blank" href="https://reddit.com/submit?url=<?php the_permalink(); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
126
  </li>
127
  <?php } ?>
128
  <?php if($redux_builder_amp['enable-single-tumblr-share']){?>
129
  <li>
130
- <a title="tumblr share" class="s_tb" target="_blank" href="https://www.tumblr.com/widgets/share/tool?canonicalUrl=<?php the_permalink(); ?>"></a>
131
  </li>
132
  <?php } ?>
133
  <?php if($redux_builder_amp['enable-single-telegram-share']){?>
134
  <li>
135
- <a title="telegram share" class="s_tg" target="_blank" href="https://telegram.me/share/url?url=<?php the_permalink(); ?>&text=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
136
  </li>
137
  <?php } ?>
138
  <?php if($redux_builder_amp['enable-single-digg-share']){?>
139
  <li>
140
- <a title="digg share" class="s_dg" target="_blank" href="http://digg.com/submit?url=<?php the_permalink(); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
141
  </li>
142
  <?php } ?>
143
  <?php if($redux_builder_amp['enable-single-stumbleupon-share']){?>
144
  <li>
145
- <a title="stumbleupon share" class="s_su" target="_blank" href="http://www.stumbleupon.com/submit?url=<?php the_permalink(); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
146
  </li>
147
  <?php } ?>
148
  <?php if($redux_builder_amp['enable-single-wechat-share']){?>
149
  <li>
150
- <a title="wechat share" class="s_wc" target="_blank" href="http://api.addthis.com/oexchange/0.8/forward/wechat/offer?url=<?php the_permalink(); ?>"></a>
151
  </li>
152
  <?php } ?>
153
  <?php if($redux_builder_amp['enable-single-viber-share']){?>
154
  <li>
155
- <a class="s_vb" target="_blank" href="viber://forward?text=<?php the_permalink(); ?>"></a>
156
  </li>
157
  <?php } ?>
158
  <?php if ( isset($redux_builder_amp['enable-single-yummly-share']) && $redux_builder_amp['enable-single-yummly-share'] ) { ?>
159
  <li>
160
- <a title="yummly share" class="s_ym" target="_blank" href="http://www.yummly.com/urb/verify?url=<?php the_permalink(); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>&yumtype=button"></a>
161
  </li>
162
  <?php } ?>
163
  <?php if ( isset($redux_builder_amp['enable-single-hatena-bookmarks']) && $redux_builder_amp['enable-single-hatena-bookmarks']){?>
164
  <li>
165
- <a title="hatena share" class="s_hb" target="_blank" href="http://b.hatena.ne.jp/entry/<?php the_permalink(); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
166
  </li>
167
  <?php } ?>
168
  <?php if ( isset($redux_builder_amp['enable-single-pocket-share']) && $redux_builder_amp['enable-single-pocket-share']){?>
169
  <li>
170
- <a title="pocket share" class="s_pk" target="_blank" href="https://getpocket.com/save?url=<?php the_permalink(); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
171
  </li>
172
  <?php } ?>
173
  </ul>
66
  </div>
67
  </footer>
68
  <?php }
69
+ // Social share in AMP
70
+ $amp_permalink = "";
71
+ if ( ampforwp_get_setting('ampforwp-social-share-amp') ) {
72
+ $amp_permalink = ampforwp_url_controller(get_the_permalink());
73
+ } else{
74
+ $amp_permalink = get_the_permalink();
75
+ }
76
 
77
  if( (is_single() && $redux_builder_amp['enable-single-social-icons']) || (is_page() && true == $redux_builder_amp['ampforwp-page-sticky-social']) ){ ?>
78
  <div class="s_stk ss-ic">
79
  <ul>
80
  <?php if($redux_builder_amp['enable-single-facebook-share']){?>
81
  <li>
82
+ <a title="facebook share" class="s_fb" target="_blank" href="https://www.facebook.com/sharer.php?u=<?php echo esc_url($amp_permalink); ?>"></a>
83
  </li>
84
  <?php } ?>
85
  <?php if($redux_builder_amp['enable-single-twitter-share']){?>
86
  <li>
87
+ <a title="twitter share" class="s_tw" target="_blank" href="https://twitter.com/intent/tweet?url=<?php echo esc_url($amp_permalink); ?>&text=<?php echo esc_attr(rawurlencode(get_the_title())); ?>">
88
  </a>
89
  </li>
90
  <?php } ?>
91
  <?php if($redux_builder_amp['enable-single-gplus-share']){?>
92
  <li>
93
+ <a title="google plus share" class="s_gp" target="_blank" href="https://plus.google.com/share?url=<?php echo esc_url($amp_permalink); ?>"></a>
94
  </li>
95
  <?php } ?>
96
  <?php if($redux_builder_amp['enable-single-email-share']){?>
97
  <li>
98
+ <a title="email" class="s_em" target="_blank" href="mailto:?subject=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>&body=<?php echo esc_url($amp_permalink); ?>"></a>
99
  </li>
100
  <?php } ?>
101
  <?php if($redux_builder_amp['enable-single-pinterest-share']){
104
  $image = ampforwp_get_post_thumbnail( 'url', 'full' );
105
  }?>
106
  <li>
107
+ <a title="pinterest share" class="s_pt" target="_blank" href="https://pinterest.com/pin/create/button/?media=<?php echo esc_url($image); ?>&url=<?php echo esc_url($amp_permalink); ?>&description=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
108
  </li>
109
  <?php } ?>
110
  <?php if($redux_builder_amp['enable-single-linkedin-share']){?>
111
  <li>
112
+ <a title="linkedin share" class="s_lk" target="_blank" href="https://www.linkedin.com/shareArticle?url=<?php echo esc_url($amp_permalink); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
113
  </li>
114
  <?php } ?>
115
  <?php if($redux_builder_amp['enable-single-whatsapp-share']){?>
116
  <li>
117
+ <a title="whatsapp share" class="s_wp" target="_blank" href="whatsapp://send?text=<?php echo esc_url($amp_permalink); ?>" data-action="share/whatsapp/share"></a>
118
  </li>
119
  <?php } ?>
120
  <?php if($redux_builder_amp['enable-single-vk-share']){?>
121
  <li>
122
+ <a title="vkontakte share" class="s_vk" target="_blank" href="http://vk.com/share.php?url=<?php echo esc_url($amp_permalink); ?>"></a>
123
  </li>
124
  <?php } ?>
125
  <?php if($redux_builder_amp['enable-single-odnoklassniki-share']){?>
126
  <li>
127
+ <a title="odnoklassniki share" class="s_od" target="_blank" href="https://ok.ru/dk?st.cmd=addShare&st._surl=<?php echo esc_url($amp_permalink); ?>"></a>
128
  </li>
129
  <?php } ?>
130
  <?php if($redux_builder_amp['enable-single-reddit-share']){?>
131
  <li>
132
+ <a title="reddit share" class="s_rd" target="_blank" href="https://reddit.com/submit?url=<?php echo esc_url($amp_permalink); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
133
  </li>
134
  <?php } ?>
135
  <?php if($redux_builder_amp['enable-single-tumblr-share']){?>
136
  <li>
137
+ <a title="tumblr share" class="s_tb" target="_blank" href="https://www.tumblr.com/widgets/share/tool?canonicalUrl=<?php echo $amp_permalink ?>"></a>
138
  </li>
139
  <?php } ?>
140
  <?php if($redux_builder_amp['enable-single-telegram-share']){?>
141
  <li>
142
+ <a title="telegram share" class="s_tg" target="_blank" href="https://telegram.me/share/url?url=<?php echo esc_url($amp_permalink); ?>&text=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
143
  </li>
144
  <?php } ?>
145
  <?php if($redux_builder_amp['enable-single-digg-share']){?>
146
  <li>
147
+ <a title="digg share" class="s_dg" target="_blank" href="http://digg.com/submit?url=<?php echo esc_url($amp_permalink); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
148
  </li>
149
  <?php } ?>
150
  <?php if($redux_builder_amp['enable-single-stumbleupon-share']){?>
151
  <li>
152
+ <a title="stumbleupon share" class="s_su" target="_blank" href="http://www.stumbleupon.com/submit?url=<?php echo esc_url($amp_permalink); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
153
  </li>
154
  <?php } ?>
155
  <?php if($redux_builder_amp['enable-single-wechat-share']){?>
156
  <li>
157
+ <a title="wechat share" class="s_wc" target="_blank" href="http://api.addthis.com/oexchange/0.8/forward/wechat/offer?url=<?php echo esc_url($amp_permalink); ?>"></a>
158
  </li>
159
  <?php } ?>
160
  <?php if($redux_builder_amp['enable-single-viber-share']){?>
161
  <li>
162
+ <a class="s_vb" target="_blank" href="viber://forward?text=<?php echo esc_url($amp_permalink); ?>"></a>
163
  </li>
164
  <?php } ?>
165
  <?php if ( isset($redux_builder_amp['enable-single-yummly-share']) && $redux_builder_amp['enable-single-yummly-share'] ) { ?>
166
  <li>
167
+ <a title="yummly share" class="s_ym" target="_blank" href="http://www.yummly.com/urb/verify?url=<?php echo esc_url($amp_permalink); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>&yumtype=button"></a>
168
  </li>
169
  <?php } ?>
170
  <?php if ( isset($redux_builder_amp['enable-single-hatena-bookmarks']) && $redux_builder_amp['enable-single-hatena-bookmarks']){?>
171
  <li>
172
+ <a title="hatena share" class="s_hb" target="_blank" href="http://b.hatena.ne.jp/entry/<?php echo esc_url($amp_permalink); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
173
  </li>
174
  <?php } ?>
175
  <?php if ( isset($redux_builder_amp['enable-single-pocket-share']) && $redux_builder_amp['enable-single-pocket-share']){?>
176
  <li>
177
+ <a title="pocket share" class="s_pk" target="_blank" href="https://getpocket.com/save?url=<?php echo esc_url($amp_permalink); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
178
  </li>
179
  <?php } ?>
180
  </ul>
templates/design-manager/swift/functions.php CHANGED
@@ -39,29 +39,37 @@ add_amp_icon( array( 'widgets', 'search', 'shopping-cart' ) );
39
 
40
  // Swift Social Icons
41
  function ampforwp_swift_social_icons(){
42
- global $redux_builder_amp; ?>
 
 
 
 
 
 
 
 
43
  <div class="ss-ic">
44
  <span class="shr-txt"><?php echo ampforwp_translation($redux_builder_amp['amp-translator-share-text'], 'Share' ); ?></span>
45
  <ul>
46
  <?php if($redux_builder_amp['enable-single-facebook-share']){?>
47
  <li>
48
- <a class="s_fb" target="_blank" href="https://www.facebook.com/sharer.php?u=<?php the_permalink(); ?>"></a>
49
  </li>
50
  <?php } ?>
51
  <?php if($redux_builder_amp['enable-single-twitter-share']){?>
52
  <li>
53
- <a class="s_tw" target="_blank" href="https://twitter.com/intent/tweet?url=<?php the_permalink(); ?>&text=<?php echo esc_attr(rawurlencode(get_the_title())); ?>">
54
  </a>
55
  </li>
56
  <?php } ?>
57
  <?php if($redux_builder_amp['enable-single-gplus-share']){?>
58
  <li>
59
- <a class="s_gp" target="_blank" href="https://plus.google.com/share?url=<?php the_permalink(); ?>"></a>
60
  </li>
61
  <?php } ?>
62
  <?php if($redux_builder_amp['enable-single-email-share']){?>
63
  <li>
64
- <a class="s_em" target="_blank" href="mailto:?subject=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>&body=<?php the_permalink(); ?>"></a>
65
  </li>
66
  <?php } ?>
67
  <?php if($redux_builder_amp['enable-single-pinterest-share']){
@@ -75,72 +83,72 @@ function ampforwp_swift_social_icons(){
75
  <?php } ?>
76
  <?php if($redux_builder_amp['enable-single-linkedin-share']){?>
77
  <li>
78
- <a class="s_lk" target="_blank" href="https://www.linkedin.com/shareArticle?url=<?php the_permalink(); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
79
  </li>
80
  <?php } ?>
81
  <?php if($redux_builder_amp['enable-single-whatsapp-share']){?>
82
  <li>
83
- <a class="s_wp" target="_blank" href="whatsapp://send?text=<?php the_permalink(); ?>" data-action="share/whatsapp/share"></a>
84
  </li>
85
  <?php } ?>
86
  <?php if($redux_builder_amp['enable-single-vk-share']){?>
87
  <li>
88
- <a class="s_vk" target="_blank" href="http://vk.com/share.php?url=<?php the_permalink(); ?>"></a>
89
  </li>
90
  <?php } ?>
91
  <?php if($redux_builder_amp['enable-single-odnoklassniki-share']){?>
92
  <li>
93
- <a class="s_od" target="_blank" href="https://ok.ru/dk?st.cmd=addShare&st._surl=<?php the_permalink(); ?>"></a>
94
  </li>
95
  <?php } ?>
96
  <?php if($redux_builder_amp['enable-single-reddit-share']){?>
97
  <li>
98
- <a class="s_rd" target="_blank" href="https://reddit.com/submit?url=<?php the_permalink(); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
99
  </li>
100
  <?php } ?>
101
  <?php if($redux_builder_amp['enable-single-tumblr-share']){?>
102
  <li>
103
- <a class="s_tb" target="_blank" href="https://www.tumblr.com/widgets/share/tool?canonicalUrl=<?php the_permalink(); ?>"></a>
104
  </li>
105
  <?php } ?>
106
  <?php if($redux_builder_amp['enable-single-telegram-share']){?>
107
  <li>
108
- <a class="s_tg" target="_blank" href="https://telegram.me/share/url?url=<?php the_permalink(); ?>&text=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
109
  </li>
110
  <?php } ?>
111
  <?php if($redux_builder_amp['enable-single-digg-share']){?>
112
  <li>
113
- <a class="s_dg" target="_blank" href="http://digg.com/submit?url=<?php the_permalink(); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
114
  </li>
115
  <?php } ?>
116
  <?php if($redux_builder_amp['enable-single-stumbleupon-share']){?>
117
  <li>
118
- <a class="s_su" target="_blank" href="http://www.stumbleupon.com/submit?url=<?php the_permalink(); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
119
  </li>
120
  <?php } ?>
121
  <?php if($redux_builder_amp['enable-single-wechat-share']){?>
122
  <li>
123
- <a class="s_wc" target="_blank" href="http://api.addthis.com/oexchange/0.8/forward/wechat/offer?url=<?php the_permalink(); ?>"></a>
124
  </li>
125
  <?php } ?>
126
  <?php if($redux_builder_amp['enable-single-viber-share']){?>
127
  <li>
128
- <a class="s_vb" target="_blank" href="viber://forward?text=<?php the_permalink(); ?>"></a>
129
  </li>
130
  <?php } ?>
131
  <?php if ( isset($redux_builder_amp['enable-single-yummly-share']) && $redux_builder_amp['enable-single-yummly-share']){?>
132
  <li>
133
- <a class="s_ym" target="_blank" href="http://www.yummly.com/urb/verify?url=<?php the_permalink(); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>&yumtype=button"></a>
134
  </li>
135
  <?php } ?>
136
  <?php if ( isset($redux_builder_amp['enable-single-hatena-bookmarks']) && $redux_builder_amp['enable-single-hatena-bookmarks']){?>
137
  <li>
138
- <a class="s_hb" target="_blank" href="http://b.hatena.ne.jp/entry/<?php the_permalink(); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
139
  </li>
140
  <?php } ?>
141
  <?php if ( isset($redux_builder_amp['enable-single-pocket-share']) && $redux_builder_amp['enable-single-pocket-share']){?>
142
  <li>
143
- <a class="s_pk" target="_blank" href="https://getpocket.com/save?url=<?php the_permalink(); ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
144
  </li>
145
  <?php } ?>
146
  <?php if($redux_builder_amp['ampforwp-facebook-like-button']){?>
39
 
40
  // Swift Social Icons
41
  function ampforwp_swift_social_icons(){
42
+ global $redux_builder_amp;
43
+ // Social share in AMP
44
+ $amp_permalink = "";
45
+ if ( ampforwp_get_setting('ampforwp-social-share-amp') ) {
46
+ $amp_permalink = ampforwp_url_controller(get_the_permalink());
47
+ } else{
48
+ $amp_permalink = get_the_permalink();
49
+ }
50
+ ?>
51
  <div class="ss-ic">
52
  <span class="shr-txt"><?php echo ampforwp_translation($redux_builder_amp['amp-translator-share-text'], 'Share' ); ?></span>
53
  <ul>
54
  <?php if($redux_builder_amp['enable-single-facebook-share']){?>
55
  <li>
56
+ <a class="s_fb" target="_blank" href="https://www.facebook.com/sharer.php?u=<?php echo $amp_permalink; ?>"></a>
57
  </li>
58
  <?php } ?>
59
  <?php if($redux_builder_amp['enable-single-twitter-share']){?>
60
  <li>
61
+ <a class="s_tw" target="_blank" href="https://twitter.com/intent/tweet?url=<?php echo $amp_permalink; ?>&text=<?php echo esc_attr(rawurlencode(get_the_title())); ?>">
62
  </a>
63
  </li>
64
  <?php } ?>
65
  <?php if($redux_builder_amp['enable-single-gplus-share']){?>
66
  <li>
67
+ <a class="s_gp" target="_blank" href="https://plus.google.com/share?url=<?php echo $amp_permalink; ?>"></a>
68
  </li>
69
  <?php } ?>
70
  <?php if($redux_builder_amp['enable-single-email-share']){?>
71
  <li>
72
+ <a class="s_em" target="_blank" href="mailto:?subject=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>&body=<?php echo $amp_permalink; ?>"></a>
73
  </li>
74
  <?php } ?>
75
  <?php if($redux_builder_amp['enable-single-pinterest-share']){
83
  <?php } ?>
84
  <?php if($redux_builder_amp['enable-single-linkedin-share']){?>
85
  <li>
86
+ <a class="s_lk" target="_blank" href="https://www.linkedin.com/shareArticle?url=<?php echo $amp_permalink; ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
87
  </li>
88
  <?php } ?>
89
  <?php if($redux_builder_amp['enable-single-whatsapp-share']){?>
90
  <li>
91
+ <a class="s_wp" target="_blank" href="whatsapp://send?text=<?php echo $amp_permalink; ?>" data-action="share/whatsapp/share"></a>
92
  </li>
93
  <?php } ?>
94
  <?php if($redux_builder_amp['enable-single-vk-share']){?>
95
  <li>
96
+ <a class="s_vk" target="_blank" href="http://vk.com/share.php?url=<?php echo $amp_permalink; ?>"></a>
97
  </li>
98
  <?php } ?>
99
  <?php if($redux_builder_amp['enable-single-odnoklassniki-share']){?>
100
  <li>
101
+ <a class="s_od" target="_blank" href="https://ok.ru/dk?st.cmd=addShare&st._surl=<?php echo $amp_permalink; ?>"></a>
102
  </li>
103
  <?php } ?>
104
  <?php if($redux_builder_amp['enable-single-reddit-share']){?>
105
  <li>
106
+ <a class="s_rd" target="_blank" href="https://reddit.com/submit?url=<?php echo $amp_permalink; ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
107
  </li>
108
  <?php } ?>
109
  <?php if($redux_builder_amp['enable-single-tumblr-share']){?>
110
  <li>
111
+ <a class="s_tb" target="_blank" href="https://www.tumblr.com/widgets/share/tool?canonicalUrl=<?php echo $amp_permalink; ?>"></a>
112
  </li>
113
  <?php } ?>
114
  <?php if($redux_builder_amp['enable-single-telegram-share']){?>
115
  <li>
116
+ <a class="s_tg" target="_blank" href="https://telegram.me/share/url?url=<?php echo $amp_permalink; ?>&text=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
117
  </li>
118
  <?php } ?>
119
  <?php if($redux_builder_amp['enable-single-digg-share']){?>
120
  <li>
121
+ <a class="s_dg" target="_blank" href="http://digg.com/submit?url=<?php echo $amp_permalink; ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
122
  </li>
123
  <?php } ?>
124
  <?php if($redux_builder_amp['enable-single-stumbleupon-share']){?>
125
  <li>
126
+ <a class="s_su" target="_blank" href="http://www.stumbleupon.com/submit?url=<?php echo $amp_permalink; ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
127
  </li>
128
  <?php } ?>
129
  <?php if($redux_builder_amp['enable-single-wechat-share']){?>
130
  <li>
131
+ <a class="s_wc" target="_blank" href="http://api.addthis.com/oexchange/0.8/forward/wechat/offer?url=<?php echo $amp_permalink; ?>"></a>
132
  </li>
133
  <?php } ?>
134
  <?php if($redux_builder_amp['enable-single-viber-share']){?>
135
  <li>
136
+ <a class="s_vb" target="_blank" href="viber://forward?text=<?php echo $amp_permalink; ?>"></a>
137
  </li>
138
  <?php } ?>
139
  <?php if ( isset($redux_builder_amp['enable-single-yummly-share']) && $redux_builder_amp['enable-single-yummly-share']){?>
140
  <li>
141
+ <a class="s_ym" target="_blank" href="http://www.yummly.com/urb/verify?url=<?php echo $amp_permalink; ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>&yumtype=button"></a>
142
  </li>
143
  <?php } ?>
144
  <?php if ( isset($redux_builder_amp['enable-single-hatena-bookmarks']) && $redux_builder_amp['enable-single-hatena-bookmarks']){?>
145
  <li>
146
+ <a class="s_hb" target="_blank" href="http://b.hatena.ne.jp/entry/<?php echo $amp_permalink; ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
147
  </li>
148
  <?php } ?>
149
  <?php if ( isset($redux_builder_amp['enable-single-pocket-share']) && $redux_builder_amp['enable-single-pocket-share']){?>
150
  <li>
151
+ <a class="s_pk" target="_blank" href="https://getpocket.com/save?url=<?php echo $amp_permalink; ?>&title=<?php echo esc_attr(htmlspecialchars(get_the_title())); ?>"></a>
152
  </li>
153
  <?php } ?>
154
  <?php if($redux_builder_amp['ampforwp-facebook-like-button']){?>
templates/design-manager/swift/style.php CHANGED
@@ -40,6 +40,9 @@ amp-carousel > amp-img > img {object-fit: contain;}
40
  amp-instagram{box-sizing: initial;}
41
  @font-face {font-family: 'icomoon';font-style: normal;font-weight: normal;src: local('icomoon'), local('icomoon'), url('<?php echo plugin_dir_url(__FILE__) ?>fonts/icomoon.ttf');}
42
  .cntr {max-width: 1100px;margin: 0 auto;width:100%;padding:0px 20px}
 
 
 
43
  header .cntr{
44
  <?php if( isset($redux_builder_amp['swift-width-control']) && $redux_builder_amp['swift-width-control']){?>
45
  max-width:<?php echo $redux_builder_amp['swift-width-control']?>;
@@ -146,23 +149,21 @@ if($redux_builder_amp['menu-type'] == '1'){?>
146
  .tg:checked + .hamb-mnu > .m-ctr {margin-left: calc(100% - <?php echo $redux_builder_amp['header-overlay-width']?>);}
147
  .m-ctr{margin-left: 100%;float: right;}
148
  <?php } ?>
149
- .tg:checked + .hamb-mnu > .fsc{display: block;background: rgba(0,0,0,.9);height:100vh;}
150
  .t-btn, .c-btn{cursor: pointer;}
151
  .t-btn:after{content:"\e5d2";display:inline-block;font-family: "icomoon";font-size:28px;<?php if( isset($redux_builder_amp['swift-element-color-control']['rgba']) && $redux_builder_amp['swift-element-color-control']['rgba']){ ?>color: <?php echo $redux_builder_amp['swift-element-color-control']['rgba']?>;<?php } ?>}
152
  .c-btn:after{content: "\e5cd";font-family: "icomoon";font-size: 20px;<?php if(isset($redux_builder_amp['swift-element-overlay-color-control'] ['rgba']) && $redux_builder_amp['swift-element-overlay-color-control'] ['rgba']){?>color: <?php echo $redux_builder_amp['swift-element-overlay-color-control']['rgba']?>;<?php } ?>line-height: 0;display: block;text-indent: 1px;}
153
  .c-btn{float: right;padding: 20px 10px;}
154
  .m-ctr{transition: margin 0.3s ease-in-out;}
155
- .m-ctr{<?php if($redux_builder_amp['header-overlay-width']){?>width:<?php echo $redux_builder_amp['header-overlay-width']?>;<?php } ?>height: auto;position: absolute;z-index:99;padding: 2% 0% 100vh 0%;}
156
  .m-menu{display: inline-block;width: 100%;padding: 2px 20px 10px 20px;}
157
  .m-scrl{overflow-y: auto;display: inline-block;width: 100%;overflow: scroll;max-height: 94vh;}
158
  ::-webkit-scrollbar { display: none; }
159
- .m-menu ul li.menu-item-has-children:after{content: "\e313";font-family: 'icomoon';background-size: 16px;display: inline-block;top: 1px;padding: 5px;font-size:25px;transform: rotate(270deg);border-radius: 35px;color: <?php echo $redux_builder_amp['swift-element-overlay-color-control']['rgba']?>;}
160
- .m-menu li li.menu-item-has-children:after{right:10px;}
161
- .m-menu li li.menu-item-has-children:hover:after{right:10px;}
162
- .m-menu li.menu-item-has-children:hover:after{transform:rotate(360deg);top:1px;right:0px;}
163
  .m-menu .amp-menu li ul{font-size:14px;}
164
  .m-menu .amp-menu {list-style-type: none;padding: 0;}
165
- .amp-menu > li a{<?php if($redux_builder_amp['swift-element-overlay-color-control'] ['rgba']){?>color: <?php echo $redux_builder_amp['swift-element-overlay-color-control']['rgba']?>;<?php } ?> padding: 13px 7px;margin-bottom:0;}
166
  .menu-btn{margin-top:30px;text-align:center;}
167
  .menu-btn a{color:#fff;border:2px solid #ccc;padding:15px 30px;display:inline-block;}
168
  .amp-menu li.menu-item-has-children>ul>li {width:100%;}
@@ -172,18 +173,26 @@ if($redux_builder_amp['menu-type'] == '1'){?>
172
  margin:0px 10px;
173
  }
174
  .m-menu .amp-menu .sub-menu li:last-child{border:none;}
175
- .m-menu .amp-menu>li a {padding: 12px 7px;}
176
  .m-menu > li{font-size:17px;}
 
 
 
 
 
 
177
  <?php } ?>
178
  <?php //primary menu
179
 
180
  if($redux_builder_amp['primary-menu']){?>
181
  .p-m-fl{width:100%;border-bottom: 1px solid rgba(0, 0, 0, 0.05);<?php if($redux_builder_amp['primary-menu-background-scheme']['rgba']){?>background:<?php echo $redux_builder_amp['primary-menu-background-scheme']['rgba']; ?><?php } ?>}
182
- .p-menu{width:100%;text-align:center;margin: 0px auto;max-width: 1100px;<?php if($redux_builder_amp['primary-menu-padding-control']){?>padding: <?php echo ' 0px ' .' '.$redux_builder_amp['primary-menu-padding-control']['padding-right'] .' 0px '.$redux_builder_amp['primary-menu-padding-control']['padding-left'] ; ?>;<?php } ?>}
183
  ::-webkit-scrollbar {display: none;}
184
  .p-menu ul li{display: inline-block;margin-right: 21px;font-size: 12px;line-height: 20px;letter-spacing: 1px;font-weight: 400;}
185
  .p-menu ul li a{<?php if($redux_builder_amp['primary-menu-text-scheme']['rgba']){?>color:<?php echo $redux_builder_amp['primary-menu-text-scheme']['rgba']?>;<?php } ?>
186
  padding: <?php echo $redux_builder_amp['primary-menu-padding-control']['padding-top'] .' 0px '.$redux_builder_amp['primary-menu-padding-control']['padding-bottom'] .' 0px' ; ?>}
 
 
187
  <?php // Dropdown CSS
188
  if($redux_builder_amp['drp-dwn']){?>
189
  .p-menu ul li:hover>ul{display:block;z-index:9;padding: 7px 0px 7px 7px;
@@ -198,7 +207,7 @@ padding: <?php echo $redux_builder_amp['primary-menu-padding-control']['padding-
198
  .p-menu .amp-menu li.menu-item-has-children>ul>li {padding-left: 0px;margin-right:0;}
199
  .p-menu li.menu-item-has-children:hover > a:after{transform:rotate(180deg);right:0px;}
200
  <?php } else { ?>
201
- .p-menu ul li.menu-item-has-children:hover > ul{display:none;}
202
  .p-menu{overflow-x: auto;overflow-y:hidden;white-space: nowrap;}
203
  <?php } ?>
204
  .p-menu ul li.menu-item-has-children:after{display:none;}
@@ -374,7 +383,7 @@ echo $fontFamily;?>
374
  .sf-img .wp-caption-text:before{content:"\e412";font-family: 'icomoon';position: relative;top: 4px;opacity: 0.4;font-size:24pxmargin-right: 5px;}
375
  .sp-cnt{margin-top: 40px;clear: both;width: 100%;display: inline-block; }
376
  .sp-rl{display:inline-flex;width:100%;}
377
- .sp-lt{display: flex;flex-direction: column;flex: 1 0 20%;order: 0;max-width:336px;}
378
  .sp-rt{width: 72%;margin-left: 60px;flex-direction: column;justify-content: space-around;order: 1;}
379
  .ss-ic, .sp-athr, .amp-tags, .post-date{padding-bottom:20px;border-bottom:1px dotted #ccc;}
380
  .shr-txt, .athr-tx, .amp-tags > span:nth-child(1), .amp-related-posts-title, .related-title, .r-pf h3{margin-bottom: 12px;}
@@ -390,6 +399,10 @@ echo $fontFamily;?>
390
  .sgl table {width: 100%;margin-bottom:25px;}
391
  .sgl td {padding: 0.5em 1em;border: 1px solid #ddd;}
392
  .sgl tr:nth-child(odd) td {background: #f7f7f7;}
 
 
 
 
393
  <?php // Social Sharing Conditional CSS
394
  if($redux_builder_amp['swift-social-position'] == 'above-content'){?>
395
  .shr-txt{display:none;}
@@ -439,6 +452,15 @@ if($redux_builder_amp['swift-social-position'] == 'below-content'){?>
439
  // swift Content Heading Sizes Ends?>
440
  .cntn-wrp p, .cntn-wrp ul, .cntn-wrp ol{margin:0px 0px 30px 0px;word-break: break-word;}
441
  .sp-rt p strong, .pg p strong{font-weight: 700;}
 
 
 
 
 
 
 
 
 
442
  <?php if($redux_builder_amp['rp_design_type'] == '1'){?>
443
  .srp{margin-top:20px;}
444
  .srp .amp-related-posts amp-img{float: left;width: 100%;margin: 0px;height:100%;}
@@ -503,7 +525,7 @@ if($redux_builder_amp['rp_design_type'] == '3'){?>
503
  <?php } // Related Posts Desing 3 Ends ?>
504
  .related_link{margin-top:10px;}
505
  .related_link a{color:#333;}
506
- .related_link p{word-break: break-all;color: #444;font-size: 13px;line-height: 20px;
507
  letter-spacing: 0.10px;margin-top: 5px;font-weight: 400;}
508
  .amp-related-posts ul{list-style-type:none;}
509
  .r-pf{margin-top: 40px;display: inline-block;width: 100%;}
@@ -528,7 +550,7 @@ letter-spacing: 0.10px;margin-top: 5px;font-weight: 400;}
528
  margin: 0;
529
  }
530
  .related_posts .has_related_thumbnail{display: inline-flex;width: 29%;flex-direction: column;margin:0px 30px 30px 0px;justify-content: space-evenly;padding:0;}
531
- .related_link p{word-break: break-word;color: #444;font-size: 13px;line-height: 20px;
532
  letter-spacing: 0.10px;margin-top: 5px;font-weight: 400;}
533
  <?php } ?>
534
  <?php if(is_single() && $redux_builder_amp['enable-single-social-icons'] ){?>
@@ -550,10 +572,10 @@ if( 1 == $redux_builder_amp['ampforwp-bread-crumb'] ) {?>
550
  <?php if( 1 == $redux_builder_amp['breadcrumb-border'] ) {?>
551
  border-bottom: 1px solid #eee;
552
  <?php }?>}
553
- .breadcrumb ul li{display: inline-block;list-style-type: none;font-size: 10px;text-transform: uppercase;margin-right: 5px;}
554
- .breadcrumb ul li a{color: #999;letter-spacing: 1px;}
555
- .breadcrumb ul li a:hover{color:#005be2;}
556
- .breadcrumbs li a:after{content: "\e315";display: inline-block;color: #bdbdbd;font-family: 'icomoon';padding-left: 5px;font-size: 12px;position: relative;top: 1px;}
557
  .breadcrumbs li:last-child a:after {display: none;}
558
  <?php } //Breadcrumbs Ends?>
559
  #pagination{margin-top: 30px;border-top: 1px dotted #ccc;padding: 20px 5px 0px 5px;;font-size: 16px;line-height: 24px;font-weight:400;}
@@ -626,10 +648,9 @@ if ( isset($redux_builder_amp['ampforwp-disqus-comments-support']) && $redux_bui
626
  @media(max-width:768px){
627
  .tl-exc {font-size: 14px;margin-top: 3px;line-height: 22px;}
628
  .sp-rl {display: inline-block;width: 100%;}
629
-
630
  .sp-lt {width: 100%;margin-top: 20px;max-width:100%;}
631
  .sp-cnt{margin-top: 15px;}
632
- .r-pf h3{margin-bottom:0;padding-top:20px;border-top:1px dotted #ccc; }
633
  .r-pf {margin-top:20px;}
634
  .cmts{margin:20px 0px 20px 0px;}
635
  .sp-rt {width: 100%;margin-left: 0;}
@@ -872,7 +893,8 @@ if (isset($redux_builder_amp['swift-sidebar']) && $redux_builder_amp['swift-side
872
  <?php } // sidebar CSS ends
873
  } // single design 4 ends?>
874
  <?php // Header and Archive Sidebar
875
- if ( ampforwp_get_setting('gbl-sidebar') && ampforwp_get_setting('gnrl-sidebar') ) { ?>
 
876
  .b-w, .arch-dsgn{
877
  display: flex;
878
  }
@@ -938,7 +960,7 @@ if ( (isset($redux_builder_amp['gbl-sidebar']) && $redux_builder_amp['gbl-sideba
938
  }
939
  .amp-sidebar{
940
  padding:20px;
941
- font-size: 16px;
942
  line-height: 1.5;
943
  <?php if(isset($redux_builder_amp['sbr-text-color']['rgba']) && $redux_builder_amp['sbr-text-color']['rgba'] ) {?>
944
  color: <?php echo $redux_builder_amp['sbr-text-color']['rgba'] ?>;
@@ -946,13 +968,73 @@ if ( (isset($redux_builder_amp['gbl-sidebar']) && $redux_builder_amp['gbl-sideba
946
  }
947
  .amp-sidebar ul li{
948
  list-style-type: none;
949
- margin-bottom: 15px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
950
  }
951
  .amp-sidebar h4{
952
  <?php if(isset($redux_builder_amp['sbr-heading-color']['rgba']) && $redux_builder_amp['sbr-heading-color']['rgba'] ) {?>
953
  color: <?php echo $redux_builder_amp['sbr-heading-color']['rgba'] ?>;
954
  <?php } ?>
955
- margin-bottom:15px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
956
  }
957
  .amp-sidebar p{
958
  margin-bottom:15px;
@@ -1111,7 +1193,13 @@ if( isset($redux_builder_amp['footer-customize-options']) && true == $redux_bui
1111
  }
1112
  }
1113
  <?php } ?>
1114
- <?php } // New footer feature closed ?>
 
 
 
 
 
 
1115
  @media(max-width:768px){
1116
  .footer {margin-top: 60px;}
1117
  .w-bl{flex:1 0 22%;}
@@ -1253,7 +1341,7 @@ if( isset($redux_builder_amp['enable-amp-ads-4'] ) && $redux_builder_amp['enable
1253
  if( isset($redux_builder_amp['enable-amp-ads-5'] ) && $redux_builder_amp['enable-amp-ads-5'] ) { ?>.amp_ad_5{margin: 10px 0px -17px 0px;}<?php }
1254
  if( isset($redux_builder_amp['enable-amp-ads-6'] ) && $redux_builder_amp['enable-amp-ads-6'] ) { ?>.amp-ad-6{ margin: 0px 0px 20px 0px;}<?php } ?>
1255
  .amp-ad-wrapper {margin-top: 10px; margin-bottom: 10px}
1256
- <?php if( true == ampforwp_get_setting('amp-enable-notifications') ) {?>
1257
  #amp-user-notification1{padding: 5px;text-align: center;background: #fff;border-top: 1px solid #005be2;}
1258
  #amp-user-notification1 p {display: inline-block;margin: 20px 0px;}
1259
  amp-user-notification button {padding: 8px 10px;background: #005be2;color: #fff;margin-left: 5px;border: 0;}
40
  amp-instagram{box-sizing: initial;}
41
  @font-face {font-family: 'icomoon';font-style: normal;font-weight: normal;src: local('icomoon'), local('icomoon'), url('<?php echo plugin_dir_url(__FILE__) ?>fonts/icomoon.ttf');}
42
  .cntr {max-width: 1100px;margin: 0 auto;width:100%;padding:0px 20px}
43
+ .wp-block-image.aligncenter amp-img {
44
+ margin: 0 auto;
45
+ }
46
  header .cntr{
47
  <?php if( isset($redux_builder_amp['swift-width-control']) && $redux_builder_amp['swift-width-control']){?>
48
  max-width:<?php echo $redux_builder_amp['swift-width-control']?>;
149
  .tg:checked + .hamb-mnu > .m-ctr {margin-left: calc(100% - <?php echo $redux_builder_amp['header-overlay-width']?>);}
150
  .m-ctr{margin-left: 100%;float: right;}
151
  <?php } ?>
152
+ .tg:checked + .hamb-mnu > .fsc{display: block;background: rgba(0,0,0,.9);height:100%;}
153
  .t-btn, .c-btn{cursor: pointer;}
154
  .t-btn:after{content:"\e5d2";display:inline-block;font-family: "icomoon";font-size:28px;<?php if( isset($redux_builder_amp['swift-element-color-control']['rgba']) && $redux_builder_amp['swift-element-color-control']['rgba']){ ?>color: <?php echo $redux_builder_amp['swift-element-color-control']['rgba']?>;<?php } ?>}
155
  .c-btn:after{content: "\e5cd";font-family: "icomoon";font-size: 20px;<?php if(isset($redux_builder_amp['swift-element-overlay-color-control'] ['rgba']) && $redux_builder_amp['swift-element-overlay-color-control'] ['rgba']){?>color: <?php echo $redux_builder_amp['swift-element-overlay-color-control']['rgba']?>;<?php } ?>line-height: 0;display: block;text-indent: 1px;}
156
  .c-btn{float: right;padding: 20px 10px;}
157
  .m-ctr{transition: margin 0.3s ease-in-out;}
158
+ .m-ctr{<?php if($redux_builder_amp['header-overlay-width']){?>width:<?php echo $redux_builder_amp['header-overlay-width']?>;<?php } ?>height:100%;position: absolute;z-index:99;padding: 2% 0% 100vh 0%;}
159
  .m-menu{display: inline-block;width: 100%;padding: 2px 20px 10px 20px;}
160
  .m-scrl{overflow-y: auto;display: inline-block;width: 100%;overflow: scroll;max-height: 94vh;}
161
  ::-webkit-scrollbar { display: none; }
162
+ .m-menu .toggle:after{content: "\e313";font-family: 'icomoon';background-size: 16px;display: inline-block;top: 1px;padding: 5px;font-size:25px;transform: rotate(270deg);cursor: pointer;border-radius: 35px;color: <?php echo $redux_builder_amp['swift-element-overlay-color-control']['rgba']?>;}
163
+ .m-menu .amp-menu li.menu-item-has-children:after{display:none;}
 
 
164
  .m-menu .amp-menu li ul{font-size:14px;}
165
  .m-menu .amp-menu {list-style-type: none;padding: 0;}
166
+ .m-menu .amp-menu > li a{<?php if($redux_builder_amp['swift-element-overlay-color-control'] ['rgba']){?>color: <?php echo $redux_builder_amp['swift-element-overlay-color-control']['rgba']?>;<?php } ?> padding: 12px 7px;margin-bottom:0;display:inline-block;}
167
  .menu-btn{margin-top:30px;text-align:center;}
168
  .menu-btn a{color:#fff;border:2px solid #ccc;padding:15px 30px;display:inline-block;}
169
  .amp-menu li.menu-item-has-children>ul>li {width:100%;}
173
  margin:0px 10px;
174
  }
175
  .m-menu .amp-menu .sub-menu li:last-child{border:none;}
176
+ .m-menu .amp-menu a {padding: 7px 15px;}
177
  .m-menu > li{font-size:17px;}
178
+ /*New Syles*/
179
+ .m-menu .toggle {float :right;}
180
+ .m-menu input{display:none}
181
+ .m-menu .amp-menu [id^=drop]:checked + label + ul{ display: block;}
182
+ .m-menu .amp-menu [id^=drop]:checked + .toggle:after{transform:rotate(360deg);}
183
+ /*New Syles*/
184
  <?php } ?>
185
  <?php //primary menu
186
 
187
  if($redux_builder_amp['primary-menu']){?>
188
  .p-m-fl{width:100%;border-bottom: 1px solid rgba(0, 0, 0, 0.05);<?php if($redux_builder_amp['primary-menu-background-scheme']['rgba']){?>background:<?php echo $redux_builder_amp['primary-menu-background-scheme']['rgba']; ?><?php } ?>}
189
+ .p-menu{width:100%;text-align:center;margin: 0px auto;<?php if($redux_builder_amp['primary-menu-padding-control']){?>padding: <?php echo ' 0px ' .' '.$redux_builder_amp['primary-menu-padding-control']['padding-right'] .' 0px '.$redux_builder_amp['primary-menu-padding-control']['padding-left'] ; ?>;<?php } ?>}
190
  ::-webkit-scrollbar {display: none;}
191
  .p-menu ul li{display: inline-block;margin-right: 21px;font-size: 12px;line-height: 20px;letter-spacing: 1px;font-weight: 400;}
192
  .p-menu ul li a{<?php if($redux_builder_amp['primary-menu-text-scheme']['rgba']){?>color:<?php echo $redux_builder_amp['primary-menu-text-scheme']['rgba']?>;<?php } ?>
193
  padding: <?php echo $redux_builder_amp['primary-menu-padding-control']['padding-top'] .' 0px '.$redux_builder_amp['primary-menu-padding-control']['padding-bottom'] .' 0px' ; ?>}
194
+ .p-menu input{display:none}
195
+ .p-menu .toggle {display:none }
196
  <?php // Dropdown CSS
197
  if($redux_builder_amp['drp-dwn']){?>
198
  .p-menu ul li:hover>ul{display:block;z-index:9;padding: 7px 0px 7px 7px;
207
  .p-menu .amp-menu li.menu-item-has-children>ul>li {padding-left: 0px;margin-right:0;}
208
  .p-menu li.menu-item-has-children:hover > a:after{transform:rotate(180deg);right:0px;}
209
  <?php } else { ?>
210
+ .p-menu .amp-menu li.menu-item-has-children:hover>ul{display:none;}
211
  .p-menu{overflow-x: auto;overflow-y:hidden;white-space: nowrap;}
212
  <?php } ?>
213
  .p-menu ul li.menu-item-has-children:after{display:none;}
383
  .sf-img .wp-caption-text:before{content:"\e412";font-family: 'icomoon';position: relative;top: 4px;opacity: 0.4;font-size:24pxmargin-right: 5px;}
384
  .sp-cnt{margin-top: 40px;clear: both;width: 100%;display: inline-block; }
385
  .sp-rl{display:inline-flex;width:100%;}
386
+ .sp-lt{display: flex;flex-direction: column;flex: 1 0 20%;order: 0;max-width:237px;}
387
  .sp-rt{width: 72%;margin-left: 60px;flex-direction: column;justify-content: space-around;order: 1;}
388
  .ss-ic, .sp-athr, .amp-tags, .post-date{padding-bottom:20px;border-bottom:1px dotted #ccc;}
389
  .shr-txt, .athr-tx, .amp-tags > span:nth-child(1), .amp-related-posts-title, .related-title, .r-pf h3{margin-bottom: 12px;}
399
  .sgl table {width: 100%;margin-bottom:25px;}
400
  .sgl td {padding: 0.5em 1em;border: 1px solid #ddd;}
401
  .sgl tr:nth-child(odd) td {background: #f7f7f7;}
402
+
403
+ /** Pre tag Styling **/
404
+ pre {padding: 30px 15px;background: #f7f7f7;white-space: pre-wrap;;font-size: 14px;color: #666666;border-left: 3px solid;border-color: <?php echo $redux_builder_amp['swift-color-scheme']['color']?>;margin-bottom: 20px;}
405
+
406
  <?php // Social Sharing Conditional CSS
407
  if($redux_builder_amp['swift-social-position'] == 'above-content'){?>
408
  .shr-txt{display:none;}
452
  // swift Content Heading Sizes Ends?>
453
  .cntn-wrp p, .cntn-wrp ul, .cntn-wrp ol{margin:0px 0px 30px 0px;word-break: break-word;}
454
  .sp-rt p strong, .pg p strong{font-weight: 700;}
455
+ .m-ctr {
456
+ position: fixed;
457
+ overflow: scroll;
458
+ }
459
+ .m-scrl {
460
+ display: inline-block;
461
+ width: 100%;
462
+ max-height: 94vh;
463
+ }
464
  <?php if($redux_builder_amp['rp_design_type'] == '1'){?>
465
  .srp{margin-top:20px;}
466
  .srp .amp-related-posts amp-img{float: left;width: 100%;margin: 0px;height:100%;}
525
  <?php } // Related Posts Desing 3 Ends ?>
526
  .related_link{margin-top:10px;}
527
  .related_link a{color:#333;}
528
+ .related_link p{word-break: break-word;color: #444;font-size: 13px;line-height: 20px;
529
  letter-spacing: 0.10px;margin-top: 5px;font-weight: 400;}
530
  .amp-related-posts ul{list-style-type:none;}
531
  .r-pf{margin-top: 40px;display: inline-block;width: 100%;}
550
  margin: 0;
551
  }
552
  .related_posts .has_related_thumbnail{display: inline-flex;width: 29%;flex-direction: column;margin:0px 30px 30px 0px;justify-content: space-evenly;padding:0;}
553
+ .related_posts .related_link p{word-break: break-word;color: #444;font-size: 13px;line-height: 20px;
554
  letter-spacing: 0.10px;margin-top: 5px;font-weight: 400;}
555
  <?php } ?>
556
  <?php if(is_single() && $redux_builder_amp['enable-single-social-icons'] ){?>
572
  <?php if( 1 == $redux_builder_amp['breadcrumb-border'] ) {?>
573
  border-bottom: 1px solid #eee;
574
  <?php }?>}
575
+ .breadcrumb ul li,.breadcrumbs span{display: inline-block;list-style-type: none;font-size: 10px;text-transform: uppercase;margin-right: 5px;}
576
+ .breadcrumb ul li a, .breadcrumbs span a{color: #999;letter-spacing: 1px;}
577
+ .breadcrumb ul li a:hover, .breadcrumbs span a:hover{color:#005be2;}
578
+ .breadcrumbs li a:after, .breadcrumbs span a:after{content: "\e315";display: inline-block;color: #bdbdbd;font-family: 'icomoon';padding-left: 5px;font-size: 12px;position: relative;top: 1px;}
579
  .breadcrumbs li:last-child a:after {display: none;}
580
  <?php } //Breadcrumbs Ends?>
581
  #pagination{margin-top: 30px;border-top: 1px dotted #ccc;padding: 20px 5px 0px 5px;;font-size: 16px;line-height: 24px;font-weight:400;}
648
  @media(max-width:768px){
649
  .tl-exc {font-size: 14px;margin-top: 3px;line-height: 22px;}
650
  .sp-rl {display: inline-block;width: 100%;}
 
651
  .sp-lt {width: 100%;margin-top: 20px;max-width:100%;}
652
  .sp-cnt{margin-top: 15px;}
653
+ .r-pf h3{padding-top:20px;border-top:1px dotted #ccc; }
654
  .r-pf {margin-top:20px;}
655
  .cmts{margin:20px 0px 20px 0px;}
656
  .sp-rt {width: 100%;margin-left: 0;}
893
  <?php } // sidebar CSS ends
894
  } // single design 4 ends?>
895
  <?php // Header and Archive Sidebar
896
+ if ( (isset($redux_builder_amp['gbl-sidebar']) && $redux_builder_amp['gbl-sidebar'])
897
+ && (isset($redux_builder_amp['gnrl-sidebar']) && $redux_builder_amp['gnrl-sidebar']) ) { ?>
898
  .b-w, .arch-dsgn{
899
  display: flex;
900
  }
960
  }
961
  .amp-sidebar{
962
  padding:20px;
963
+ font-size: 14px;
964
  line-height: 1.5;
965
  <?php if(isset($redux_builder_amp['sbr-text-color']['rgba']) && $redux_builder_amp['sbr-text-color']['rgba'] ) {?>
966
  color: <?php echo $redux_builder_amp['sbr-text-color']['rgba'] ?>;
968
  }
969
  .amp-sidebar ul li{
970
  list-style-type: none;
971
+ border-bottom: 1px solid #ddd;
972
+ border-top: 1px solid #ddd;
973
+ padding: 0.5em 0;
974
+ }
975
+ .amp-sidebar ul li + li {
976
+ margin-top: -1px;
977
+ }
978
+ .amp-sidebar ul li ul {
979
+ margin: 0 0 -1px;
980
+ padding: 0;
981
+ position: relative;
982
+ }
983
+ .amp-sidebar ul li li {
984
+ border: 0;
985
+ padding-left: 24px
986
+ }
987
+ .amp-sidebar ul li a:hover, .calendar_wrap a:hover{
988
+ box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 3px 0 <?php echo $redux_builder_amp['swift-color-scheme']['color'] ?>;
989
+ }
990
+ .sgl .calendar_wrap td{
991
+ padding:10px;
992
+ }
993
+ thead th {
994
+ border-bottom: 2px solid #bbb;
995
+ padding: 0.5em;
996
+ }
997
+ .amp-sidebar .gallery-item {
998
+ display: inline-block;
999
+ text-align: left;
1000
+ vertical-align: top;
1001
+ margin: 0 0 1.5em;
1002
+ padding: 0 1em 0 0;
1003
+ width: 50%;
1004
+ }
1005
+ .amp-sidebar .gallery-item:hover{
1006
+ opacity:0.5;
1007
  }
1008
  .amp-sidebar h4{
1009
  <?php if(isset($redux_builder_amp['sbr-heading-color']['rgba']) && $redux_builder_amp['sbr-heading-color']['rgba'] ) {?>
1010
  color: <?php echo $redux_builder_amp['sbr-heading-color']['rgba'] ?>;
1011
  <?php } ?>
1012
+ font-size: 12px;
1013
+ text-transform: uppercase;
1014
+ margin-bottom: 2em;
1015
+ font-weight: 800;
1016
+ letter-spacing: 0.1818em;
1017
+ }
1018
+ .amp-sidebar .tagcloud a, .wp_widget_tag_cloud a {
1019
+ border: 1px solid #d1d1d1;
1020
+ -webkit-box-shadow: none;
1021
+ box-shadow: none;
1022
+ display: inline-block;
1023
+ margin-bottom:5px;
1024
+ padding: 4px 10px 5px;
1025
+ position: relative;
1026
+ transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
1027
+ width: auto;
1028
+ word-wrap: break-word;
1029
+ z-index: 0;
1030
+ }
1031
+ .amp-sidebar .tagcloud a:hover, .wp_widget_tag_cloud a:hover{box-shadow:none;border:1px solid #888;}
1032
+ .amp-sidebar .tagcloud ul li {
1033
+ float: left;
1034
+ border-top: 0;
1035
+ border-bottom: 0;
1036
+ padding: 0;
1037
+ margin: 4px 4px 0 0;
1038
  }
1039
  .amp-sidebar p{
1040
  margin-bottom:15px;
1193
  }
1194
  }
1195
  <?php } ?>
1196
+ <?php } // New footer feature closed
1197
+ else{ // Default Footer CSS ?>
1198
+ .f-menu {font-size: 14px;line-height: 1.4;margin-bottom: 30px;}
1199
+ .f-menu ul li {display: inline-block;margin-right: 20px;}
1200
+ .f-menu .sub-menu{display:none;}
1201
+ .rr{font-size:13px;color: <?php echo $redux_builder_amp['swift-footer-txt-clr']['rgba'] ?>;}
1202
+ <?php } // If advanced footer is disabled Default Footer CSS will be load ?>
1203
  @media(max-width:768px){
1204
  .footer {margin-top: 60px;}
1205
  .w-bl{flex:1 0 22%;}
1341
  if( isset($redux_builder_amp['enable-amp-ads-5'] ) && $redux_builder_amp['enable-amp-ads-5'] ) { ?>.amp_ad_5{margin: 10px 0px -17px 0px;}<?php }
1342
  if( isset($redux_builder_amp['enable-amp-ads-6'] ) && $redux_builder_amp['enable-amp-ads-6'] ) { ?>.amp-ad-6{ margin: 0px 0px 20px 0px;}<?php } ?>
1343
  .amp-ad-wrapper {margin-top: 10px; margin-bottom: 10px}
1344
+ <?php if( true == $redux_builder_amp['amp-enable-notifications'] ) {?>
1345
  #amp-user-notification1{padding: 5px;text-align: center;background: #fff;border-top: 1px solid #005be2;}
1346
  #amp-user-notification1 p {display: inline-block;margin: 20px 0px;}
1347
  amp-user-notification button {padding: 8px 10px;background: #005be2;color: #fff;margin-left: 5px;border: 0;}
templates/features.php CHANGED
@@ -368,12 +368,26 @@ define('AMPFORWP_COMMENTS_PER_PAGE', ampforwp_define_comments_number() );
368
  global $sitepress_settings, $wp;
369
  if($sitepress_settings[ 'language_negotiation_type' ] == 3){
370
  if( is_singular() ){
 
 
371
  $wpml_url =get_permalink( get_queried_object_id() );
372
- $explode_url = explode('/', $wpml_url);
 
373
  $append_amp = 'amp';
374
- array_splice( $explode_url, 5, 0, $append_amp );
375
- $impode_url = implode('/', $explode_url);
376
- $amp_url = untrailingslashit($impode_url);
 
 
 
 
 
 
 
 
 
 
 
377
  }
378
  if ( is_home() || is_archive() ){
379
  global $wp;
@@ -382,13 +396,47 @@ define('AMPFORWP_COMMENTS_PER_PAGE', ampforwp_define_comments_number() );
382
  $inserted = array(AMPFORWP_AMP_QUERY_VAR);
383
  $query_arg_array = $wp->query_vars;
384
  if( array_key_exists( 'paged' , $query_arg_array ) ) {
385
- array_splice( $explode_path, -3, 0, $inserted );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
386
  }
387
  else{
388
- array_splice( $explode_path, -1, 0, $inserted );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
389
  }
390
- $impode_url = implode('/', $explode_path);
391
- $amp_url = $impode_url;
392
  }
393
  }
394
  }
@@ -2190,6 +2238,13 @@ remove_action( 'amp_post_template_head', 'quads_amp_add_amp_ad_js');
2190
  add_action('amp_post_template_footer','ampforwp_sticky_social_icons');
2191
  function ampforwp_sticky_social_icons(){
2192
  global $redux_builder_amp;
 
 
 
 
 
 
 
2193
  /* include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
2194
  if( !is_plugin_active( 'amp-cta/amp-cta.php' ) ) {*/
2195
  if( ($redux_builder_amp['enable-single-social-icons'] == true && is_single()) || (is_page() && true == $redux_builder_amp['ampforwp-page-sticky-social'])) {
@@ -2199,7 +2254,7 @@ function ampforwp_sticky_social_icons(){
2199
  }
2200
  $permalink = '';
2201
  if(isset($redux_builder_amp['enable-single-twitter-share-link']) && $redux_builder_amp['enable-single-twitter-share-link']){
2202
- $permalink = get_the_permalink();
2203
  }
2204
  else
2205
  $permalink = wp_get_shortlink();
@@ -2207,6 +2262,7 @@ function ampforwp_sticky_social_icons(){
2207
  <div class="sticky_social">
2208
  <?php if($redux_builder_amp['enable-single-facebook-share'] == true) { ?>
2209
  <amp-social-share type="facebook" data-param-app_id="<?php echo $redux_builder_amp['amp-facebook-app-id']; ?>" width="50" height="28"></amp-social-share>
 
2210
  <?php } ?>
2211
  <?php if($redux_builder_amp['enable-single-twitter-share'] == true) {
2212
  $data_param_data = $redux_builder_amp['enable-single-twitter-share-handle'];?>
@@ -2230,91 +2286,91 @@ function ampforwp_sticky_social_icons(){
2230
  <amp-social-share type="linkedin" width="50" height="28"></amp-social-share>
2231
  <?php } ?>
2232
  <?php if($redux_builder_amp['enable-single-whatsapp-share'] == true) { ?>
2233
- <a title="whatsapp share" href="whatsapp://send?text=<?php echo get_the_permalink();?>">
2234
  <div class="amp-social-icon">
2235
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1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go8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K" width="50" height="20" />
2236
  </div>
2237
  </a>
2238
  <?php } ?>
2239
  <?php if($redux_builder_amp['enable-single-line-share'] == true) { ?>
2240
- <a title="line share" href="http://line.me/R/msg/text/?<?php echo get_the_permalink(); ?>">
2241
  <div class="amp-social-icon custom-amp-socialsharing-line">
2242
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDI5Ni41MjggMjk2LjUyOCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjk2LjUyOCAyOTYuNTI4OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjI0cHgiIGhlaWdodD0iMjRweCI+CjxnPgoJPHBhdGggZD0iTTI5NS44MzgsMTE1LjM0N2wwLjAwMy0wLjAwMWwtMC4wOTItMC43NmMtMC4wMDEtMC4wMTMtMC4wMDItMC4wMjMtMC4wMDQ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Ny03LDdoLTI2LjU3djEyLjg0OWgyMS41NjJjMy44NjYsMCw3LDMuMTM0LDcsN2MwLDMuODY2LTMuMTM0LDctNyw3ICAgaC0yMS41NjJ2MTIuODQ3aDI3LjY0NWMzLjg2NiwwLDcsMy4xMzQsNyw3UzIzNy4xNzcsMTU5LjI2OSwyMzMuMzExLDE1OS4yNjl6IiBmaWxsPSIjRkZGRkZGIi8+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==" width="50" height="20" />
2243
  </div>
2244
  </a>
2245
  <?php } ?>
2246
  <?php if($redux_builder_amp['enable-single-vk-share'] == true) { ?>
2247
- <a title="vkontakte share" href="http://vk.com/share.php?url=<?php echo get_the_permalink(); ?>">
2248
  <div class="amp-social-icon amp-social-vk">
2249
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCAzMDQuMzYgMzA0LjM2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAzMDQuMzYgMzA0LjM2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I0ZGRkZGRiIvPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=" width="50" height="20" />
2250
  </div>
2251
  </a>
2252
  <?php } ?>
2253
  <?php if($redux_builder_amp['enable-single-odnoklassniki-share'] == true) { ?>
2254
- <a title="odnoklassniki share" href="https://ok.ru/dk?st.cmd=addShare&st._surl=<?php echo get_the_permalink(); ?>" target="_blank">
2255
  <div class="amp-social-icon amp-social-odnoklassniki">
2256
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDk1LjQ4MSA5NS40ODEiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDk1LjQ4MSA5NS40ODE7IiB4bWw6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MTgsMS4xNSAgICBjLTIuMzYyLTEuMTQ1LTMuODY1LTMuNTU2LTMuNzQ5LTUuOTc5YzAuMDgtMS42MzksMC44ODYtMi44OTEsMi4wMTEtNC4wMTRjNS40NDEtNS40MzMsMTAuODY3LTEwLjg4LDE2LjI5NS0xNi4zMjIgICAgQzQyLjE4Myw2OC4xOTcsNDIuNTE4LDY3LjgxMyw0My4wNDEsNjcuMjU0eiIgZmlsbD0iI0ZGRkZGRiIvPgoJCTxwYXRoIGQ9Ik00Ny41NSw0OC4zMjljLTEzLjIwNS0wLjA0NS0yNC4wMzMtMTAuOTkyLTIzLjk1Ni0yNC4yMThDMjMuNjcsMTAuNzM5LDM0LjUwNS0wLjAzNyw0Ny44NCwwICAgIGMxMy4zNjIsMC4wMzYsMjQuMDg3LDEwLjk2NywyNC4wMiwyNC40NzhDNzEuNzkyLDM3LjY3Nyw2MC44ODksNDguMzc1LDQ3LjU1LDQ4LjMyOXogTTU5LjU1MSwyNC4xNDMgICAgYy0wLjAyMy02LjU2Ny01LjI1My0xMS43OTUtMTEuODA3LTExLjgwMWMtNi42MDktMC4wMDctMTEuODg2LDUuMzE2LTExLjgzNSwxMS45NDNjMC4wNDksNi41NDIsNS4zMjQsMTEuNzMzLDExLjg5NiwxMS43MDkgICAgQzU0LjM1NywzNS45NzEsNTkuNTczLDMwLjcwOSw1OS41NTEsMjQuMTQzeiIgZmlsbD0iI0ZGRkZGRiIvPgoJPC9nPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=" width="50" height="20" />
2257
  </div>
2258
  </a>
2259
  <?php } ?>
2260
  <?php if ( true == $redux_builder_amp['enable-single-reddit-share'] ) { ?>
2261
- <a title="reddit share" href="https://reddit.com/submit?url=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(get_the_title()); ?>" target="_blank">
2262
  <div class="amp-social-icon amp-social-reddit">
2263
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNDQ5IDUxMiIgZmlsbD0iI2ZmZmZmZiIgPjxwYXRoIGQ9Ik00NDkgMjUxYzAgMjAtMTEgMzctMjcgNDUgMSA1IDEgOSAxIDE0IDAgNzYtODkgMTM4LTE5OSAxMzhTMjYgMzg3IDI2IDMxMWMwLTUgMC0xMCAxLTE1LTE2LTgtMjctMjUtMjctNDUgMC0yOCAyMy01MCA1MC01MCAxMyAwIDI0IDUgMzMgMTMgMzMtMjMgNzktMzkgMTI5LTQxaDJsMzEtMTAzIDkwIDE4YzgtMTQgMjItMjQgMzktMjRoMWMyNSAwIDQ0IDIwIDQ0IDQ1cy0xOSA0NS00NCA0NWgtMWMtMjMgMC00Mi0xNy00NC00MGwtNjctMTQtMjIgNzRjNDkgMyA5MyAxNyAxMjUgNDAgOS04IDIxLTEzIDM0LTEzIDI3IDAgNDkgMjIgNDkgNTB6TTM0IDI3MWM1LTE1IDE1LTI5IDI5LTQxLTQtMy05LTUtMTUtNS0xNCAwLTI1IDExLTI1IDI1IDAgOSA0IDE3IDExIDIxem0zMjQtMTYyYzAgOSA3IDE3IDE2IDE3czE3LTggMTctMTctOC0xNy0xNy0xNy0xNiA4LTE2IDE3ek0xMjcgMjg4YzAgMTggMTQgMzIgMzIgMzJzMzItMTQgMzItMzItMTQtMzEtMzItMzEtMzIgMTMtMzIgMzF6bTk3IDExMmM0OCAwIDc3LTI5IDc4LTMwbC0xMy0xMnMtMjUgMjQtNjUgMjRjLTQxIDAtNjQtMjQtNjQtMjRsLTEzIDEyYzEgMSAyOSAzMCA3NyAzMHptNjctODBjMTggMCAzMi0xNCAzMi0zMnMtMTQtMzEtMzItMzEtMzIgMTMtMzIgMzEgMTQgMzIgMzIgMzJ6bTEyNC00OGM3LTUgMTEtMTMgMTEtMjIgMC0xNC0xMS0yNS0yNS0yNS02IDAtMTEgMi0xNSA1IDE0IDEyIDI0IDI3IDI5IDQyeiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
2264
  </div>
2265
  </a>
2266
  <?php } ?>
2267
  <?php if ( true == $redux_builder_amp['enable-single-tumblr-share'] ) { ?>
2268
- <a title="tumblr share" 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">
2269
  <div class="amp-social-icon amp-social-tumblr">
2270
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNjQgNjQiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMzYuMDAyIDI4djE0LjYzNmMwIDMuNzE0LS4wNDggNS44NTMuMzQ2IDYuOTA2LjM5IDEuMDQ3IDEuMzcgMi4xMzQgMi40MzcgMi43NjMgMS40MTguODUgMy4wMzQgMS4yNzMgNC44NTcgMS4yNzMgMy4yNCAwIDUuMTU1LS40MjggOC4zNi0yLjUzNHY5LjYyYy0yLjczMiAxLjI4Ni01LjExOCAyLjAzOC03LjMzNCAyLjU2LTIuMjIuNTE0LTQuNjE2Ljc3NC03LjE5Ljc3NC0yLjkyOCAwLTQuNjU1LS4zNjgtNi45MDItMS4xMDMtMi4yNDctLjc0Mi00LjE2Ni0xLjgtNS43NS0zLjE2LTEuNTkyLTEuMzctMi42OS0yLjgyNC0zLjMwNC00LjM2M3MtLjkyLTMuNzc2LS45Mi02LjcwM1YyNi4yMjRoLTguNTl2LTkuMDYzYzIuNTE0LS44MTUgNS4zMjQtMS45ODcgNy4xMTItMy41MSAxLjc5Ny0xLjUyNyAzLjIzNS0zLjM1NiA0LjMyLTUuNDk2QzI0LjUzIDYuMDIyIDI1LjI3NiAzLjMgMjUuNjgzIDBoMTAuMzJ2MTZINTJ2MTJIMzYuMDA0eiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
2271
  </div>
2272
  </a>
2273
  <?php } ?>
2274
  <?php if ( true == $redux_builder_amp['enable-single-telegram-share'] ) { ?>
2275
- <a title="telegram share" href="https://telegram.me/share/url?url=<?php echo esc_url(get_the_permalink()); ?>&text=<?php echo esc_attr(get_the_title()); ?>" target="_blank">
2276
  <div class="amp-social-icon amp-social-telegram">
2277
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjYgMjYiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMCAydjguNUwxNSAxMyAwIDE1LjVWMjRsMjYtMTFMMCAyeiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
2278
  </div>
2279
  </a>
2280
  <?php } ?>
2281
  <?php if ( true == $redux_builder_amp['enable-single-digg-share'] ) { ?>
2282
- <a title="digg share" href="http://digg.com/submit?url=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(get_the_title()); ?>" target="_blank">
2283
  <div class="amp-social-icon amp-social-digg">
2284
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjA0OCAxODk2LjA4MzMiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMzI4IDI4MmgyMDR2OTgzSDBWNTY4aDMyOFYyODJ6bTAgODE5VjczMkgyMDV2MzY5aDEyM3ptMjg2LTUzM3Y2OTdoMjA1VjU2OEg2MTR6bTAtMjg2djIwNGgyMDVWMjgySDYxNHptMjg3IDI4Nmg1MzN2OTQySDkwMXYtMTYzaDMyOHYtODJIOTAxVjU2OHptMzI4IDUzM1Y3MzJoLTEyM3YzNjloMTIzem0yODctNTMzaDUzMnY5NDJoLTUzMnYtMTYzaDMyN3YtODJoLTMyN1Y1Njh6bTMyNyA1MzNWNzMyaC0xMjN2MzY5aDEyM3oiPjwvcGF0aD48L3N2Zz4=" width="50" height="20" />
2285
  </div>
2286
  </a>
2287
  <?php } ?>
2288
  <?php if ( true == $redux_builder_amp['enable-single-stumbleupon-share'] ) { ?>
2289
- <a title="stumbleupon share" href="http://www.stumbleupon.com/submit?url=<?php echo esc_url(get_the_permalink()); ?>&title=<?php echo esc_attr(get_the_title()); ?>" target="_blank">
2290
  <div class="amp-social-icon amp-social-stumbleupon">
2291
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNjcwLjIyMzMgNjAxLjA4NjkiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMCA0MzcuMjQ3di05Mi42NzJoMTE0LjY4OHY5MS42NjR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44MTYtNi45OTMgMTAuMjU1LTE1LjQ0IDEwLjI1NS0yNS4zNDR2LTk1Ljc0NGgxMTQuNjg4djkyLjY3MmMwIDQxLjI5NS0xNC41OSA3Ni42NC00My43NzYgMTA1Ljk4My0yOS4xODQgMjkuMzYtNjQuNDMyIDQ0LjAzMi0xMDUuNzI4IDQ0LjAzMnMtNzYuNjI1LTE0LjQ5Ny0xMDUuOTg1LTQzLjUyYy0yOS4zNi0yOS4wNC00NC4wNDgtNjQuMDE3LTQ0LjA0OC0xMDQuOTc4eiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
2292
  </div>
2293
  </a>
2294
  <?php } ?>
2295
  <?php if ( true == $redux_builder_amp['enable-single-wechat-share'] ) { ?>
2296
- <a title="wechat share" href="http://api.addthis.com/oexchange/0.8/forward/wechat/offer?url=<?php echo esc_url(get_the_permalink()); ?>" target="_blank">
2297
  <div class="amp-social-icon amp-social-wechat">
2298
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjA0OCAxODk2LjA4MzMiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNNTgwIDQ2MXEwLTQxLTI1LTY2dC02Ni0yNXEtNDMgMC03NiAyNS41VDM4MCA0NjFxMCAzOSAzMyA2NC41dDc2IDI1LjVxNDEgMCA2Ni0yNC41dDI1LTY1LjV6bTc0MyA1MDdxMC0yOC0yNS41LTUwdC02NS41LTIycS0yNyAwLTQ5LjUgMjIuNVQxMTYwIDk2OHEwIDI4IDIyLjUgNTAuNXQ0OS41IDIyLjVxNDAgMCA2NS41LTIydDI1LjUtNTF6bS0yMzYtNTA3cTAtNDEtMjQuNS02NlQ5OTcgMzcwcS00MyAwLTc2IDI1LjVUODg4IDQ2MXEwIDM5IDMzIDY0LjV0NzYgMjUuNXE0MSAwIDY1LjUtMjQuNVQxMDg3IDQ2MXptNjM1IDUwN3EwLTI4LTI2LTUwdC02NS0yMnEtMjcgMC00OS41IDIyLjVUMTU1OSA5NjhxMCAyOCAyMi41IDUwLjV0NDkuNSAyMi41cTM5IDAgNjUtMjJ0MjYtNTF6bS0yNjYtMzk3cS0zMS00LTcwLTQtMTY5IDAtMzExIDc3VDg1MS41IDg1Mi41IDc3MCAxMTQwcTAgNzggMjMgMTUyLTM1IDMtNjggMy0yNiAwLTUwLTEuNXQtNTUtNi41LTQ0LjUtNy01NC41LTEwLjUtNTAtMTAuNWwtMjUzIDEyNyA3Mi0yMThRMCA5NjUgMCA2NzhxMC0xNjkgOTcuNS0zMTF0MjY0LTIyMy41VDcyNSA2MnExNzYgMCAzMzIuNSA2NnQyNjIgMTgyLjVUMTQ1NiA1NzF6bTU5MiA1NjFxMCAxMTctNjguNSAyMjMuNVQxNzk0IDE1NDlsNTUgMTgxLTE5OS0xMDlxLTE1MCAzNy0yMTggMzctMTY5IDAtMzExLTcwLjVUODk3LjUgMTM5NiA4MTYgMTEzMnQ4MS41LTI2NFQxMTIxIDY3Ni41dDMxMS03MC41cTE2MSAwIDMwMyA3MC41dDIyNy41IDE5MlQyMDQ4IDExMzJ6Ij48L3BhdGg+PC9zdmc+" width="50" height="20" />
2299
  </div>
2300
  </a>
2301
  <?php } ?>
2302
  <?php if ( true == $redux_builder_amp['enable-single-viber-share'] ) { ?>
2303
- <a title="viber share" href="viber://forward?text=<?php echo esc_url(get_the_permalink()); ?>" target="_blank">
2304
  <div class="amp-social-icon amp-social-viber">
2305
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTAyNiAxMjM0IiBmaWxsPSIjZmZmZmZmIiA+PHBhdGggZD0iTTkwNCA3OTRxLTY5IDYxLTIwMCA4Ny41VDQzNCA4OTdsLTE3NiAxMzJWODY0cS04Ny0yNy0xMzYtNzAtNTgtNTEtOTAtMTQ2LjV0LTMyLTE5NSAzMi0xOTUgOTAuNS0xNDcgMTY3LjUtNzlUNTEzIDR0MjIzIDI3LjUgMTY3LjUgNzkgOTAuNSAxNDcgMzIgMTk1LTMyIDE5NVQ5MDQgNzk0ek02MzkgNTQ5bDY1IDExcS04LTEyMC05Mi41LTIwNVQ0MDcgMjYybDExIDY1cTg2IDExIDE0OCA3M3Q3MyAxNDl6TTQyOSAzOTRsMTIgNzJxNDAgMjAgNTkgNTlsNzIgMTJxLTEyLTUzLTUxLTkxLjVUNDI5IDM5NHptLTEwNyA1OXYtNjRxMC0xNy0xMi41LTM0VDI4MyAzMzAuNXQtMjEtMS41bC00NiA0N3EtMzkgMzktMTEuNSAxMjEuNXQxMDUgMTYwIDE2MCAxMDVUNTkwIDc1MWw0Ny00N3E3LTYtLjUtMjAuNVQ2MTIgNjU3dC0zNC0xMmgtNjRsLTM3IDMycS00NC0xMi0xMDkuNS03Ny41VDI5MCA0ODl6bTY0LTMyMGwxMCA2NXExMDAgMiAxODUgNTIuNXQxMzUgMTM1VDc2OSA1NzBsNjUgMTFxMC05MS0zNS41LTE3NFQ3MDMgMjY0dC0xNDMtOTUuNVQzODYgMTMzeiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
2306
  </div>
2307
  </a>
2308
  <?php } ?>
2309
  <?php if ( true == $redux_builder_amp['enable-single-hatena-bookmarks'] ) { ?>
2310
- <a title="hatena share" href="http://b.hatena.ne.jp/entry/<?php echo esc_url(get_the_permalink()); ?>" target="_blank">
2311
  <div class="amp-social-icon amp-social-hatena">
2312
  <amp-img src="data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' viewBox='0 0 512 512'%3e%3cpath d='M 64 96 L 64 416 L 212 416 C 252 416 292 404 308 368 C 328 332 320 276 284 252 C 272 244 260 240 248 236 C 276 232 300 212 300 184 C 304 156 296 120 268 108 C 236 96 192 96 160 96 L 64 96 z M 364 96 L 364 308 L 444 308 L 444 96 L 364 96 z M 144 156 C 144 156 188 156 200 160 C 224 168 224 208 196 212 C 188 216 144 216 144 216 L 144 156 z M 144 280 C 144 280 188 280 208 284 C 232 288 240 312 228 332 C 220 348 204 348 188 348 L 144 348 L 144 280 z M 404 328 A 44 44 0 0 0 360 372 A 44 44 0 0 0 404 416 A 44 44 0 0 0 448 372 A 44 44 0 0 0 404 328 z' style='fill:%23ffffff'/%3e%3c/svg%3e" width="50" height="20" />
2313
  </div>
2314
  </a>
2315
  <?php } ?>
2316
  <?php if ( true == $redux_builder_amp['enable-single-pocket-share'] ) { ?>
2317
- <a title="pocket share" href="https://getpocket.com/save?url=<?php echo esc_url(get_the_permalink()); ?>" target="_blank">
2318
  <div class="amp-social-icon amp-social-pocket">
2319
  <amp-img src="data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='2500' height='2251' viewBox='75.247 261.708 445.529 401.074'%3e%3cpath fill='%23EF4056' d='M114.219 261.708c-24.275 1.582-38.972 15.44-38.972 40.088v147.611c0 119.893 119.242 214.114 222.393 213.37 115.986-.837 223.137-98.779 223.137-213.37V301.796c0-24.741-15.626-38.693-40.088-40.088h-366.47zm93.943 120.079L297.64 466.8l89.571-85.013c40.088-16.835 57.574 28.927 41.111 42.321L311.685 535.443c-3.813 3.628-24.183 3.628-27.996 0L167.051 424.107c-15.72-14.789 4.743-61.295 41.111-42.32z'/%3e%3c/svg%3e" width="50" height="20" />
2320
  </div>
@@ -2380,19 +2436,19 @@ function ampforwp_add_proper_post_meta(){
2380
  if ( $check_custom_front_page == 'page' ) {
2381
  add_action( 'amp_post_template_head', 'ampforwp_custom_yoast_meta_homepage' );
2382
  if(is_home()){
2383
- add_filter('wpseo_opengraph_title', 'custom_twitter_title_homepage');
2384
- add_filter('wpseo_twitter_title', 'custom_twitter_title_homepage');
2385
 
2386
 
2387
- add_filter('wpseo_opengraph_desc', 'custom_twitter_description_homepage');
2388
- add_filter('wpseo_twitter_description', 'custom_twitter_description_homepage');
2389
 
2390
- add_filter('wpseo_opengraph_url', 'custom_og_url_homepage');
2391
 
2392
 
2393
  // This is causing the 2nd debug issue reported in #740
2394
- // add_filter('wpseo_twitter_image', 'custom_og_image_homepage');
2395
- add_filter('wpseo_opengraph_image', 'custom_og_image_homepage');
2396
  }
2397
  } else {
2398
  add_action( 'amp_post_template_head', 'ampforwp_custom_yoast_meta' );
@@ -2401,18 +2457,26 @@ function ampforwp_add_proper_post_meta(){
2401
  add_action('pre_amp_render_post','ampforwp_add_proper_post_meta');
2402
 
2403
 
2404
- function custom_twitter_title_homepage() {
2405
-
2406
- return esc_attr( get_bloginfo( 'name' ) );
 
 
 
 
2407
  }
2408
- function custom_twitter_description_homepage() {
2409
-
 
 
 
 
2410
  return esc_attr( get_bloginfo( 'description' ) );
2411
  }
2412
- function custom_og_url_homepage() {
2413
  return esc_url( get_bloginfo( 'url' ) );
2414
  }
2415
- function custom_og_image_homepage() {
2416
  if ( class_exists('WPSEO_Options') ) {
2417
  $options = WPSEO_Options::get_option( 'wpseo_social' );
2418
  return $options['og_default_image'] ;
@@ -3808,10 +3872,10 @@ function ampforwp_add_modified_date($post_object){
3808
  echo esc_html(
3809
  sprintf(
3810
  _x( ampforwp_translation( $redux_builder_amp['amp-translator-modified-date-text'],'This article was last modified on ' ) . ' %s ' , '%s = human-readable time difference', 'accelerated-mobile-pages' ),
3811
- date( "F j, Y, g:i a" , $post_object->get( 'post_modified_timestamp' ) )
3812
  )
3813
  );
3814
- } ?>
3815
  </p>
3816
  </div> <?php
3817
  }
@@ -6336,11 +6400,37 @@ function ampforwp_url_controller( $url, $nonamp = '' ) {
6336
  }
6337
  else {
6338
  $new_url = user_trailingslashit( trailingslashit( $url ) . AMPFORWP_AMP_QUERY_VAR);
6339
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6340
  } else {
6341
  $new_url = add_query_arg( 'amp', '1', $url );
6342
  }
6343
-
6344
  return esc_url( $new_url );
6345
  }
6346
  // 99. Merriweather Font Management
@@ -6416,7 +6506,7 @@ function ampforwp_default_logo_data() {
6416
  $logo_alt = '';
6417
 
6418
  $logo_id = get_theme_mod( 'custom_logo' );
6419
- if( empty( $logo_id ) ) {
6420
  $logo_id = (integer) $redux_builder_amp['opt-media']['id'];
6421
  }
6422
 
@@ -6754,6 +6844,15 @@ function ampforwp_is_non_amp( $type="" ) {
6754
  $non_amp = true;
6755
 
6756
  }
 
 
 
 
 
 
 
 
 
6757
  //check for theme
6758
  /*if ( 'Twenty Fifteen' != wp_get_theme() ) {
6759
  return false;
@@ -7515,4 +7614,9 @@ function ampforwp_wp_kses_allowed_html(){
7515
  }
7516
  }
7517
  return $allowed_html;
 
 
 
 
 
7518
  }
368
  global $sitepress_settings, $wp;
369
  if($sitepress_settings[ 'language_negotiation_type' ] == 3){
370
  if( is_singular() ){
371
+ $active_langs = $sitepress_settings['active_languages'];
372
+ $found == '';
373
  $wpml_url =get_permalink( get_queried_object_id() );
374
+ $untrail_wpml_url = untrailingslashit($wpml_url);
375
+ $explode_url = explode('/', $untrail_wpml_url);
376
  $append_amp = 'amp';
377
+ foreach ($active_langs as $active_lang) {
378
+ foreach($explode_url as $a) {
379
+ if (stripos('?lang='.$active_lang ,$a) !== false){
380
+ $amp_url = add_query_arg('amp','1',$wpml_url);
381
+ $found = 'found';
382
+ break 2;
383
+ }
384
+ }
385
+ }
386
+ if($found == ''){
387
+ array_splice( $explode_url, count($explode_url), 0, $append_amp );
388
+ $impode_url = implode('/', $explode_url);
389
+ $amp_url = untrailingslashit($impode_url);
390
+ }
391
  }
392
  if ( is_home() || is_archive() ){
393
  global $wp;
396
  $inserted = array(AMPFORWP_AMP_QUERY_VAR);
397
  $query_arg_array = $wp->query_vars;
398
  if( array_key_exists( 'paged' , $query_arg_array ) ) {
399
+ $active_langs = $sitepress_settings['active_languages'];
400
+ $found = '';
401
+ foreach ($active_langs as $active_lang) {
402
+
403
+ foreach($explode_path as $a) {
404
+ if (stripos('?lang='.$active_lang ,$a) !== false){
405
+ $amp_url = add_query_arg('amp','1',$current_archive_url);
406
+ $found = 'found';
407
+ break 2;
408
+ }
409
+ }
410
+
411
+ }
412
+ if($found == ''){
413
+ array_splice( $explode_path, count($explode_path), 0, $inserted );
414
+ $impode_url = implode('/', $explode_path);
415
+ $amp_url = $impode_url;
416
+
417
+ }
418
  }
419
  else{
420
+ $active_langs = $sitepress_settings['active_languages'];
421
+ $found = '';
422
+ foreach ($active_langs as $active_lang) {
423
+
424
+ foreach($explode_path as $a) {
425
+ if (stripos('?lang='.$active_lang ,$a) !== false){
426
+
427
+ $amp_url = add_query_arg('amp','1',$current_archive_url);
428
+ $found = 'found';
429
+ break 2;
430
+ }
431
+ }
432
+ }
433
+ if($found == ''){
434
+ array_splice( $explode_path, count($explode_path), 0, $inserted );
435
+ $impode_url = implode('/', $explode_path);
436
+ $amp_url = $impode_url;
437
+
438
+ }
439
  }
 
 
440
  }
441
  }
442
  }
2238
  add_action('amp_post_template_footer','ampforwp_sticky_social_icons');
2239
  function ampforwp_sticky_social_icons(){
2240
  global $redux_builder_amp;
2241
+ // Social share in AMP
2242
+ $amp_permalink = "";
2243
+ if ( ampforwp_get_setting('ampforwp-social-share-amp') ) {
2244
+ $amp_permalink = ampforwp_url_controller(get_the_permalink());
2245
+ } else{
2246
+ $amp_permalink = get_the_permalink();
2247
+ }
2248
  /* include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
2249
  if( !is_plugin_active( 'amp-cta/amp-cta.php' ) ) {*/
2250
  if( ($redux_builder_amp['enable-single-social-icons'] == true && is_single()) || (is_page() && true == $redux_builder_amp['ampforwp-page-sticky-social'])) {
2254
  }
2255
  $permalink = '';
2256
  if(isset($redux_builder_amp['enable-single-twitter-share-link']) && $redux_builder_amp['enable-single-twitter-share-link']){
2257
+ $permalink = $amp_permalink;
2258
  }
2259
  else
2260
  $permalink = wp_get_shortlink();
2262
  <div class="sticky_social">
2263
  <?php if($redux_builder_amp['enable-single-facebook-share'] == true) { ?>
2264
  <amp-social-share type="facebook" data-param-app_id="<?php echo $redux_builder_amp['amp-facebook-app-id']; ?>" width="50" height="28"></amp-social-share>
2265
+ <a title="facebook share" class="s_fb" target="_blank" href="https://www.facebook.com/sharer.php?u=<?php echo $amp_permalink; ?>"></a>
2266
  <?php } ?>
2267
  <?php if($redux_builder_amp['enable-single-twitter-share'] == true) {
2268
  $data_param_data = $redux_builder_amp['enable-single-twitter-share-handle'];?>
2286
  <amp-social-share type="linkedin" width="50" height="28"></amp-social-share>
2287
  <?php } ?>
2288
  <?php if($redux_builder_amp['enable-single-whatsapp-share'] == true) { ?>
2289
+ <a title="whatsapp share" href="whatsapp://send?text=<?php echo $amp_permalink;?>">
2290
  <div class="amp-social-icon">
2291
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcH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uNjczLTguNzA4LTUuMzMzICAgYy0zLjIxOS0yLjg0OC01LjM5My02LjM2NC02LjAyNS03LjQ0MWMtMC42MzEtMS4wNzUtMC4wNjYtMS42NTYsMC40NzUtMi4xOTFjMC40ODgtMC40ODIsMS4wODQtMS4yNTUsMS42MjUtMS44ODIgICBjMC41NDMtMC42MjgsMC43MjMtMS4wNzUsMS4wODItMS43OTNjMC4zNjMtMC43MTcsMC4xODItMS4zNDQtMC4wOS0xLjg4M2MtMC4yNy0wLjUzNy0yLjQzOC01LjgyNS0zLjM0LTcuOTc3ICAgYy0wLjkwMi0yLjE1LTEuODAzLTEuNzkyLTIuNDM2LTEuNzkyYy0wLjYzMSwwLTEuMzU0LTAuMDktMi4wNzYtMC4wOWMtMC43MjIsMC0xLjg5NiwwLjI2OS0yLjg4OSwxLjM0NCAgIGMtMC45OTIsMS4wNzYtMy43ODksMy42NzYtMy43ODksOC45NjNjMCw1LjI4OCwzLjg3OSwxMC4zOTcsNC40MjIsMTEuMTEzYzAuNTQxLDAuNzE2LDcuNDksMTEuOTIsMTguNSwxNi4yMjMgICBDNTguMiw2NS43NzEsNTguMiw2NC4zMzYsNjAuMTg2LDY0LjE1NmMxLjk4NC0wLjE3OSw2LjQwNi0yLjU5OSw3LjMxMi01LjEwN0M2OC4zOTgsNTYuNTM3LDY4LjM5OCw1NC4zODYsNjguMTI5LDUzLjkzOHoiIGZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K" width="50" height="20" />
2292
  </div>
2293
  </a>
2294
  <?php } ?>
2295
  <?php if($redux_builder_amp['enable-single-line-share'] == true) { ?>
2296
+ <a title="line share" href="http://line.me/R/msg/text/?<?php echo $amp_permalink; ?>">
2297
  <div class="amp-social-icon custom-amp-socialsharing-line">
2298
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDI5Ni41MjggMjk2LjUyOCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjk2LjUyOCAyOTYuNTI4OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjI0cHgiIGhlaWdodD0iMjRweCI+CjxnPgoJPHBhdGggZD0iTTI5NS44MzgsMTE1LjM0N2wwLjAwMy0wLjAwMWwtMC4wOTItMC43NmMtMC4wMDEtMC4wMTMtMC4wMDItMC4wMjMtMC4wMDQtMC4wMzZjLTAuMDAxLTAuMDExLTAuMDAyLTAuMDIxLTAuMDA0LTAuMDMyICAgbC0wLjM0NC0yLjg1OGMtMC4wNjktMC41NzQtMC4xNDgtMS4yMjgtMC4yMzgtMS45NzRsLTAuMDcyLTAuNTk0bC0wLjE0NywwLjAxOGMtMy42MTctMjAuNTcxLTE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1OS4yNjl6IiBmaWxsPSIjRkZGRkZGIi8+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==" width="50" height="20" />
2299
  </div>
2300
  </a>
2301
  <?php } ?>
2302
  <?php if($redux_builder_amp['enable-single-vk-share'] == true) { ?>
2303
+ <a title="vkontakte share" href="http://vk.com/share.php?url=<?php echo $amp_permalink; ?>">
2304
  <div class="amp-social-icon amp-social-vk">
2305
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCAzMDQuMzYgMzA0LjM2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAzMDQuMzYgMzA0LjM2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjUxMnB4IiBoZWlnaHQ9IjUxMnB4Ij4KPGcgaWQ9IlhNTElEXzFfIj4KCTxwYXRoIGlkPSJYTUxJRF84MDdfIiBzdHlsZT0iZmlsbC1ydWxlOmV2ZW5vZGQ7Y2xpcC1ydW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+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=" width="50" height="20" />
2306
  </div>
2307
  </a>
2308
  <?php } ?>
2309
  <?php if($redux_builder_amp['enable-single-odnoklassniki-share'] == true) { ?>
2310
+ <a title="odnoklassniki share" href="https://ok.ru/dk?st.cmd=addShare&st._surl=<?php echo $amp_permalink; ?>" target="_blank">
2311
  <div class="amp-social-icon amp-social-odnoklassniki">
2312
  <amp-img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDk1LjQ4MSA5NS40ODEiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDk1LjQ4MSA5NS40ODE7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNNDMuMDQxLDY3LjI1NGMtNy40MDItMC43NzItMTQuMDc2LTIuNTk1LTE5Ljc5LTcuMDY0Yy0wLjcwOS0wLjU1Ni0xLjQ0MS0xLjA5Mi0yLjA4OC0xLjcxMyAgICBj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OTcsNDIuNTE4LDY3LjgxMyw0My4wNDEsNjcuMjU0eiIgZmlsbD0iI0ZGRkZGRiIvPgoJCTxwYXRoIGQ9Ik00Ny41NSw0OC4zMjljLTEzLjIwNS0wLjA0NS0yNC4wMzMtMTAuOTkyLTIzLjk1Ni0yNC4yMThDMjMuNjcsMTAuNzM5LDM0LjUwNS0wLjAzNyw0Ny44NCwwICAgIGMxMy4zNjIsMC4wMzYsMjQuMDg3LDEwLjk2NywyNC4wMiwyNC40NzhDNzEuNzkyLDM3LjY3Nyw2MC44ODksNDguMzc1LDQ3LjU1LDQ4LjMyOXogTTU5LjU1MSwyNC4xNDMgICAgYy0wLjAyMy02LjU2Ny01LjI1My0xMS43OTUtMTEuODA3LTExLjgwMWMtNi42MDktMC4wMDctMTEuODg2LDUuMzE2LTExLjgzNSwxMS45NDNjMC4wNDksNi41NDIsNS4zMjQsMTEuNzMzLDExLjg5NiwxMS43MDkgICAgQzU0LjM1NywzNS45NzEsNTkuNTczLDMwLjcwOSw1OS41NTEsMjQuMTQzeiIgZmlsbD0iI0ZGRkZGRiIvPgoJPC9nPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=" width="50" height="20" />
2313
  </div>
2314
  </a>
2315
  <?php } ?>
2316
  <?php if ( true == $redux_builder_amp['enable-single-reddit-share'] ) { ?>
2317
+ <a title="reddit share" href="https://reddit.com/submit?url=<?php echo esc_url($amp_permalink); ?>&title=<?php echo esc_attr(get_the_title()); ?>" target="_blank">
2318
  <div class="amp-social-icon amp-social-reddit">
2319
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9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C0xNC0xMS0yNS0yNS0yNS02IDAtMTEgMi0xNSA1IDE0IDEyIDI0IDI3IDI5IDQyeiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
2320
  </div>
2321
  </a>
2322
  <?php } ?>
2323
  <?php if ( true == $redux_builder_amp['enable-single-tumblr-share'] ) { ?>
2324
+ <a title="tumblr share" href="https://www.tumblr.com/widgets/share/tool?canonicalUrl=<?php echo esc_url($amp_permalink); ?>&title=<?php echo esc_attr(get_the_title()); ?>&caption=<?php echo esc_attr(get_the_excerpt()); ?>" target="_blank">
2325
  <div class="amp-social-icon amp-social-tumblr">
2326
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNjQgNjQiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMzYuMDAyIDI4djE0LjYzNmMwIDMuNzE0LS4wNDggNS44NTMuMzQ2IDYuOTA2LjM5IDEuMDQ3IDEuMzcgMi4xMzQgMi40MzcgMi43NjMgMS40MTguODUgMy4wMzQgMS4yNzMgNC44NTcgMS4yNzMgMy4yNCAwIDUuMTU1LS40MjggOC4zNi0yLjUzNHY5LjYyYy0yLjczMiAxLjI4Ni01LjExOCAyLjAzOC03LjMzNCAyLjU2LTIuMjIuNTE0LTQuNjE2Ljc3NC03LjE5Ljc3NC0yLjkyOCAwLTQuNjU1LS4zNjgtNi45MDItMS4xMDMtMi4yNDctLjc0Mi00LjE2Ni0xLjgtNS43NS0zLjE2LTEuNTkyLTEuMzctMi42OS0yLjgyNC0zLjMwNC00LjM2M3MtLjkyLTMuNzc2LS45Mi02LjcwM1YyNi4yMjRoLTguNTl2LTkuMDYzYzIuNTE0LS44MTUgNS4zMjQtMS45ODcgNy4xMTItMy41MSAxLjc5Ny0xLjUyNyAzLjIzNS0zLjM1NiA0LjMyLTUuNDk2QzI0LjUzIDYuMDIyIDI1LjI3NiAzLjMgMjUuNjgzIDBoMTAuMzJ2MTZINTJ2MTJIMzYuMDA0eiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
2327
  </div>
2328
  </a>
2329
  <?php } ?>
2330
  <?php if ( true == $redux_builder_amp['enable-single-telegram-share'] ) { ?>
2331
+ <a title="telegram share" href="https://telegram.me/share/url?url=<?php echo esc_url($amp_permalink); ?>&text=<?php echo esc_attr(get_the_title()); ?>" target="_blank">
2332
  <div class="amp-social-icon amp-social-telegram">
2333
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjYgMjYiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMCAydjguNUwxNSAxMyAwIDE1LjVWMjRsMjYtMTFMMCAyeiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
2334
  </div>
2335
  </a>
2336
  <?php } ?>
2337
  <?php if ( true == $redux_builder_amp['enable-single-digg-share'] ) { ?>
2338
+ <a title="digg share" href="http://digg.com/submit?url=<?php echo esc_url($amp_permalink); ?>&title=<?php echo esc_attr(get_the_title()); ?>" target="_blank">
2339
  <div class="amp-social-icon amp-social-digg">
2340
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjA0OCAxODk2LjA4MzMiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMzI4IDI4MmgyMDR2OTgzSDBWNTY4aDMyOFYyODJ6bTAgODE5VjczMkgyMDV2MzY5aDEyM3ptMjg2LTUzM3Y2OTdoMjA1VjU2OEg2MTR6bTAtMjg2djIwNGgyMDVWMjgySDYxNHptMjg3IDI4Nmg1MzN2OTQySDkwMXYtMTYzaDMyOHYtODJIOTAxVjU2OHptMzI4IDUzM1Y3MzJoLTEyM3YzNjloMTIzem0yODctNTMzaDUzMnY5NDJoLTUzMnYtMTYzaDMyN3YtODJoLTMyN1Y1Njh6bTMyNyA1MzNWNzMyaC0xMjN2MzY5aDEyM3oiPjwvcGF0aD48L3N2Zz4=" width="50" height="20" />
2341
  </div>
2342
  </a>
2343
  <?php } ?>
2344
  <?php if ( true == $redux_builder_amp['enable-single-stumbleupon-share'] ) { ?>
2345
+ <a title="stumbleupon share" href="http://www.stumbleupon.com/submit?url=<?php echo esc_url($amp_permalink); ?>&title=<?php echo esc_attr(get_the_title()); ?>" target="_blank">
2346
  <div class="amp-social-icon amp-social-stumbleupon">
2347
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNjcwLjIyMzMgNjAxLjA4NjkiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNMCA0MzcuMjQ3di05Mi42NzJoMTE0LjY4OHY5MS42NjRjMCA5LjU2NyAzLjQwOCAxNy44MjMgMTAuMjQgMjQuODNzMTUuMTg0IDEwLjQ5NyAyNS4wODggMTAuNDk3IDE4LjMzNi0zLjQyNCAyNS4zNDQtMTAuMjRjNy4wMDgtNi44NDggMTAuNDk2LTE1LjIgMTAuNDk2LTI1LjA4OFYyMTkuNjQ2YzAtMzku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tNzYuNjI1LTE0LjQ5Ny0xMDUuOTg1LTQzLjUyYy0yOS4zNi0yOS4wNC00NC4wNDgtNjQuMDE3LTQ0LjA0OC0xMDQuOTc4eiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
2348
  </div>
2349
  </a>
2350
  <?php } ?>
2351
  <?php if ( true == $redux_builder_amp['enable-single-wechat-share'] ) { ?>
2352
+ <a title="wechat share" href="http://api.addthis.com/oexchange/0.8/forward/wechat/offer?url=<?php echo esc_url($amp_permalink); ?>" target="_blank">
2353
  <div class="amp-social-icon amp-social-wechat">
2354
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjA0OCAxODk2LjA4MzMiIGZpbGw9IiNmZmZmZmYiID48cGF0aCBkPSJNNTgwIDQ2MXEwLTQxLTI1LTY2dC02Ni0yNXEtNDMgMC03NiAyNS41VDM4MCA0NjFxMCAzOSAzMyA2NC41dDc2IDI1LjVxNDEgMCA2Ni0yNC41dDI1LTY1LjV6bTc0MyA1MDdxMC0yOC0yNS41LTUwdC02NS41LTIycS0yNyAwLTQ5LjUgMjIuNVQxMTYwIDk2OHEwIDI4IDIyLjUgNTAuNXQ0OS41IDIyLjVxNDAgMCA2NS41LTIydDI1LjUtNTF6bS0yMzYtNTA3cTAtNDEtMjQuNS02NlQ5OTcgMzcwcS00MyAwLTc2IDI1LjVUODg4IDQ2MXEwIDM5IDMzIDY0LjV0NzYgMjUuNXE0MSAwIDY1LjUtMjQuNVQxMDg3IDQ2MXptNjM1IDUwN3EwLTI4LTI2LTUwdC02NS0yMnEtMjcgMC00OS41IDIyLjVUMTU1OSA5NjhxMCAyOCAyMi41IDUwLjV0NDkuNSAyMi41cTM5IDAgNjUtMjJ0MjYtNTF6bS0yNjYtMzk3cS0zMS00LTcwLTQtMTY5IDAtMzExIDc3VDg1MS41IDg1Mi41IDc3MCAxMTQwcTAgNzggMjMgMTUyLTM1IDMtNjggMy0yNiAwLTUwLTEuNXQtNTUtNi41LTQ0LjUtNy01NC41LTEwLjUtNTAtMTAuNWwtMjUzIDEyNyA3Mi0yMThRMCA5NjUgMCA2NzhxMC0xNjkgOTcuNS0zMTF0MjY0LTIyMy41VDcyNSA2MnExNzYgMCAzMzIuNSA2NnQyNjIgMTgyLjVUMTQ1NiA1NzF6bTU5MiA1NjFxMCAxMTctNjguNSAyMjMuNVQxNzk0IDE1NDlsNTUgMTgxLTE5OS0xMDlxLTE1MCAzNy0yMTggMzctMTY5IDAtMzExLTcwLjVUODk3LjUgMTM5NiA4MTYgMTEzMnQ4MS41LTI2NFQxMTIxIDY3Ni41dDMxMS03MC41cTE2MSAwIDMwMyA3MC41dDIyNy41IDE5MlQyMDQ4IDExMzJ6Ij48L3BhdGg+PC9zdmc+" width="50" height="20" />
2355
  </div>
2356
  </a>
2357
  <?php } ?>
2358
  <?php if ( true == $redux_builder_amp['enable-single-viber-share'] ) { ?>
2359
+ <a title="viber share" href="viber://forward?text=<?php echo esc_url($amp_permalink); ?>" target="_blank">
2360
  <div class="amp-social-icon amp-social-viber">
2361
  <amp-img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTAyNiAxMjM0IiBmaWxsPSIjZmZmZmZmIiA+PHBhdGggZD0iTTkwNCA3OTRxLTY5IDYxLTIwMCA4Ny41VDQzNCA4OTdsLTE3NiAxMzJWODY0cS04Ny0yNy0xMzYtNzAtNTgtNTEtOTAtMTQ2LjV0LTMyLTE5NSAzMi0xOTUgOTAuNS0xNDcgMTY3LjUtNzlUNTEzIDR0MjIzIDI3LjUgMTY3LjUgNzkgOTAuNSAxNDcgMzIgMTk1LTMyIDE5NVQ5MDQgNzk0ek02MzkgNTQ5bDY1IDExcS04LTEyMC05Mi41LTIwNVQ0MDcgMjYybDExIDY1cTg2IDExIDE0OCA3M3Q3MyAxNDl6TTQyOSAzOTRsMTIgNzJxNDAgMjAgNTkgNTlsNzIgMTJxLTEyLTUzLTUxLTkxLjVUNDI5IDM5NHptLTEwNyA1OXYtNjRxMC0xNy0xMi41LTM0VDI4MyAzMzAuNXQtMjEtMS41bC00NiA0N3EtMzkgMzktMTEuNSAxMjEuNXQxMDUgMTYwIDE2MCAxMDVUNTkwIDc1MWw0Ny00N3E3LTYtLjUtMjAuNVQ2MTIgNjU3dC0zNC0xMmgtNjRsLTM3IDMycS00NC0xMi0xMDkuNS03Ny41VDI5MCA0ODl6bTY0LTMyMGwxMCA2NXExMDAgMiAxODUgNTIuNXQxMzUgMTM1VDc2OSA1NzBsNjUgMTFxMC05MS0zNS41LTE3NFQ3MDMgMjY0dC0xNDMtOTUuNVQzODYgMTMzeiI+PC9wYXRoPjwvc3ZnPg==" width="50" height="20" />
2362
  </div>
2363
  </a>
2364
  <?php } ?>
2365
  <?php if ( true == $redux_builder_amp['enable-single-hatena-bookmarks'] ) { ?>
2366
+ <a title="hatena share" href="http://b.hatena.ne.jp/entry/<?php echo esc_url($amp_permalink); ?>" target="_blank">
2367
  <div class="amp-social-icon amp-social-hatena">
2368
  <amp-img src="data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' viewBox='0 0 512 512'%3e%3cpath d='M 64 96 L 64 416 L 212 416 C 252 416 292 404 308 368 C 328 332 320 276 284 252 C 272 244 260 240 248 236 C 276 232 300 212 300 184 C 304 156 296 120 268 108 C 236 96 192 96 160 96 L 64 96 z M 364 96 L 364 308 L 444 308 L 444 96 L 364 96 z M 144 156 C 144 156 188 156 200 160 C 224 168 224 208 196 212 C 188 216 144 216 144 216 L 144 156 z M 144 280 C 144 280 188 280 208 284 C 232 288 240 312 228 332 C 220 348 204 348 188 348 L 144 348 L 144 280 z M 404 328 A 44 44 0 0 0 360 372 A 44 44 0 0 0 404 416 A 44 44 0 0 0 448 372 A 44 44 0 0 0 404 328 z' style='fill:%23ffffff'/%3e%3c/svg%3e" width="50" height="20" />
2369
  </div>
2370
  </a>
2371
  <?php } ?>
2372
  <?php if ( true == $redux_builder_amp['enable-single-pocket-share'] ) { ?>
2373
+ <a title="pocket share" href="https://getpocket.com/save?url=<?php echo esc_url($amp_permalink); ?>" target="_blank">
2374
  <div class="amp-social-icon amp-social-pocket">
2375
  <amp-img src="data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='2500' height='2251' viewBox='75.247 261.708 445.529 401.074'%3e%3cpath fill='%23EF4056' d='M114.219 261.708c-24.275 1.582-38.972 15.44-38.972 40.088v147.611c0 119.893 119.242 214.114 222.393 213.37 115.986-.837 223.137-98.779 223.137-213.37V301.796c0-24.741-15.626-38.693-40.088-40.088h-366.47zm93.943 120.079L297.64 466.8l89.571-85.013c40.088-16.835 57.574 28.927 41.111 42.321L311.685 535.443c-3.813 3.628-24.183 3.628-27.996 0L167.051 424.107c-15.72-14.789 4.743-61.295 41.111-42.32z'/%3e%3c/svg%3e" width="50" height="20" />
2376
  </div>
2436
  if ( $check_custom_front_page == 'page' ) {
2437
  add_action( 'amp_post_template_head', 'ampforwp_custom_yoast_meta_homepage' );
2438
  if(is_home()){
2439
+ add_filter('wpseo_opengraph_title', 'ampforwp_custom_twitter_title_homepage');
2440
+ add_filter('wpseo_twitter_title', 'ampforwp_custom_twitter_title_homepage');
2441
 
2442
 
2443
+ add_filter('wpseo_opengraph_desc', 'ampforwp_custom_twitter_description_homepage');
2444
+ add_filter('wpseo_twitter_description', 'ampforwp_custom_twitter_description_homepage');
2445
 
2446
+ add_filter('wpseo_opengraph_url', 'ampforwp_custom_og_url_homepage');
2447
 
2448
 
2449
  // This is causing the 2nd debug issue reported in #740
2450
+ // add_filter('wpseo_twitter_image', 'ampforwp_custom_og_image_homepage');
2451
+ add_filter('wpseo_opengraph_image', 'ampforwp_custom_og_image_homepage');
2452
  }
2453
  } else {
2454
  add_action( 'amp_post_template_head', 'ampforwp_custom_yoast_meta' );
2457
  add_action('pre_amp_render_post','ampforwp_add_proper_post_meta');
2458
 
2459
 
2460
+ function ampforwp_custom_twitter_title_homepage() {
2461
+ //Added the opengraph for frontpage in AMP #2454
2462
+ if(ampforwp_is_front_page()){
2463
+ $get_title = ampforwp_get_setting('amp-frontpage-select-option-pages');
2464
+ return get_the_title($get_title);
2465
+ }
2466
+ return esc_attr( get_bloginfo( 'name' ) );
2467
  }
2468
+ function ampforwp_custom_twitter_description_homepage() {
2469
+ if(ampforwp_is_front_page()){
2470
+ $get_excerpt = ampforwp_get_setting('amp-frontpage-select-option-pages');
2471
+ return wp_trim_words(get_post_field('post_content', $get_excerpt), 26);
2472
+
2473
+ }
2474
  return esc_attr( get_bloginfo( 'description' ) );
2475
  }
2476
+ function ampforwp_custom_og_url_homepage() {
2477
  return esc_url( get_bloginfo( 'url' ) );
2478
  }
2479
+ function ampforwp_custom_og_image_homepage() {
2480
  if ( class_exists('WPSEO_Options') ) {
2481
  $options = WPSEO_Options::get_option( 'wpseo_social' );
2482
  return $options['og_default_image'] ;
3872
  echo esc_html(
3873
  sprintf(
3874
  _x( ampforwp_translation( $redux_builder_amp['amp-translator-modified-date-text'],'This article was last modified on ' ) . ' %s ' , '%s = human-readable time difference', 'accelerated-mobile-pages' ),
3875
+ date_i18n( get_option( 'date_format' ) , $post_object->get( 'post_modified_timestamp' ) )
3876
  )
3877
  );
3878
+ echo get_the_modified_time(); } ?>
3879
  </p>
3880
  </div> <?php
3881
  }
6400
  }
6401
  else {
6402
  $new_url = user_trailingslashit( trailingslashit( $url ) . AMPFORWP_AMP_QUERY_VAR);
6403
+ // WPML COMPATIBILITY FOR LOOP
6404
+ include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
6405
+ if( is_plugin_active( 'sitepress-multilingual-cms/sitepress.php' )){
6406
+ global $sitepress_settings;
6407
+ if($sitepress_settings[ 'language_negotiation_type' ] == 3){
6408
+ $current_archive_url = untrailingslashit($url);
6409
+ $explode_path = explode("/",$current_archive_url);
6410
+ $inserted = array(AMPFORWP_AMP_QUERY_VAR);
6411
+ $query_arg_array = $wp->query_vars;
6412
+ $active_langs = $sitepress_settings['active_languages'];
6413
+ $found = '';
6414
+ foreach ($active_langs as $active_lang) {
6415
+ foreach($explode_path as $a) {
6416
+ if (stripos('?lang='.$active_lang ,$a) !== false){
6417
+ $new_url = add_query_arg('amp','1',$current_archive_url);
6418
+ $found = 'found';
6419
+ break 2;
6420
+ }
6421
+ }
6422
+ }
6423
+ if($found == ''){
6424
+ array_splice( $explode_path, count($explode_path), 0, $inserted );
6425
+ $impode_url = implode('/', $explode_path);
6426
+ $new_url = $impode_url;
6427
+ }
6428
+ }
6429
+ }
6430
+ }
6431
  } else {
6432
  $new_url = add_query_arg( 'amp', '1', $url );
6433
  }
 
6434
  return esc_url( $new_url );
6435
  }
6436
  // 99. Merriweather Font Management
6506
  $logo_alt = '';
6507
 
6508
  $logo_id = get_theme_mod( 'custom_logo' );
6509
+ if(isset($redux_builder_amp['opt-media']['id']) && empty( $logo_id ) ) {
6510
  $logo_id = (integer) $redux_builder_amp['opt-media']['id'];
6511
  }
6512
 
6844
  $non_amp = true;
6845
 
6846
  }
6847
+ // Convert AMP to WP issues fixed #2493
6848
+ //Blogposts
6849
+ if ( is_home() && $redux_builder_amp['ampforwp-homepage-on-off-support'] ==false ) {
6850
+ return;
6851
+ }
6852
+ // Pages
6853
+ if ( is_page() && false == $redux_builder_amp['amp-on-off-for-all-pages'] ) {
6854
+ return;
6855
+ }
6856
  //check for theme
6857
  /*if ( 'Twenty Fifteen' != wp_get_theme() ) {
6858
  return false;
7614
  }
7615
  }
7616
  return $allowed_html;
7617
+ }
7618
+ // Removing Marfeel plugin which was blocking internal pages of AMP #2423
7619
+ add_action('wp','ampforwp_remove_marfeel',9);
7620
+ function ampforwp_remove_marfeel(){
7621
+ remove_action('wp', 'render_marfeel_amp_content' );
7622
  }