Social Share WordPress Plugin – AccessPress Social Share - Version 4.4.8

Version Description

  • Refinement in plugin to avoid trademark infringement
Download this release

Release Info

Developer Access Keys
Plugin Icon 128x128 Social Share WordPress Plugin – AccessPress Social Share
Version 4.4.8
Comparing to
See all releases

Code changes from version 4.4.6 to 4.4.8

accesspress-social-share.php CHANGED
@@ -1,10 +1,10 @@
1
  <?php
2
  defined( 'ABSPATH' ) or die( "No script kiddies please!" );
3
  /*
4
- Plugin name: Social Share WordPress Plugin - AccessPress Social Share (Tester)
5
  Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-share/
6
  Description: A plugin to add various social media shares to a site with dynamic configuration options.
7
- Version: 4.4.6
8
  Author: AccessPress Themes
9
  Author URI: http://accesspressthemes.com
10
  Text Domain: accesspress-social-share
@@ -13,6 +13,11 @@ defined( 'ABSPATH' ) or die( "No script kiddies please!" );
13
  */
14
 
15
  //Decleration of the necessary constants for plugin
 
 
 
 
 
16
  if ( ! defined( 'APSS_IMAGE_DIR' ) ) {
17
  define( 'APSS_IMAGE_DIR', plugin_dir_url( __FILE__ ) . 'images' );
18
  }
@@ -30,7 +35,7 @@ if ( ! defined( 'APSS_LANG_DIR' ) ) {
30
  }
31
 
32
  if ( ! defined( 'APSS_VERSION' ) ) {
33
- define( 'APSS_VERSION', '4.4.6' );
34
  }
35
 
36
  if ( ! defined( 'APSS_TEXT_DOMAIN' ) ) {
@@ -45,6 +50,18 @@ if ( ! defined( 'APSS_COUNT_TRANSIENTS' ) ) {
45
  define( 'APSS_COUNT_TRANSIENTS', 'apss_social_counts_transients' );
46
  }
47
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  //Decleration of the class for necessary configuration of a plugin
49
  if ( ! class_exists( 'APSS_Class' ) ) {
50
 
@@ -79,7 +96,54 @@ if ( ! class_exists( 'APSS_Class' ) ) {
79
 
80
  add_action( 'wp_ajax_nopriv_frontend_counter', array( $this, 'frontend_counter' ) ); //fetching of the social share count.
81
  add_action( 'wp_ajax_frontend_counter', array( $this, 'frontend_counter' ) ); // action for ajax counter.
82
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
 
84
  //called when plugin is activated
85
  function plugin_activation(){
@@ -216,6 +280,9 @@ if ( ! class_exists( 'APSS_Class' ) ) {
216
  //add plugins menu in backend
217
  function add_apss_menu(){
218
  add_menu_page( 'AccessPress Social Share', 'AccessPress Social Share', 'manage_options', 'accesspress-social-share', array( $this, 'main_page' ), APSS_IMAGE_DIR . '/apss-icon.png' );
 
 
 
219
  }
220
 
221
  //for saving the plugin settings
@@ -274,12 +341,12 @@ if ( ! class_exists( 'APSS_Class' ) ) {
274
  $apss_settings = $this -> apss_settings;
275
  $new_detail_array = array();
276
  if ( isset( $_POST[ 'data' ] ) ) {
277
- $details = $_POST[ 'data' ];
278
  foreach ( $details as $detail ) {
279
  $new_detail_array[ $detail[ 'network' ] ] = $this -> get_count( $detail[ 'network' ], $detail[ 'url' ] );
280
  }
281
  } else if ( isset( $_POST[ 'shortcode_data' ] ) ) {
282
- $shortcode_data = $_POST[ 'shortcode_data' ];
283
  foreach ( $shortcode_data as $detail ) {
284
  $detail_array = explode( '_', $detail );
285
  $url = trim( $detail_array[ 0 ] );
@@ -291,6 +358,35 @@ if ( ! class_exists( 'APSS_Class' ) ) {
291
  }
292
  }
293
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
294
  //frontend counter only Shortcode
295
  function apss_count_shortcode( $attr ){
296
  ob_start();
1
  <?php
2
  defined( 'ABSPATH' ) or die( "No script kiddies please!" );
3
  /*
4
+ Plugin name:AccessPress Social Share
5
  Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-share/
6
  Description: A plugin to add various social media shares to a site with dynamic configuration options.
7
+ Version: 4.4.8
8
  Author: AccessPress Themes
9
  Author URI: http://accesspressthemes.com
10
  Text Domain: accesspress-social-share
13
  */
14
 
15
  //Decleration of the necessary constants for plugin
16
+
17
+ if ( ! defined( 'APSS_PATH' ) ) {
18
+ define( 'APSS_PATH', plugin_dir_path( __FILE__ ) );
19
+ }
20
+
21
  if ( ! defined( 'APSS_IMAGE_DIR' ) ) {
22
  define( 'APSS_IMAGE_DIR', plugin_dir_url( __FILE__ ) . 'images' );
23
  }
35
  }
36
 
37
  if ( ! defined( 'APSS_VERSION' ) ) {
38
+ define( 'APSS_VERSION', '4.4.8' );
39
  }
40
 
41
  if ( ! defined( 'APSS_TEXT_DOMAIN' ) ) {
50
  define( 'APSS_COUNT_TRANSIENTS', 'apss_social_counts_transients' );
51
  }
52
 
53
+ defined('APSS_LITE_PLUGIN_NAME') or define('APSS_LITE_PLUGIN_NAME', 'AccessPress Social Share');
54
+ defined('APSS_LITE_DEMO') or define('APSS_LITE_DEMO', 'http://demo.accesspressthemes.com/wordpress-plugins/accesspress-social-share');
55
+ defined('APSS_LITE_DOC') or define('APSS_LITE_DOC', 'https://accesspressthemes.com/documentation/accesspress-social-share/');
56
+ defined('APSS_LITE_DETAIL') or define('APSS_LITE_DETAIL', 'https://accesspressthemes.com/wordpress-plugins/accesspress-social-share/');
57
+ defined('APSS_LITE_RATING') or define('APSS_LITE_RATING', 'https://wordpress.org/support/plugin/accesspress-social-share/reviews/#new-post');
58
+
59
+ defined('APSS_PRO_PLUGIN_NAME') or define('APSS_PRO_PLUGIN_NAME', 'AccessPress Social Pro');
60
+ defined('APSS_PRO_LINK') or define('APSS_PRO_LINK','https://1.envato.market/c/1302794/275988/4415?u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Faccesspress-social-pro%2F10429645
61
+ ');
62
+ defined('APSS_PRO_DEMO') or define('APSS_PRO_DEMO', 'http://demo.accesspressthemes.com/wordpress-plugins/accesspress-social-pro');
63
+ defined('APSS_PRO_DETAIL') or define('APSS_PRO_DETAIL', 'https://accesspressthemes.com/wordpress-plugins/accesspress-social-pro/');
64
+
65
  //Decleration of the class for necessary configuration of a plugin
66
  if ( ! class_exists( 'APSS_Class' ) ) {
67
 
96
 
97
  add_action( 'wp_ajax_nopriv_frontend_counter', array( $this, 'frontend_counter' ) ); //fetching of the social share count.
98
  add_action( 'wp_ajax_frontend_counter', array( $this, 'frontend_counter' ) ); // action for ajax counter.
99
+
100
+ add_filter( 'plugin_row_meta', array( $this, 'apss_plugin_row_meta' ), 10, 2 );
101
+ add_filter( 'admin_footer_text', array( $this, 'apss_admin_footer_text' ) );
102
+ add_action( 'admin_init', array( $this, 'redirect_to_site' ), 1 );
103
+
104
+ }
105
+
106
+ function redirect_to_site(){
107
+
108
+ if ( isset( $_GET[ 'page' ] ) && $_GET[ 'page' ] == 'apss-documentation' ) {
109
+ wp_redirect( APSS_LITE_DOC );
110
+ exit();
111
+ }
112
+
113
+ if ( isset( $_GET[ 'page' ] ) && $_GET[ 'page' ] == 'apss-premium' ) {
114
+ wp_redirect( APSS_PRO_LINK );
115
+ exit();
116
+ }
117
+ }
118
+
119
+
120
+ function apss_plugin_row_meta( $links, $file ){
121
+ if ( strpos( $file, 'accesspress-social-share.php' ) !== false ) {
122
+ $new_links = array(
123
+ 'demo' => '<a href="'.APSS_LITE_DEMO.'" target="_blank"><span class="dashicons dashicons-welcome-view-site"></span>Live Demo</a>',
124
+ 'doc' => '<a href="'.APSS_LITE_DOC.'" target="_blank"><span class="dashicons dashicons-media-document"></span>Documentation</a>',
125
+ 'support' => '<a href="http://accesspressthemes.com/support" target="_blank"><span class="dashicons dashicons-admin-users"></span>Support</a>',
126
+ 'pro' => '<a href="'.APSS_PRO_LINK.'" target="_blank"><span class="dashicons dashicons-cart"></span>Premium version</a>'
127
+ );
128
+ $links = array_merge( $links, $new_links );
129
+ }
130
+ return $links;
131
+ }
132
+
133
+ function apss_admin_footer_text( $text ){
134
+ global $post;
135
+ if ( isset($_GET['page']) && $_GET['page'] === 'accesspress-social-share') {
136
+
137
+ $text = 'Enjoyed ' . APSS_LITE_PLUGIN_NAME . '? <a href="' . APSS_LITE_RATING . '" target="_blank">Please leave us a ★★★★★ rating</a> We really appreciate your support! | Try premium version <a href="' . APSS_PRO_LINK . '" target="_blank">' . APSS_PRO_PLUGIN_NAME . '</a> - more features, more power!';
138
+ return $text;
139
+
140
+ } else {
141
+
142
+ return $text;
143
+
144
+ }
145
+ }
146
+
147
 
148
  //called when plugin is activated
149
  function plugin_activation(){
280
  //add plugins menu in backend
281
  function add_apss_menu(){
282
  add_menu_page( 'AccessPress Social Share', 'AccessPress Social Share', 'manage_options', 'accesspress-social-share', array( $this, 'main_page' ), APSS_IMAGE_DIR . '/apss-icon.png' );
283
+
284
+ add_submenu_page('accesspress-social-share', __('Documentation', 'accesspress-social-share'), __('Documentation', 'accesspress-social-share'), 'manage_options', 'apss-documentation', '__return_false', null, 9);
285
+ add_submenu_page('accesspress-social-share', __('Check Premium Version', 'accesspress-social-share'), __('Check Premium Version', 'accesspress-social-share'), 'manage_options', 'apss-premium', '__return_false', null, 9);
286
  }
287
 
288
  //for saving the plugin settings
341
  $apss_settings = $this -> apss_settings;
342
  $new_detail_array = array();
343
  if ( isset( $_POST[ 'data' ] ) ) {
344
+ $details = sanitize_array($_POST[ 'data' ]);
345
  foreach ( $details as $detail ) {
346
  $new_detail_array[ $detail[ 'network' ] ] = $this -> get_count( $detail[ 'network' ], $detail[ 'url' ] );
347
  }
348
  } else if ( isset( $_POST[ 'shortcode_data' ] ) ) {
349
+ $shortcode_data = sanitize_array($_POST[ 'shortcode_data' ]);
350
  foreach ( $shortcode_data as $detail ) {
351
  $detail_array = explode( '_', $detail );
352
  $url = trim( $detail_array[ 0 ] );
358
  }
359
  }
360
 
361
+ function sanitize_array($array = array(), $sanitize_rule = array()) {
362
+ if (!is_array($array) || count($array) == 0) {
363
+ return array();
364
+ }
365
+ foreach ($array as $k => $v) {
366
+ if (!is_array($v)) {
367
+ $default_sanitize_rule = (is_numeric($k)) ? 'text' : 'html';
368
+ $sanitize_type = isset($sanitize_rule[$k]) ? $sanitize_rule[$k] : $default_sanitize_rule;
369
+ $array[$k] = $this->sanitize_value($v, $sanitize_type);
370
+ }
371
+ if (is_array($v)) {
372
+ $array[$k] = $this->sanitize_array($v, $sanitize_rule);
373
+ }
374
+ }
375
+ return $array;
376
+ }
377
+
378
+ function sanitize_value($value = '', $sanitize_type = 'text') {
379
+ switch ($sanitize_type) {
380
+ case 'html':
381
+ $allowed_html = wp_kses_allowed_html('post');
382
+ return wp_kses($value, $allowed_html);
383
+ break;
384
+ default:
385
+ return sanitize_text_field($value);
386
+ break;
387
+ }
388
+ }
389
+
390
  //frontend counter only Shortcode
391
  function apss_count_shortcode( $attr ){
392
  ob_start();
css/backend.css CHANGED
@@ -20,7 +20,6 @@
20
  color:#fff;
21
  }
22
 
23
-
24
  .apss-setting-tabs li {
25
  margin: 0;
26
  float: left;
@@ -72,11 +71,11 @@
72
  .apss-wrapper {
73
  background-color: #fff;
74
  float: left;
75
- width: 65%;
76
  margin: 0;
77
- padding: 20px;
78
  border-top: 1px solid #fff;
79
- box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
80
  }
81
 
82
  .apss-tab-contents {
@@ -109,23 +108,19 @@
109
  text-align: center;
110
  }
111
 
112
-
113
  .apss-headerlogo {
114
  float: left;
115
  margin: 8px 0 0;
116
  }
117
 
118
-
119
  .apss-header-icons {
120
  display: inline-block;
121
  }
122
 
123
-
124
  .apss-header-icons p {
125
  margin: 0 0 10px;
126
  }
127
 
128
-
129
  .apss-header-title {
130
  color: #0074a2;
131
  float: right;
@@ -141,7 +136,6 @@
141
  padding: 1px 12px;
142
  }
143
 
144
-
145
  .apss-wrapper .button.primary-button{
146
  background: none repeat scroll 0 0 #0074a2;
147
  border: medium none;
@@ -150,8 +144,6 @@
150
  margin-bottom: 5px;
151
  }
152
 
153
-
154
-
155
  .apss-option-wrapper {
156
  background-color: #f1f1f1;
157
  border: 1px solid #e5e5e5;
@@ -159,11 +151,9 @@
159
  line-height: 26px;
160
  margin: 0 0 10px;
161
  width: 43%;
 
162
  }
163
 
164
-
165
-
166
-
167
  .apss-option-field label {
168
  display: block;
169
  padding: 10px 10px 10px 20px;
@@ -191,7 +181,6 @@
191
  margin: 20px 0;
192
  }
193
 
194
-
195
  .media-icon {
196
  display: block;
197
  float: left;
@@ -202,7 +191,6 @@
202
  width: 24px;
203
  }
204
 
205
-
206
  .apss_notes_cache_settings {
207
  color: #666666;
208
  display: block;
@@ -211,7 +199,6 @@
211
  margin-left: 2px;
212
  padding-top: 10px;
213
  font-size: 13px;
214
-
215
  }
216
 
217
  .error{
@@ -223,7 +210,7 @@
223
  display: inline-block;
224
  padding: 5px 0 0;
225
  vertical-align: top;
226
- min-width: 100px;
227
  }
228
 
229
  .email-setg {
@@ -284,7 +271,6 @@
284
  z-index: 1;
285
  }
286
 
287
-
288
  .other-products h3:after {
289
  background: none repeat scroll 0 0 #f1f1f1;
290
  border-radius: 10px 10px 0 0;
@@ -306,7 +292,6 @@
306
  -webkit-transform: perspective(8px) rotateX(1.93deg) translateZ(-1px);
307
  }
308
 
309
-
310
  .social-icon li {
311
  float: left;
312
  margin: 0 15px 0 0;
@@ -323,7 +308,6 @@
323
  -ms-transition: all 0.2s ease-in;
324
  }
325
 
326
-
327
  .social-icon li a:before{
328
  background: radial-gradient(ellipse at center center , rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 80%) repeat scroll 0 0 rgba(0, 0, 0, 0);
329
  content: "";
@@ -339,7 +323,6 @@
339
  z-index: -1;
340
  }
341
 
342
-
343
  .social-icon li a:hover:before {
344
  opacity: 1;
345
  transform: translateY(5px);
@@ -349,18 +332,15 @@
349
  transform: translateY(-5px);
350
  }
351
 
352
-
353
  .product {
354
  margin: 20px 0;
355
  }
356
 
357
-
358
  .logo-product {
359
  float: left;
360
  margin: 0 30px 0 0;
361
  }
362
 
363
-
364
  .how-list li {
365
  font-size: 13px;
366
  padding: 0 0 0 20px;
@@ -400,11 +380,80 @@
400
 
401
  .apss_input_wrapper {
402
  position: relative;
403
- padding-left: 160px;
404
  }
405
 
406
  .apss_input_wrapper label {
407
  position: absolute;
408
  left: 0;
409
  top: 5px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
410
  }
20
  color:#fff;
21
  }
22
 
 
23
  .apss-setting-tabs li {
24
  margin: 0;
25
  float: left;
71
  .apss-wrapper {
72
  background-color: #fff;
73
  float: left;
74
+ width: 100%;
75
  margin: 0;
76
+ padding: 20px 0;
77
  border-top: 1px solid #fff;
78
+ /*box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);*/
79
  }
80
 
81
  .apss-tab-contents {
108
  text-align: center;
109
  }
110
 
 
111
  .apss-headerlogo {
112
  float: left;
113
  margin: 8px 0 0;
114
  }
115
 
 
116
  .apss-header-icons {
117
  display: inline-block;
118
  }
119
 
 
120
  .apss-header-icons p {
121
  margin: 0 0 10px;
122
  }
123
 
 
124
  .apss-header-title {
125
  color: #0074a2;
126
  float: right;
136
  padding: 1px 12px;
137
  }
138
 
 
139
  .apss-wrapper .button.primary-button{
140
  background: none repeat scroll 0 0 #0074a2;
141
  border: medium none;
144
  margin-bottom: 5px;
145
  }
146
 
 
 
147
  .apss-option-wrapper {
148
  background-color: #f1f1f1;
149
  border: 1px solid #e5e5e5;
151
  line-height: 26px;
152
  margin: 0 0 10px;
153
  width: 43%;
154
+ min-width: 350px;
155
  }
156
 
 
 
 
157
  .apss-option-field label {
158
  display: block;
159
  padding: 10px 10px 10px 20px;
181
  margin: 20px 0;
182
  }
183
 
 
184
  .media-icon {
185
  display: block;
186
  float: left;
191
  width: 24px;
192
  }
193
 
 
194
  .apss_notes_cache_settings {
195
  color: #666666;
196
  display: block;
199
  margin-left: 2px;
200
  padding-top: 10px;
201
  font-size: 13px;
 
202
  }
203
 
204
  .error{
210
  display: inline-block;
211
  padding: 5px 0 0;
212
  vertical-align: top;
213
+ min-width: 200px;
214
  }
215
 
216
  .email-setg {
271
  z-index: 1;
272
  }
273
 
 
274
  .other-products h3:after {
275
  background: none repeat scroll 0 0 #f1f1f1;
276
  border-radius: 10px 10px 0 0;
292
  -webkit-transform: perspective(8px) rotateX(1.93deg) translateZ(-1px);
293
  }
294
 
 
295
  .social-icon li {
296
  float: left;
297
  margin: 0 15px 0 0;
308
  -ms-transition: all 0.2s ease-in;
309
  }
310
 
 
311
  .social-icon li a:before{
312
  background: radial-gradient(ellipse at center center , rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 80%) repeat scroll 0 0 rgba(0, 0, 0, 0);
313
  content: "";
323
  z-index: -1;
324
  }
325
 
 
326
  .social-icon li a:hover:before {
327
  opacity: 1;
328
  transform: translateY(5px);
332
  transform: translateY(-5px);
333
  }
334
 
 
335
  .product {
336
  margin: 20px 0;
337
  }
338
 
 
339
  .logo-product {
340
  float: left;
341
  margin: 0 30px 0 0;
342
  }
343
 
 
344
  .how-list li {
345
  font-size: 13px;
346
  padding: 0 0 0 20px;
380
 
381
  .apss_input_wrapper {
382
  position: relative;
383
+ padding-left: 200px;
384
  }
385
 
386
  .apss_input_wrapper label {
387
  position: absolute;
388
  left: 0;
389
  top: 5px;
390
+ }
391
+
392
+ .apps-settings-container {
393
+ display: flex;
394
+ -webkit-justify-content: space-between;
395
+ justify-content: space-between;
396
+ }
397
+
398
+ .apps-settings-container .apps-wrap {
399
+ width: -webkit-calc(100% - 355px);
400
+ width: calc(100% - 355px);
401
+ /*border: 1px solid #9986ee;*/
402
+ padding: 20px;
403
+ background-color: #FFF;
404
+ margin-top: 20px;
405
+ }
406
+
407
+ .apps-settings-container .apss-upgrade-wrapper {
408
+ width: 300px;
409
+ margin-top: 20px;
410
+
411
+ }
412
+ .apss-upgrade-button-wrap-backend {
413
+ text-align: center;
414
+ }
415
+ .apss-upgrade-button-wrap-backend a,
416
+ .apss-button-wrap-backend a {
417
+ text-decoration: none;
418
+ background-color: #3d74f1;
419
+ color: #fff;
420
+ border: 1px solid #3d74f1;
421
+ height: 30px;
422
+ line-height: 30px;
423
+ padding: 0 10px;
424
+ margin: 10px 0px 10px 0;
425
+ display: inline-block;
426
+ -webkit-transition: .3s;
427
+ -moz-transition: .3s;
428
+ -ms-transition: .3s;
429
+ -o-transition: .3s;
430
+ transition: .3s;
431
+ }
432
+
433
+ .apss-theme-image img {
434
+ max-width: 100%;
435
+ }
436
+ @media screen and (max-width: 1190px) {
437
+ .apss-setting-tabs li {
438
+ width: 50%;
439
+ margin-top: 1px;
440
+ }
441
+ }
442
+ @media screen and (max-width: 992px) {
443
+ .apss-setting-tabs li {
444
+ width: 100%;
445
+ margin-top: 1px;
446
+ }
447
+ .apss-option-wrapper {
448
+ width: 100%;
449
+ min-width: unset;
450
+ }
451
+ }
452
+
453
+ .apss_input_wrapper input {
454
+ max-width: 100%;
455
+ }
456
+
457
+ .apss-tab-contents iframe {
458
+ max-width: 100%;
459
  }
images/upgrade-to-pro/upgrade-to-pro-feature.png ADDED
Binary file
images/upgrade-to-pro/upgrade-to-pro.png ADDED
Binary file
inc/backend/about-apss.php CHANGED
@@ -9,11 +9,11 @@
9
  <a href="http://accesspressthemes.com/wordpress-plugins/accesspress-social-share/" target="_blank">http://accesspressthemes.com/wordpress-plugins/accesspress-social-share/</a></p>
10
  <div class="halfseperator"></div>
11
  <p><strong><?php _e( 'Plugin documentation can be found here:', 'accesspress-social-share' ); ?></strong><br />
12
- <a href="https://accesspressthemes.com/documentation/documentation-plugin-instruction-accesspress-social-share/" target="_blank">https://accesspressthemes.com/documentation/documentation-plugin-instruction-accesspress-social-share/</a>
13
  </p>
14
  <div class="halfseperator"></div>
15
  <p><strong><?php _e( 'If you like to buy premium version of this plugin please check here:', 'accesspress-social-share' ); ?></strong><br />
16
- <a href="https://accesspressthemes.com/wordpress-plugins/accesspress-social-pro/" target="_blank">https://accesspressthemes.com/wordpress-plugins/accesspress-social-pro/</a>
17
  </p>
18
  <div class="halfseperator"></div>
19
  <p><strong><?php _e( 'Feature comparison between free and premium plugin is here:', 'accesspress-social-share' ); ?></strong><br />
@@ -57,7 +57,6 @@
57
  <p><strong><?php _e( 'Like us on facebook:', 'accesspress-social-share' ); ?></strong><br />
58
  <iframe style="border: none; overflow: hidden; width: 764px; height: 206px;" src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FAccessPress-Themes%2F1396595907277967&amp;width=842&amp;height=258&amp;colorscheme=light&amp;show_faces=true&amp;header=false&amp;stream=false&amp;show_border=true&amp;appId=1411139805828592" width="240" height="150" frameborder="0" scrolling="no"></iframe></p>
59
  <ul class="social-icon clearfix">
60
- <li><a href="https://plus.google.com/u/0/+Accesspressthemesprofile/about" target="_blank"><img src="<?php echo APSS_IMAGE_DIR; ?>/google-plus-blue.png" alt="google+"></a></li>
61
  <li><a href="http://www.pinterest.com/accesspresswp/" target="_blank"><img src="<?php echo APSS_IMAGE_DIR; ?>/pinterest-blue.png" alt="pinterest"></a></li>
62
  <li><a href="https://www.flickr.com/photos/accesspressthemes/" target="_blank"><img src="<?php echo APSS_IMAGE_DIR; ?>/flickr.png" alt="flicker"></a></li>
63
  <li><a href="https://twitter.com/apthemes" target="_blank"><img src="<?php echo APSS_IMAGE_DIR; ?>/twitter.png" alt="twitter"/></a></li>
9
  <a href="http://accesspressthemes.com/wordpress-plugins/accesspress-social-share/" target="_blank">http://accesspressthemes.com/wordpress-plugins/accesspress-social-share/</a></p>
10
  <div class="halfseperator"></div>
11
  <p><strong><?php _e( 'Plugin documentation can be found here:', 'accesspress-social-share' ); ?></strong><br />
12
+ <a href="https://accesspressthemes.com/documentation/accesspress-social-share/" target="_blank">https://accesspressthemes.com/documentation/accesspress-social-share/</a>
13
  </p>
14
  <div class="halfseperator"></div>
15
  <p><strong><?php _e( 'If you like to buy premium version of this plugin please check here:', 'accesspress-social-share' ); ?></strong><br />
16
+ <a href="<?php echo APSS_PRO_LINK; ?>" target="_blank"><?php echo APSS_PRO_LINK; ?></a>
17
  </p>
18
  <div class="halfseperator"></div>
19
  <p><strong><?php _e( 'Feature comparison between free and premium plugin is here:', 'accesspress-social-share' ); ?></strong><br />
57
  <p><strong><?php _e( 'Like us on facebook:', 'accesspress-social-share' ); ?></strong><br />
58
  <iframe style="border: none; overflow: hidden; width: 764px; height: 206px;" src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FAccessPress-Themes%2F1396595907277967&amp;width=842&amp;height=258&amp;colorscheme=light&amp;show_faces=true&amp;header=false&amp;stream=false&amp;show_border=true&amp;appId=1411139805828592" width="240" height="150" frameborder="0" scrolling="no"></iframe></p>
59
  <ul class="social-icon clearfix">
 
60
  <li><a href="http://www.pinterest.com/accesspresswp/" target="_blank"><img src="<?php echo APSS_IMAGE_DIR; ?>/pinterest-blue.png" alt="pinterest"></a></li>
61
  <li><a href="https://www.flickr.com/photos/accesspressthemes/" target="_blank"><img src="<?php echo APSS_IMAGE_DIR; ?>/flickr.png" alt="flicker"></a></li>
62
  <li><a href="https://twitter.com/apthemes" target="_blank"><img src="<?php echo APSS_IMAGE_DIR; ?>/twitter.png" alt="twitter"/></a></li>
inc/backend/main-page.php CHANGED
@@ -11,14 +11,14 @@
11
  &nbsp;&nbsp;
12
  <iframe id="twitter-widget-0" scrolling="no" frameborder="0" allowtransparency="true" src="//platform.twitter.com/widgets/follow_button.5f46501ecfda1c3e1c05dd3e24875611.en.html#_=1421918256492&amp;dnt=true&amp;id=twitter-widget-0&amp;lang=en&amp;screen_name=apthemes&amp;show_count=false&amp;show_screen_name=true&amp;size=m" class="twitter-follow-button twitter-follow-button" title="Twitter Follow Button" data-twttr-rendered="true" style="width: 126px; height: 20px;"></iframe>
13
  <script>!function(d, s, id) {
14
- var js, fjs = d.getElementsByTagName(s)[0];
15
- if (!d.getElementById(id)) {
16
- js = d.createElement(s);
17
- js.id = id;
18
- js.src = "//platform.twitter.com/widgets.js";
19
- fjs.parentNode.insertBefore(js, fjs);
20
- }
21
- }(document, "script", "twitter-wjs");</script>
22
  </div>
23
  </div>
24
  <div class="apss-header-title">
@@ -59,11 +59,10 @@
59
  </div>
60
  <?php }
61
  ?>
62
-
63
  <div class="apps-wrap">
64
  <form method="post" action="<?php echo admin_url() . 'admin-post.php' ?>">
65
  <input type="hidden" name="action" value="apss_save_options"/>
66
-
67
  <ul class="apss-setting-tabs clearfix">
68
  <li><a href="javascript:void(0)" id="apss-social-networks" class="apss-tabs-trigger apss-active-tab "><?php _e( 'Social Networks', 'accesspress-social-share' ); ?></a></li>
69
  <li><a href="javascript:void(0)" id="apss-share-options" class="apss-tabs-trigger "><?php _e( 'Share Options', 'accesspress-social-share' ) ?></a></li>
@@ -73,10 +72,8 @@
73
  <li><a href="javascript:void(0)" id="apss-about" class="apss-tabs-trigger"><?php _e( 'About', 'accesspress-social-share' ); ?></a></li>
74
  <li><a href="javascript:void(0)" id="apss-resources" class="apss-tabs-trigger"><?php _e( 'Wordpress Resources', 'accesspress-social-share' ); ?></a></li>
75
  </ul>
76
-
77
  <div class='apss-tab-contents-wrapper'>
78
  <div class="apss-wrapper">
79
-
80
  <div class="apss-tab-contents apss-social-networks" id="tab-apss-social-networks" style='display:block'>
81
  <h2><?php _e( 'Social Media chooser:', 'accesspress-social-share' ); ?> </h2>
82
  <span class="social-text"><?php _e( 'Please choose the social media you want to display. Also you can order these social media\'s by drag and drop:', 'accesspress-social-share' ); ?></span>
@@ -93,63 +90,67 @@
93
  );
94
  ?>
95
  <?php
96
- foreach ( $options[ 'social_networks' ] as $key => $val ) {
97
- ?>
 
98
  <div class="apss-option-wrapper">
99
  <div class="apss-option-field">
100
  <label class="clearfix"><span class="left-icon"><i class="fa fa-arrows"></i></span><span class="social-name"><?php echo $label_array[ $key ]; ?></span><input type="checkbox" data-key='<?php echo $key; ?>' name="social_networks[<?php echo $key; ?>]" value="1" <?php
101
- if ( $val == '1' ) {
102
- echo "checked='checked'";
103
- }
104
- ?> /></label>
105
  </div>
106
  </div>
107
- <?php } ?>
108
  </div>
109
  <input type="hidden" name="apss_social_newtwork_order" id='apss_social_newtwork_order' value="<?php echo implode( ',', array_keys( $options[ 'social_networks' ] ) ); ?>"/>
 
110
  </div>
111
 
112
  <div class="apss-tab-contents apss-share-options" id="tab-apss-share-options" style='display:none'>
113
  <h2><?php _e( 'Share options:', 'accesspress-social-share' ); ?> </h2>
114
  <span class="social-text"><?php _e( 'Please choose the options where you want to display social share icons:', 'accesspress-social-share' ); ?></span>
115
  <p><input type="checkbox" id="apss_posts" value="post" name="apss_share_settings[share_options][]" <?php
116
- if ( in_array( "post", $options[ 'share_options' ] ) || in_array( "posts", $options[ 'share_options' ] ) ) {
117
- echo "checked='checked'";
118
- }
119
- ?> ><label for="apss_posts"><?php _e( 'Posts', 'accesspress-social-share' ); ?> </label></p>
120
  <p><input type="checkbox" id="apss_pages" value="page" name="apss_share_settings[share_options][]" <?php
121
- if ( in_array( "page", $options[ 'share_options' ] ) || in_array( "pages", $options[ 'share_options' ] ) ) {
122
- echo "checked='checked'";
123
- }
124
- ?> ><label for="apss_pages"><?php _e( 'Pages', 'accesspress-social-share' ); ?> </label></p>
125
 
126
  <p><input type="checkbox" id="apss_front_page" value="front_page" name="apss_share_settings[share_options][]" <?php
127
- if ( in_array( "front_page", $options[ 'share_options' ] ) ) {
128
- echo "checked='checked'";
129
- }
130
- ?> ><label for="apss_front_page"><?php _e( 'Front Page', 'accesspress-social-share' ); ?></label></p>
131
  <p><input type="checkbox" id="apss_archives" value="archives" name="apss_share_settings[share_options][]" <?php
132
- if ( in_array( "archives", $options[ 'share_options' ] ) ) {
133
- echo "checked='checked'";
134
- }
135
- ?> ><label for="apss_archives"><?php _e( 'Archives', 'accesspress-social-share' ); ?></label></p>
136
 
137
  <p><input type="checkbox" id="apss_attachement" value="attachment" name="apss_share_settings[share_options][]" <?php
138
- if ( in_array( "attachment", $options[ 'share_options' ] ) ) {
139
- echo "checked='checked'";
140
- }
141
- ?> ><label for="apss_attachment"><?php _e( 'Attachment pages', 'accesspress-social-share' ); ?></label></p>
142
 
143
  <p><input type="checkbox" id="apss_categories" value="categories" name="apss_share_settings[share_options][]" <?php
144
- if ( in_array( "categories", $options[ 'share_options' ] ) ) {
145
- echo "checked='checked'";
146
- }
147
- ?> ><label for="apss_categories"><?php _e( 'Categories', 'accesspress-social-share' ); ?></label></p>
148
  <p><input type="checkbox" id="apss_all" value="all" name="apss_share_settings[share_options][]" <?php
149
- if ( in_array( "all", $options[ 'share_options' ] ) ) {
150
- echo "checked='checked'";
151
- }
152
- ?> ><label for="apss_all"><?php _e( 'Other (search results, etc)', 'accesspress-social-share' ); ?></label></p>
 
 
153
  </div>
154
 
155
  <div class="apss-tab-contents apss-display-settings" id="tab-apss-display-settings" style='display:none'>
@@ -157,32 +158,33 @@
157
  <h2><?php _e( 'Display position:', 'accesspress-social-share' ); ?></h2>
158
  <span class='social-text'><?php _e( 'Please choose the option where you want to display the social share:', 'accesspress-social-share' ); ?></span>
159
  <p><input type="radio" id="apss_below_content" name="apss_share_settings[social_share_position_options]" value="below_content" <?php
160
- if ( $options[ 'share_positions' ] == 'below_content' ) {
161
- echo "checked='checked'";
162
- }
163
- ?> /><label for='apss_below_content'><?php _e( 'Below content', 'accesspress-social-share' ); ?></label></p>
164
  <p><input type="radio" id="apss_above_content" name="apss_share_settings[social_share_position_options]"/ value="above_content" <?php
165
- if ( $options[ 'share_positions' ] == 'above_content' ) {
166
- echo "checked='checked'";
167
- }
168
- ?> /><label for='apss_above_content'><?php _e( 'Above content', 'accesspress-social-share' ); ?></label></p>
169
  <p><input type="radio" id="apss_below_above_content" id="below_above_content" name="apss_share_settings[social_share_position_options]" value="on_both" <?php
170
- if ( $options[ 'share_positions' ] == 'on_both' ) {
171
- echo "checked='checked'";
172
- }
173
- ?> /><label for='apss_below_above_content'><?php _e( 'Both(Below content and Above content)', 'accesspress-social-share' ); ?></label></p>
174
  </div>
175
  <div class=" apss-icon-sets">
176
  <h2><?php _e( 'Social icons sets: ', 'accesspress-social-share' ); ?> </h2>
177
  <?php _e( 'Please choose any one out of available icon themes:', 'accesspress-social-share' ); ?>
178
  <?php for ( $i = 1; $i <= 6; $i ++ ) { ?>
179
  <p><input id="apss_icon_set_<?php echo $i; ?>" value="<?php echo $i; ?>" name="apss_share_settings[social_icon_set]" type="radio" <?php
180
- if ( $options[ 'social_icon_set' ] == $i ) {
181
- echo "checked='checked'";
182
- }
183
- ?> ><label for="apss_icon_set_<?php echo $i; ?>"><span class="apss_demo_icon apss_demo_icons_<?php echo $i; ?>"></span><?php _e( "Theme $i", 'accesspress-social-share' ); ?><div class="apss-theme-image"><img src='<?php echo APSS_IMAGE_DIR . "/theme/theme$i.jpg"; ?>'/></div></label></p>
184
- <?php } ?>
185
  </div>
 
186
  </div>
187
 
188
  <div class="apss-tab-contents apss-miscellaneous" id="tab-apss-miscellaneous" style='display:none'>
@@ -192,15 +194,15 @@
192
  <div class="apss-share-text-settings clearfix">
193
  <h4><?php _e( 'Disable the plugins frontend assets?', 'accesspress-social-share' ); ?> </h4>
194
  <div class="misc-opt"><input type="radio" id='disable_frontend_assets_n' name="apss_share_settings[disable_frontend_assets]" value="0" <?php
195
- if ( isset( $options[ 'disable_frontend_assets' ] ) && $options[ 'disable_frontend_assets' ] == '0' ) {
196
- echo "checked='checked'";
197
- }
198
- ?> /><label for="disable_frontend_assets_n"><?php _e( 'No', 'accesspress-social-share' ); ?></label></div>
199
  <div class="misc-opt"><input type="radio" id='disable_frontend_assets_y' name="apss_share_settings[disable_frontend_assets]" value="1" <?php
200
- if ( isset( $options[ 'disable_frontend_assets' ] ) && $options[ 'disable_frontend_assets' ] == '1' ) {
201
- echo "checked='checked'";
202
- }
203
- ?> /><label for="disable_frontend_assets_y"><?php _e( 'Yes', 'accesspress-social-share' ); ?></label></div>
204
  <br />
205
  <div class="apss_notes_cache_settings">
206
  <?php _e( 'Please set this value if you don\'t want to use plguins frontend assets(js and css files).', 'accesspress-social-share' ); ?>
@@ -226,15 +228,15 @@
226
  <div class="apss-counter-settings clearfix">
227
  <h4><?php _e( 'Social share counter enable?', 'accesspress-social-share' ); ?> </h4>
228
  <div class="misc-opt"><input type="radio" id='counter_enable_options_n' name="apss_share_settings[counter_enable_options]" value="0" <?php
229
- if ( $options[ 'counter_enable_options' ] == '0' ) {
230
- echo "checked='checked'";
231
- }
232
- ?> /><label for="counter_enable_options_n"><?php _e( 'No', 'accesspress-social-share' ); ?></label></div>
233
  <div class="misc-opt"><input type="radio" id='counter_enable_options_y' name="apss_share_settings[counter_enable_options]" value="1" <?php
234
- if ( $options[ 'counter_enable_options' ] == '1' ) {
235
- echo "checked='checked'";
236
- }
237
- ?> /><label for="counter_enable_options_y"><?php _e( 'Yes', 'accesspress-social-share' ); ?></label></div>
238
  </div>
239
 
240
  <div class="apss-counter-api-options apss-counter-settings clearfix" style="<?php
@@ -244,202 +246,205 @@
244
  echo 'display:none';
245
  }
246
  ?>">
247
- <div class='apss-counter-api'>
248
- <input type="radio" id='apss_twitter_counter_option' name="apss_share_settings[twitter_counter_api]" value="1" <?php
249
- if ( isset( $options[ 'twitter_counter_api' ] ) ) {
250
- if ( $options[ 'twitter_counter_api' ] == '1' ) {
251
- echo "checked='checked'";
252
- }
253
- }
254
- ?> />
255
- <label for="apss_twitter_counter_option"><?php _e( "Don't show Twitter share counts", 'accesspress-social-share' ); ?></label>
256
- <div class="apss_notes_cache_settings"> Please select this option if you don't want to show twitter share counts.</div>
257
- </div>
258
-
259
- <div class='apss-counter-api'>
260
- <input type="radio" id='apss_twitter_counter_option_1' name="apss_share_settings[twitter_counter_api]" value="2" <?php
261
- if ( isset( $options[ 'twitter_counter_api' ] ) ) {
262
- if ( $options[ 'twitter_counter_api' ] == '2' ) {
263
- echo "checked='checked'";
264
- }
265
- }
266
- ?> />
267
- <label for="apss_twitter_counter_option_1"><?php _e( 'Use', 'accesspress-social-share' ); ?> <a href='http://newsharecounts.com' target='_blank'>NewShareCounts</a><?php _e( ' to show Twitter share counts', 'accesspress-social-share' ); ?></label>
268
- <div class="apss_notes_cache_settings"> To use newsharecount public API, you have to enter your website url <?php echo site_url(); ?> and sign in using Twitter at their <a href='http://newsharecounts.com/' target='_blank'>website</a>.</div>
269
- </div>
270
-
271
- <div class='apss-counter-api'>
272
- <input type="radio" id='apss_twitter_counter_option_2' name="apss_share_settings[twitter_counter_api]" value="3" <?php
273
- if ( isset( $options[ 'twitter_counter_api' ] ) ) {
274
- if ( $options[ 'twitter_counter_api' ] == '3' ) {
275
- echo "checked='checked'";
276
- }
277
  }
278
- ?> /><label for="apss_twitter_counter_option_2"><?php _e( 'Use', 'accesspress-social-share' ); ?> <a href=' http://opensharecount.com/' target='_blank'>OpenShareCount</a><?php _e( ' to show Twitter share counts', 'accesspress-social-share' ); ?></label>
279
- <div class="apss_notes_cache_settings"> To use opensharecount public API, you have to sign up and register your website url <?php echo site_url(); ?> at their <a href='http://opensharecount.com/' target='_blank'>website</a>. </div>
280
- </div>
281
- <div class="apss_notes_cache_settings"> Note: If you switch the API please don't forget to clear cache for fetching new share counts.</div>
282
-
283
- <div class="apss_counter-api">
284
- <h4>If facebook counter is not working. Please setup the facebook APP and enter required details below.</h4>
285
- <div class='apss_input_wrapper'>
286
- <label for=apss_facebook_app_id"">APP ID: </label><input type='text' id="apss_facebook_app_id" name='apss_share_settings[api_configuration][facebook][app_id]' value="<?php
287
- if ( isset( $options[ 'api_configuration' ][ 'facebook' ][ 'app_id' ] ) ) {
288
- echo $options[ 'api_configuration' ][ 'facebook' ][ 'app_id' ];
289
- }
290
- ?>" />
291
- <div class="apss_notes_cache_settings">Please go to <a href="https://developers.facebook.com/" target="_blank">https://developers.facebook.com/</a> and create an app and get the App ID.</div>
292
- </div>
293
- <div class='apss_input_wrapper'>
294
- <label for=apss_facebook_app_secret"">APP Secret: </label><input type='text' id="apss_facebook_app_secret" name='apss_share_settings[api_configuration][facebook][app_secret]' value="<?php
295
- if ( isset( $options[ 'api_configuration' ][ 'facebook' ][ 'app_secret' ] ) ) {
296
- echo $options[ 'api_configuration' ][ 'facebook' ][ 'app_secret' ];
297
- }
298
- ?>" style="width:285px;" />
299
- <div class="apss_notes_cache_settings">Please go to <a href="https://developers.facebook.com/" target="_blank">https://developers.facebook.com/</a> and create an app and get the App Secret.</div>
300
- </div>
301
- <div class="apss_notes_cache_settings">
302
- <b>Please note that you should make your APP live.</b>
303
- You can get the details instruction for creating facebook app <a href='http://demo.accesspressthemes.com/wordpress-plugins/accesspress-social-share/?p=89' target="_blank">here</a>.
304
- </div>
305
- </div>
306
  </div>
307
 
308
- <div class="apss-total-counter-settings clearfix">
309
- <h4><?php _e( 'Social share total counter enable?', 'accesspress-social-share' ); ?> </h4>
310
- <div class="misc-opt"><input type="radio" id='total_counter_enable_options_n' name="apss_share_settings[total_counter_enable_options]" value="0" <?php
311
- if ( isset( $options[ 'total_counter_enable_options' ] ) && $options[ 'total_counter_enable_options' ] == '0' ) {
312
  echo "checked='checked'";
313
  }
314
- ?> /><label for="total_counter_enable_options_n"><?php _e( 'No', 'accesspress-social-share' ); ?></label></div>
315
- <div class="misc-opt"><input type="radio" id='total_counter_enable_options_y' name="apss_share_settings[total_counter_enable_options]" value="1" <?php
316
- if ( isset( $options[ 'total_counter_enable_options' ] ) && $options[ 'total_counter_enable_options' ] == '1' ) {
 
 
 
 
 
 
 
317
  echo "checked='checked'";
318
  }
319
- ?> /><label for="total_counter_enable_options_y"><?php _e( 'Yes', 'accesspress-social-share' ); ?></label></div>
 
 
320
  </div>
 
321
 
322
- <div class='apss_cache_enable_opt'>
323
- <h4><?php _e( 'Fetch the share counts from HTTP url as well? ', 'accesspress-social-share' ); ?> </h4>
324
- <div class='misc-opt'>
325
- <input type="radio" id='enable_http_count_yes' name="apss_share_settings[enable_http_count]" value="1" <?php
326
- if ( isset( $options[ 'enable_http_count' ] ) && $options[ 'enable_http_count' ] == '1' ) {
327
- echo "checked='checked'";
328
  }
329
- ?> />
330
- <label for='enable_http_count_yes'><?php _e( 'Yes', 'accesspress-social-share' ); ?></label>
331
  </div>
332
- <div class='misc-opt'>
333
- <input type="radio" id='enable_http_count_no' name="apss_share_settings[enable_http_count]" value="0" <?php
334
- if ( isset( $options[ 'enable_http_count' ] ) && $options[ 'enable_http_count' ] == '0' ) {
335
- echo "checked='checked'";
336
  }
337
- ?> />
338
- <label for='enable_http_count_no'><?php _e( 'No', 'accesspress-social-share' ); ?></label>
339
  </div>
340
- <br />
341
  <div class="apss_notes_cache_settings">
342
- <?php _e( "<b>Note:</b> Please select this option if you have moved your site from HTTP to HTTPS. For Facebook, The crawler still needs to be able to access the old page, so exempt the crawler's user agent from the redirect and only send an HTTP redirect to non-Facebook crawler clients. If you have done 301 redirect then the old url share counts will be lost.", 'accesspress-social-share' ); ?>
 
343
  </div>
344
  </div>
345
- <br />
346
 
347
- <div class="apss-dialog-boxs clearfix">
348
- <h4><?php _e( 'Social share link options:', 'accesspress-social-share' ); ?> </h4>
349
- <div class="misc-opt"><input type="radio" id='dialog_box_options_1' name="apss_share_settings[dialog_box_options]" value="0" <?php
350
- if ( $options[ 'dialog_box_options' ] == '0' ) {
351
- echo "checked='checked'";
352
- }
353
- ?> /><label for="dialog_box_options_1"><?php _e( 'Open in same window', 'accesspress-social-share' ); ?></label></div>
354
- <div class="misc-opt"><input type="radio" id='dialog_box_options_2' name="apss_share_settings[dialog_box_options]" value="1" <?php
355
- if ( $options[ 'dialog_box_options' ] == '1' ) {
356
- echo "checked='checked'";
357
- }
358
- ?> /><label for="dialog_box_options_2"><?php _e( 'Open in new window/Tab', 'accesspress-social-share' ); ?></label></div>
 
359
 
360
- <div class="misc-opt"><input type="radio" id='dialog_box_options_3' name="apss_share_settings[dialog_box_options]" value="2" <?php
361
- if ( $options[ 'dialog_box_options' ] == '2' ) {
362
- echo "checked='checked'";
363
- }
364
- ?> /><label for="dialog_box_options_3"><?php _e( 'Open in popup window', 'accesspress-social-share' ); ?></label></div>
 
 
 
 
365
  </div>
366
- <div class='apss_cache_enable_opt'>
367
- <h4><?php _e( 'Enable cache? ', 'accesspress-social-share' ); ?> </h4>
368
- <div class='misc-opt'>
369
- <input type="radio" id='enable_cache_yes' name="apss_share_settings[enable_cache]" value="1" <?php
370
- if ( isset( $options[ 'enable_cache' ] ) && $options[ 'enable_cache' ] == '1' ) {
371
- echo "checked='checked'";
372
- }
373
- ?> />
374
- <label for='enable_cache_yes'><?php _e( 'Yes', 'accesspress-social-share' ); ?></label>
375
- </div>
376
- <div class='misc-opt'>
377
- <input type="radio" id='enable_cache_no' name="apss_share_settings[enable_cache]" value="0" <?php
378
- if ( isset( $options[ 'enable_cache' ] ) && $options[ 'enable_cache' ] == '0' ) {
379
- echo "checked='checked'";
380
- }
381
- ?> />
382
- <label for='enable_cache_no'><?php _e( 'No', 'accesspress-social-share' ); ?></label>
383
- </div>
384
  </div>
385
  <br />
386
- <div class='cache-settings'>
387
- <h4><?php _e( 'Cache Settings: ', 'accesspress-social-share' ); ?> </h4>
388
- <div class="apss_input_wrapper">
389
- <label for="apss_cache_settings"><?php _e( 'Cache Period:', 'accesspress-social-share' ); ?></label>
390
- <input type='text' id="apss_cache_period" name='apss_share_settings[cache_settings]' value="<?php
391
- if ( isset( $options[ 'cache_period' ] ) ) {
392
- echo $options[ 'cache_period' ];
393
- }
394
- ?>" onkeyup="removeMe('invalid_cache_period');" style='width:50px;'/>
395
- <span class="error invalid_cache_period"></span>
396
- <div class="apss_notes_cache_settings"><?php _e( 'Please enter the time in hours in which the social share counter should be updated from social networks. Default is 24 hours.', 'accesspress-social-share' ); ?></div>
397
 
398
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
399
  </div>
400
- <div class="apss-email-settings">
401
- <h4><?php _e( 'Email Settings:', 'accesspress-social-share' ); ?></h4>
402
- <div class="app-email-sub email-setg">
403
- <label for='apss-email-subject'><?php _e( 'Email subject:', 'accesspress-social-share' ); ?></label>
404
- <input type='text' name="apss_share_settings[apss_email_subject]" value="<?php echo $options[ 'apss_email_subject' ] ?>" style='width:325px;'/>
405
- </div>
406
- <div class="app-email-body email-setg">
407
- <label for='apss-email-body'><?php _e( 'Email body:', 'accesspress-social-share' ); ?></label>
408
- <textarea rows='30' cols='30' name="apss_share_settings[apss_email_body]"><?php echo $options[ 'apss_email_body' ] ?></textarea>
409
- </div>
410
- <div class="apss_notes_cache_settings">
411
- Available parameters: <br />
412
- %%url%% = current page/post url(custom url if you have used "custom_share_link" attribute in the shortcode ) <br />
413
- %%title%% = current page/post's title <br />
414
- %%permalink%% = current page/post url <br />
415
- %%siteurl%% = Site url <br />
416
- </div>
417
  </div>
418
  </div>
419
- <div class="apss-tab-contents apss-how-to-use" id="tab-apss-how-to-use" style='display:none' ><?php include_once('how-to-use.php'); ?></div>
420
- <div class="apss-tab-contents apss-about" id="tab-apss-about" style='display:none' ><?php include('about-apss.php'); ?></div>
421
- <div class="apss-tab-contents apss-resources" id="tab-apss-resources" style='display:none' ><?php include('stuff-apss.php'); ?></div>
422
- <?php wp_nonce_field( 'apss_nonce_save_settings', 'apss_add_nonce_save_settings' ); ?>
423
- <input type="submit" class="submit_settings button primary-button" value="<?php _e( 'Save settings', 'accesspress-social-share' ); ?>" name="apss_submit_settings" id="apss_submit_settings"/>
424
- <?php
425
- /**
426
- * Nonce field
427
- * */
428
- wp_nonce_field( 'apss_settings_action', 'apss_settings_action' );
429
- ?>
430
- <?php $nonce = wp_create_nonce( 'apss-restore-default-settings-nonce' ); ?>
431
- <?php $nonce_clear = wp_create_nonce( 'apss-clear-cache-nonce' ); ?>
432
- <a href="<?php echo admin_url() . 'admin-post.php?action=apss_restore_default_settings&_wpnonce=' . $nonce; ?>" onclick="return confirm('<?php _e( 'Are you sure you want to restore default settings?', 'accesspress-social-share' ); ?>')"><input type="button" value="Restore Default Settings" class="apss-reset-button button primary-button"/></a>
433
- <a href="<?php echo admin_url() . 'admin-post.php?action=apss_clear_cache&_wpnonce=' . $nonce_clear; ?>" onclick="return confirm('<?php _e( 'Are you sure you want to clear cache share counter?', 'accesspress-social-share' ); ?>')"><input type="button" value="Clear Cache" class="apss-reset-button button primary-button"/></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
434
  </div>
435
- <div class="apss-promoFloat">
436
- <a href='https://accesspressthemes.com/wordpress-plugins/accesspress-social-pro/' target='_blank'><img src="<?php echo APSS_IMAGE_DIR . '/promo-top.png' ?>" alt="promo-top" /></a>
437
- <div class="apss-promo-buttons"><a target='_blank' href="http://demo.accesspressthemes.com/wordpress-plugins/accesspress-social-pro/" /><img src="<?php echo APSS_IMAGE_DIR . '/demo-btn.png' ?>" alt="demo link" /></a><a target='_blank' href="http://codecanyon.net/item/accesspress-social-pro/10429645?ref=AccessKeys" ><img src="<?php echo APSS_IMAGE_DIR . '/upgrade-btn.png' ?>" alt="upgrade link" /></a></div>
438
- <a href='https://accesspressthemes.com/wordpress-plugins/accesspress-social-pro/' target='_blank'><img src="<?php echo APSS_IMAGE_DIR . '/promo-bottom.png' ?>" alt="promo-bottom" /></a>
439
- <div class="apss-promo-buttons"><a target='_blank' href="http://demo.accesspressthemes.com/wordpress-plugins/accesspress-social-pro/" /><img src="<?php echo APSS_IMAGE_DIR . '/demo-btn.png' ?>" alt="demo link" /></a><a target='_blank' href="http://codecanyon.net/item/accesspress-social-pro/10429645?ref=AccessKeys" ><img src="<?php echo APSS_IMAGE_DIR . '/upgrade-btn.png' ?>" alt="upgrade link" /></a></div>
440
  </div>
441
  </div>
442
- <div class="clear"></div>
443
  </form>
444
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
445
  </div>
11
  &nbsp;&nbsp;
12
  <iframe id="twitter-widget-0" scrolling="no" frameborder="0" allowtransparency="true" src="//platform.twitter.com/widgets/follow_button.5f46501ecfda1c3e1c05dd3e24875611.en.html#_=1421918256492&amp;dnt=true&amp;id=twitter-widget-0&amp;lang=en&amp;screen_name=apthemes&amp;show_count=false&amp;show_screen_name=true&amp;size=m" class="twitter-follow-button twitter-follow-button" title="Twitter Follow Button" data-twttr-rendered="true" style="width: 126px; height: 20px;"></iframe>
13
  <script>!function(d, s, id) {
14
+ var js, fjs = d.getElementsByTagName(s)[0];
15
+ if (!d.getElementById(id)) {
16
+ js = d.createElement(s);
17
+ js.id = id;
18
+ js.src = "//platform.twitter.com/widgets.js";
19
+ fjs.parentNode.insertBefore(js, fjs);
20
+ }
21
+ }(document, "script", "twitter-wjs");</script>
22
  </div>
23
  </div>
24
  <div class="apss-header-title">
59
  </div>
60
  <?php }
61
  ?>
62
+ <div class= "apps-settings-container">
63
  <div class="apps-wrap">
64
  <form method="post" action="<?php echo admin_url() . 'admin-post.php' ?>">
65
  <input type="hidden" name="action" value="apss_save_options"/>
 
66
  <ul class="apss-setting-tabs clearfix">
67
  <li><a href="javascript:void(0)" id="apss-social-networks" class="apss-tabs-trigger apss-active-tab "><?php _e( 'Social Networks', 'accesspress-social-share' ); ?></a></li>
68
  <li><a href="javascript:void(0)" id="apss-share-options" class="apss-tabs-trigger "><?php _e( 'Share Options', 'accesspress-social-share' ) ?></a></li>
72
  <li><a href="javascript:void(0)" id="apss-about" class="apss-tabs-trigger"><?php _e( 'About', 'accesspress-social-share' ); ?></a></li>
73
  <li><a href="javascript:void(0)" id="apss-resources" class="apss-tabs-trigger"><?php _e( 'Wordpress Resources', 'accesspress-social-share' ); ?></a></li>
74
  </ul>
 
75
  <div class='apss-tab-contents-wrapper'>
76
  <div class="apss-wrapper">
 
77
  <div class="apss-tab-contents apss-social-networks" id="tab-apss-social-networks" style='display:block'>
78
  <h2><?php _e( 'Social Media chooser:', 'accesspress-social-share' ); ?> </h2>
79
  <span class="social-text"><?php _e( 'Please choose the social media you want to display. Also you can order these social media\'s by drag and drop:', 'accesspress-social-share' ); ?></span>
90
  );
91
  ?>
92
  <?php
93
+ foreach ( $options[ 'social_networks' ] as $key => $val ) {
94
+ if($key != 'google-plus'){ ?>
95
+
96
  <div class="apss-option-wrapper">
97
  <div class="apss-option-field">
98
  <label class="clearfix"><span class="left-icon"><i class="fa fa-arrows"></i></span><span class="social-name"><?php echo $label_array[ $key ]; ?></span><input type="checkbox" data-key='<?php echo $key; ?>' name="social_networks[<?php echo $key; ?>]" value="1" <?php
99
+ if ( $val == '1' ) {
100
+ echo "checked='checked'";
101
+ }
102
+ ?> /></label>
103
  </div>
104
  </div>
105
+ <?php }} ?>
106
  </div>
107
  <input type="hidden" name="apss_social_newtwork_order" id='apss_social_newtwork_order' value="<?php echo implode( ',', array_keys( $options[ 'social_networks' ] ) ); ?>"/>
108
+ <?php include( APSS_PATH . '/inc/backend/save-button.php') ?>
109
  </div>
110
 
111
  <div class="apss-tab-contents apss-share-options" id="tab-apss-share-options" style='display:none'>
112
  <h2><?php _e( 'Share options:', 'accesspress-social-share' ); ?> </h2>
113
  <span class="social-text"><?php _e( 'Please choose the options where you want to display social share icons:', 'accesspress-social-share' ); ?></span>
114
  <p><input type="checkbox" id="apss_posts" value="post" name="apss_share_settings[share_options][]" <?php
115
+ if ( in_array( "post", $options[ 'share_options' ] ) || in_array( "posts", $options[ 'share_options' ] ) ) {
116
+ echo "checked='checked'";
117
+ }
118
+ ?> ><label for="apss_posts"><?php _e( 'Posts', 'accesspress-social-share' ); ?> </label></p>
119
  <p><input type="checkbox" id="apss_pages" value="page" name="apss_share_settings[share_options][]" <?php
120
+ if ( in_array( "page", $options[ 'share_options' ] ) || in_array( "pages", $options[ 'share_options' ] ) ) {
121
+ echo "checked='checked'";
122
+ }
123
+ ?> ><label for="apss_pages"><?php _e( 'Pages', 'accesspress-social-share' ); ?> </label></p>
124
 
125
  <p><input type="checkbox" id="apss_front_page" value="front_page" name="apss_share_settings[share_options][]" <?php
126
+ if ( in_array( "front_page", $options[ 'share_options' ] ) ) {
127
+ echo "checked='checked'";
128
+ }
129
+ ?> ><label for="apss_front_page"><?php _e( 'Front Page', 'accesspress-social-share' ); ?></label></p>
130
  <p><input type="checkbox" id="apss_archives" value="archives" name="apss_share_settings[share_options][]" <?php
131
+ if ( in_array( "archives", $options[ 'share_options' ] ) ) {
132
+ echo "checked='checked'";
133
+ }
134
+ ?> ><label for="apss_archives"><?php _e( 'Archives', 'accesspress-social-share' ); ?></label></p>
135
 
136
  <p><input type="checkbox" id="apss_attachement" value="attachment" name="apss_share_settings[share_options][]" <?php
137
+ if ( in_array( "attachment", $options[ 'share_options' ] ) ) {
138
+ echo "checked='checked'";
139
+ }
140
+ ?> ><label for="apss_attachment"><?php _e( 'Attachment pages', 'accesspress-social-share' ); ?></label></p>
141
 
142
  <p><input type="checkbox" id="apss_categories" value="categories" name="apss_share_settings[share_options][]" <?php
143
+ if ( in_array( "categories", $options[ 'share_options' ] ) ) {
144
+ echo "checked='checked'";
145
+ }
146
+ ?> ><label for="apss_categories"><?php _e( 'Categories', 'accesspress-social-share' ); ?></label></p>
147
  <p><input type="checkbox" id="apss_all" value="all" name="apss_share_settings[share_options][]" <?php
148
+ if ( in_array( "all", $options[ 'share_options' ] ) ) {
149
+ echo "checked='checked'";
150
+ }
151
+ ?> ><label for="apss_all"><?php _e( 'Other (search results, etc)', 'accesspress-social-share' ); ?></label></p>
152
+
153
+ <?php include( APSS_PATH . '/inc/backend/save-button.php') ?>
154
  </div>
155
 
156
  <div class="apss-tab-contents apss-display-settings" id="tab-apss-display-settings" style='display:none'>
158
  <h2><?php _e( 'Display position:', 'accesspress-social-share' ); ?></h2>
159
  <span class='social-text'><?php _e( 'Please choose the option where you want to display the social share:', 'accesspress-social-share' ); ?></span>
160
  <p><input type="radio" id="apss_below_content" name="apss_share_settings[social_share_position_options]" value="below_content" <?php
161
+ if ( $options[ 'share_positions' ] == 'below_content' ) {
162
+ echo "checked='checked'";
163
+ }
164
+ ?> /><label for='apss_below_content'><?php _e( 'Below content', 'accesspress-social-share' ); ?></label></p>
165
  <p><input type="radio" id="apss_above_content" name="apss_share_settings[social_share_position_options]"/ value="above_content" <?php
166
+ if ( $options[ 'share_positions' ] == 'above_content' ) {
167
+ echo "checked='checked'";
168
+ }
169
+ ?> /><label for='apss_above_content'><?php _e( 'Above content', 'accesspress-social-share' ); ?></label></p>
170
  <p><input type="radio" id="apss_below_above_content" id="below_above_content" name="apss_share_settings[social_share_position_options]" value="on_both" <?php
171
+ if ( $options[ 'share_positions' ] == 'on_both' ) {
172
+ echo "checked='checked'";
173
+ }
174
+ ?> /><label for='apss_below_above_content'><?php _e( 'Both(Below content and Above content)', 'accesspress-social-share' ); ?></label></p>
175
  </div>
176
  <div class=" apss-icon-sets">
177
  <h2><?php _e( 'Social icons sets: ', 'accesspress-social-share' ); ?> </h2>
178
  <?php _e( 'Please choose any one out of available icon themes:', 'accesspress-social-share' ); ?>
179
  <?php for ( $i = 1; $i <= 6; $i ++ ) { ?>
180
  <p><input id="apss_icon_set_<?php echo $i; ?>" value="<?php echo $i; ?>" name="apss_share_settings[social_icon_set]" type="radio" <?php
181
+ if ( $options[ 'social_icon_set' ] == $i ) {
182
+ echo "checked='checked'";
183
+ }
184
+ ?> ><label for="apss_icon_set_<?php echo $i; ?>"><span class="apss_demo_icon apss_demo_icons_<?php echo $i; ?>"></span><?php _e( "Theme $i", 'accesspress-social-share' ); ?><div class="apss-theme-image"><img src='<?php echo APSS_IMAGE_DIR . "/theme/theme$i.jpg"; ?>'/></div></label></p>
185
+ <?php } ?>
186
  </div>
187
+ <?php include( APSS_PATH . '/inc/backend/save-button.php') ?>
188
  </div>
189
 
190
  <div class="apss-tab-contents apss-miscellaneous" id="tab-apss-miscellaneous" style='display:none'>
194
  <div class="apss-share-text-settings clearfix">
195
  <h4><?php _e( 'Disable the plugins frontend assets?', 'accesspress-social-share' ); ?> </h4>
196
  <div class="misc-opt"><input type="radio" id='disable_frontend_assets_n' name="apss_share_settings[disable_frontend_assets]" value="0" <?php
197
+ if ( isset( $options[ 'disable_frontend_assets' ] ) && $options[ 'disable_frontend_assets' ] == '0' ) {
198
+ echo "checked='checked'";
199
+ }
200
+ ?> /><label for="disable_frontend_assets_n"><?php _e( 'No', 'accesspress-social-share' ); ?></label></div>
201
  <div class="misc-opt"><input type="radio" id='disable_frontend_assets_y' name="apss_share_settings[disable_frontend_assets]" value="1" <?php
202
+ if ( isset( $options[ 'disable_frontend_assets' ] ) && $options[ 'disable_frontend_assets' ] == '1' ) {
203
+ echo "checked='checked'";
204
+ }
205
+ ?> /><label for="disable_frontend_assets_y"><?php _e( 'Yes', 'accesspress-social-share' ); ?></label></div>
206
  <br />
207
  <div class="apss_notes_cache_settings">
208
  <?php _e( 'Please set this value if you don\'t want to use plguins frontend assets(js and css files).', 'accesspress-social-share' ); ?>
228
  <div class="apss-counter-settings clearfix">
229
  <h4><?php _e( 'Social share counter enable?', 'accesspress-social-share' ); ?> </h4>
230
  <div class="misc-opt"><input type="radio" id='counter_enable_options_n' name="apss_share_settings[counter_enable_options]" value="0" <?php
231
+ if ( $options[ 'counter_enable_options' ] == '0' ) {
232
+ echo "checked='checked'";
233
+ }
234
+ ?> /><label for="counter_enable_options_n"><?php _e( 'No', 'accesspress-social-share' ); ?></label></div>
235
  <div class="misc-opt"><input type="radio" id='counter_enable_options_y' name="apss_share_settings[counter_enable_options]" value="1" <?php
236
+ if ( $options[ 'counter_enable_options' ] == '1' ) {
237
+ echo "checked='checked'";
238
+ }
239
+ ?> /><label for="counter_enable_options_y"><?php _e( 'Yes', 'accesspress-social-share' ); ?></label></div>
240
  </div>
241
 
242
  <div class="apss-counter-api-options apss-counter-settings clearfix" style="<?php
246
  echo 'display:none';
247
  }
248
  ?>">
249
+ <div class='apss-counter-api'>
250
+ <input type="radio" id='apss_twitter_counter_option' name="apss_share_settings[twitter_counter_api]" value="1" <?php
251
+ if ( isset( $options[ 'twitter_counter_api' ] ) ) {
252
+ if ( $options[ 'twitter_counter_api' ] == '1' ) {
253
+ echo "checked='checked'";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
254
  }
255
+ }
256
+ ?> />
257
+ <label for="apss_twitter_counter_option"><?php _e( "Don't show Twitter share counts", 'accesspress-social-share' ); ?></label>
258
+ <div class="apss_notes_cache_settings"> Please select this option if you don't want to show twitter share counts.</div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
259
  </div>
260
 
261
+ <div class='apss-counter-api'>
262
+ <input type="radio" id='apss_twitter_counter_option_1' name="apss_share_settings[twitter_counter_api]" value="2" <?php
263
+ if ( isset( $options[ 'twitter_counter_api' ] ) ) {
264
+ if ( $options[ 'twitter_counter_api' ] == '2' ) {
265
  echo "checked='checked'";
266
  }
267
+ }
268
+ ?> />
269
+ <label for="apss_twitter_counter_option_1"><?php _e( 'Use', 'accesspress-social-share' ); ?> <a href='http://newsharecounts.com' target='_blank'>NewShareCounts</a><?php _e( ' to show Twitter share counts', 'accesspress-social-share' ); ?></label>
270
+ <div class="apss_notes_cache_settings"> To use newsharecount public API, you have to enter your website url <?php echo site_url(); ?> and sign in using Twitter at their <a href='http://newsharecounts.com/' target='_blank'>website</a>.</div>
271
+ </div>
272
+
273
+ <div class='apss-counter-api'>
274
+ <input type="radio" id='apss_twitter_counter_option_2' name="apss_share_settings[twitter_counter_api]" value="3" <?php
275
+ if ( isset( $options[ 'twitter_counter_api' ] ) ) {
276
+ if ( $options[ 'twitter_counter_api' ] == '3' ) {
277
  echo "checked='checked'";
278
  }
279
+ }
280
+ ?> /><label for="apss_twitter_counter_option_2"><?php _e( 'Use', 'accesspress-social-share' ); ?> <a href=' http://opensharecount.com/' target='_blank'>OpenShareCount</a><?php _e( ' to show Twitter share counts', 'accesspress-social-share' ); ?></label>
281
+ <div class="apss_notes_cache_settings"> To use opensharecount public API, you have to sign up and register your website url <?php echo site_url(); ?> at their <a href='http://opensharecount.com/' target='_blank'>website</a>. </div>
282
  </div>
283
+ <div class="apss_notes_cache_settings"> Note: If you switch the API please don't forget to clear cache for fetching new share counts.</div>
284
 
285
+ <div class="apss_counter-api">
286
+ <h4>If facebook counter is not working. Please setup the facebook APP and enter required details below.</h4>
287
+ <div class='apss_input_wrapper'>
288
+ <label for=apss_facebook_app_id"">APP ID: </label><input type='text' id="apss_facebook_app_id" name='apss_share_settings[api_configuration][facebook][app_id]' value="<?php
289
+ if ( isset( $options[ 'api_configuration' ][ 'facebook' ][ 'app_id' ] ) ) {
290
+ echo $options[ 'api_configuration' ][ 'facebook' ][ 'app_id' ];
291
  }
292
+ ?>" />
293
+ <div class="apss_notes_cache_settings">Please go to <a href="https://developers.facebook.com/" target="_blank">https://developers.facebook.com/</a> and create an app and get the App ID.</div>
294
  </div>
295
+ <div class='apss_input_wrapper'>
296
+ <label for=apss_facebook_app_secret"">APP Secret: </label><input type='text' id="apss_facebook_app_secret" name='apss_share_settings[api_configuration][facebook][app_secret]' value="<?php
297
+ if ( isset( $options[ 'api_configuration' ][ 'facebook' ][ 'app_secret' ] ) ) {
298
+ echo $options[ 'api_configuration' ][ 'facebook' ][ 'app_secret' ];
299
  }
300
+ ?>" style="width:285px;" />
301
+ <div class="apss_notes_cache_settings">Please go to <a href="https://developers.facebook.com/" target="_blank">https://developers.facebook.com/</a> and create an app and get the App Secret.</div>
302
  </div>
 
303
  <div class="apss_notes_cache_settings">
304
+ <b>Please note that you should make your APP live.</b>
305
+ You can get the details instruction for creating facebook app <a href='http://demo.accesspressthemes.com/wordpress-plugins/accesspress-social-share/?p=89' target="_blank">here</a>.
306
  </div>
307
  </div>
308
+ </div>
309
 
310
+ <div class="apss-total-counter-settings clearfix">
311
+ <h4><?php _e( 'Social share total counter enable?', 'accesspress-social-share' ); ?> </h4>
312
+ <div class="misc-opt"><input type="radio" id='total_counter_enable_options_n' name="apss_share_settings[total_counter_enable_options]" value="0" <?php
313
+ if ( isset( $options[ 'total_counter_enable_options' ] ) && $options[ 'total_counter_enable_options' ] == '0' ) {
314
+ echo "checked='checked'";
315
+ }
316
+ ?> /><label for="total_counter_enable_options_n"><?php _e( 'No', 'accesspress-social-share' ); ?></label></div>
317
+ <div class="misc-opt"><input type="radio" id='total_counter_enable_options_y' name="apss_share_settings[total_counter_enable_options]" value="1" <?php
318
+ if ( isset( $options[ 'total_counter_enable_options' ] ) && $options[ 'total_counter_enable_options' ] == '1' ) {
319
+ echo "checked='checked'";
320
+ }
321
+ ?> /><label for="total_counter_enable_options_y"><?php _e( 'Yes', 'accesspress-social-share' ); ?></label></div>
322
+ </div>
323
 
324
+ <div class='apss_cache_enable_opt'>
325
+ <h4><?php _e( 'Fetch the share counts from HTTP url as well? ', 'accesspress-social-share' ); ?> </h4>
326
+ <div class='misc-opt'>
327
+ <input type="radio" id='enable_http_count_yes' name="apss_share_settings[enable_http_count]" value="1" <?php
328
+ if ( isset( $options[ 'enable_http_count' ] ) && $options[ 'enable_http_count' ] == '1' ) {
329
+ echo "checked='checked'";
330
+ }
331
+ ?> />
332
+ <label for='enable_http_count_yes'><?php _e( 'Yes', 'accesspress-social-share' ); ?></label>
333
  </div>
334
+ <div class='misc-opt'>
335
+ <input type="radio" id='enable_http_count_no' name="apss_share_settings[enable_http_count]" value="0" <?php
336
+ if ( isset( $options[ 'enable_http_count' ] ) && $options[ 'enable_http_count' ] == '0' ) {
337
+ echo "checked='checked'";
338
+ }
339
+ ?> />
340
+ <label for='enable_http_count_no'><?php _e( 'No', 'accesspress-social-share' ); ?></label>
 
 
 
 
 
 
 
 
 
 
 
341
  </div>
342
  <br />
343
+ <div class="apss_notes_cache_settings">
344
+ <?php _e( "<b>Note:</b> Please select this option if you have moved your site from HTTP to HTTPS. For Facebook, The crawler still needs to be able to access the old page, so exempt the crawler's user agent from the redirect and only send an HTTP redirect to non-Facebook crawler clients. If you have done 301 redirect then the old url share counts will be lost.", 'accesspress-social-share' ); ?>
345
+ </div>
346
+ </div>
347
+ <br />
 
 
 
 
 
 
348
 
349
+ <div class="apss-dialog-boxs clearfix">
350
+ <h4><?php _e( 'Social share link options:', 'accesspress-social-share' ); ?> </h4>
351
+ <div class="misc-opt"><input type="radio" id='dialog_box_options_1' name="apss_share_settings[dialog_box_options]" value="0" <?php
352
+ if ( $options[ 'dialog_box_options' ] == '0' ) {
353
+ echo "checked='checked'";
354
+ }
355
+ ?> /><label for="dialog_box_options_1"><?php _e( 'Open in same window', 'accesspress-social-share' ); ?></label></div>
356
+ <div class="misc-opt"><input type="radio" id='dialog_box_options_2' name="apss_share_settings[dialog_box_options]" value="1" <?php
357
+ if ( $options[ 'dialog_box_options' ] == '1' ) {
358
+ echo "checked='checked'";
359
+ }
360
+ ?> /><label for="dialog_box_options_2"><?php _e( 'Open in new window/Tab', 'accesspress-social-share' ); ?></label></div>
361
+
362
+ <div class="misc-opt"><input type="radio" id='dialog_box_options_3' name="apss_share_settings[dialog_box_options]" value="2" <?php
363
+ if ( $options[ 'dialog_box_options' ] == '2' ) {
364
+ echo "checked='checked'";
365
+ }
366
+ ?> /><label for="dialog_box_options_3"><?php _e( 'Open in popup window', 'accesspress-social-share' ); ?></label></div>
367
+ </div>
368
+ <div class='apss_cache_enable_opt'>
369
+ <h4><?php _e( 'Enable cache? ', 'accesspress-social-share' ); ?> </h4>
370
+ <div class='misc-opt'>
371
+ <input type="radio" id='enable_cache_yes' name="apss_share_settings[enable_cache]" value="1" <?php
372
+ if ( isset( $options[ 'enable_cache' ] ) && $options[ 'enable_cache' ] == '1' ) {
373
+ echo "checked='checked'";
374
+ }
375
+ ?> />
376
+ <label for='enable_cache_yes'><?php _e( 'Yes', 'accesspress-social-share' ); ?></label>
377
  </div>
378
+ <div class='misc-opt'>
379
+ <input type="radio" id='enable_cache_no' name="apss_share_settings[enable_cache]" value="0" <?php
380
+ if ( isset( $options[ 'enable_cache' ] ) && $options[ 'enable_cache' ] == '0' ) {
381
+ echo "checked='checked'";
382
+ }
383
+ ?> />
384
+ <label for='enable_cache_no'><?php _e( 'No', 'accesspress-social-share' ); ?></label>
 
 
 
 
 
 
 
 
 
 
385
  </div>
386
  </div>
387
+ <br />
388
+ <div class='cache-settings'>
389
+ <h4><?php _e( 'Cache Settings: ', 'accesspress-social-share' ); ?> </h4>
390
+ <div class="apss_input_wrapper">
391
+ <label for="apss_cache_settings"><?php _e( 'Cache Period:', 'accesspress-social-share' ); ?></label>
392
+ <input type='text' id="apss_cache_period" name='apss_share_settings[cache_settings]' value="<?php
393
+ if ( isset( $options[ 'cache_period' ] ) ) {
394
+ echo $options[ 'cache_period' ];
395
+ }
396
+ ?>" onkeyup="removeMe('invalid_cache_period');" style='width:50px;'/>
397
+ <span class="error invalid_cache_period"></span>
398
+ <div class="apss_notes_cache_settings"><?php _e( 'Please enter the time in hours in which the social share counter should be updated from social networks. Default is 24 hours.', 'accesspress-social-share' ); ?></div>
399
+
400
+ </div>
401
+ </div>
402
+ <div class="apss-email-settings">
403
+ <h4><?php _e( 'Email Settings:', 'accesspress-social-share' ); ?></h4>
404
+ <div class="app-email-sub email-setg">
405
+ <label for='apss-email-subject'><?php _e( 'Email subject:', 'accesspress-social-share' ); ?></label>
406
+ <input type='text' name="apss_share_settings[apss_email_subject]" value="<?php echo $options[ 'apss_email_subject' ] ?>" style='width:325px;'/>
407
+ </div>
408
+ <div class="app-email-body email-setg">
409
+ <label for='apss-email-body'><?php _e( 'Email body:', 'accesspress-social-share' ); ?></label>
410
+ <textarea rows='30' cols='30' name="apss_share_settings[apss_email_body]"><?php echo $options[ 'apss_email_body' ] ?></textarea>
411
+ </div>
412
+ <div class="apss_notes_cache_settings">
413
+ Available parameters: <br />
414
+ %%url%% = current page/post url(custom url if you have used "custom_share_link" attribute in the shortcode ) <br />
415
+ %%title%% = current page/post's title <br />
416
+ %%permalink%% = current page/post url <br />
417
+ %%siteurl%% = Site url <br />
418
+ </div>
419
+ </div>
420
+ <?php include( APSS_PATH . '/inc/backend/save-button.php') ?>
421
  </div>
422
+
423
+ <div class="apss-tab-contents apss-how-to-use" id="tab-apss-how-to-use" style='display:none' ><?php include_once('how-to-use.php'); ?></div>
424
+ <div class="apss-tab-contents apss-about" id="tab-apss-about" style='display:none' ><?php include('about-apss.php'); ?></div>
425
+ <div class="apss-tab-contents apss-resources" id="tab-apss-resources" style='display:none' ><?php include('stuff-apss.php'); ?></div>
 
426
  </div>
427
  </div>
 
428
  </form>
429
  </div>
430
+ <div class="apss-upgrade-wrapper">
431
+ <a href="<?php echo APSS_PRO_LINK ?>" target="_blank">
432
+ <img src="<?php echo APSS_IMAGE_DIR . '/upgrade-to-pro/upgrade-to-pro.png' ?>" style="width:100%;">
433
+ </a>
434
+
435
+ <div class="apss-upgrade-button-wrap-backend">
436
+
437
+ <a href="<?php echo APSS_PRO_DEMO; ?>" class="smls-demo-btn" target="_blank">Demo</a>
438
+
439
+ <a href="<?php echo APSS_PRO_LINK; ?>" target="_blank" class="smls-upgrade-btn">Upgrade</a>
440
+
441
+ <a href="<?php echo APSS_PRO_DETAIL; ?>" target="_blank" class="smls-upgrade-btn">Plugin Information</a>
442
+
443
+ </div>
444
+
445
+ <a href="<?php echo APSS_PRO_LINK ?>" target="_blank">
446
+ <img src="<?php echo APSS_IMAGE_DIR; ?>/upgrade-to-pro/upgrade-to-pro-feature.png" alt="<?php _e( 'AccessPress Social Pro', 'accesspress-social-share' ); ?>" style="width:100%;">
447
+ </a>
448
+ </div>
449
+ </div>
450
  </div>
inc/backend/save-button.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?php
2
+ wp_nonce_field( 'apss_nonce_save_settings', 'apss_add_nonce_save_settings' );
3
+ wp_nonce_field( 'apss_settings_action', 'apss_settings_action' ); ?>
4
+ <input type="submit" class="submit_settings button primary-button" value="<?php _e( 'Save settings', 'accesspress-social-share' ); ?>" name="apss_submit_settings" id="apss_submit_settings"/>
5
+ <?php $nonce = wp_create_nonce( 'apss-restore-default-settings-nonce' ); ?>
6
+ <?php $nonce_clear = wp_create_nonce( 'apss-clear-cache-nonce' ); ?>
7
+ <a href="<?php echo admin_url() . 'admin-post.php?action=apss_restore_default_settings&_wpnonce=' . $nonce; ?>" onclick="return confirm('<?php _e( 'Are you sure you want to restore default settings?', 'accesspress-social-share' ); ?>')"><input type="button" value="Restore Default Settings" class="apss-reset-button button primary-button"/></a>
8
+ <a href="<?php echo admin_url() . 'admin-post.php?action=apss_clear_cache&_wpnonce=' . $nonce_clear; ?>" onclick="return confirm('<?php _e( 'Are you sure you want to clear cache share counter?', 'accesspress-social-share' ); ?>')"><input type="button" value="Clear Cache" class="apss-reset-button button primary-button"/></a>
inc/backend/save-settings.php CHANGED
@@ -10,37 +10,36 @@ if ( isset( $_POST[ 'apss_share_settings' ][ 'share_options' ] ) ) {
10
  }
11
 
12
  $apss_share_settings[ 'share_options' ] = $share_options;
13
- $apss_share_settings[ 'social_icon_set' ] = $_POST[ 'apss_share_settings' ][ 'social_icon_set' ];
14
- $apss_share_settings[ 'share_positions' ] = $_POST[ 'apss_share_settings' ][ 'social_share_position_options' ];
15
 
16
- $apss_social_newtwork_order = explode( ',', $_POST[ 'apss_social_newtwork_order' ] );
17
  $social_network_array = array();
18
  foreach ( $apss_social_newtwork_order as $social_network ) {
19
  $social_network_array[ $social_network ] = (isset( $_POST[ 'social_networks' ][ $social_network ] )) ? 1 : 0;
20
  }
21
 
22
  $apss_share_settings[ 'social_networks' ] = $social_network_array;
23
- $apss_share_settings[ 'disable_frontend_assets' ] = isset( $_POST[ 'apss_share_settings' ][ 'disable_frontend_assets' ] ) ? $_POST[ 'apss_share_settings' ][ 'disable_frontend_assets' ] : '0';
24
- $apss_share_settings[ 'share_text' ] = stripslashes_deep( $_POST[ 'apss_share_settings' ][ 'share_text' ] );
25
- $apss_share_settings[ 'twitter_username' ] = stripslashes_deep( $_POST[ 'apss_share_settings' ][ 'twitter_username' ] );
26
- $apss_share_settings[ 'counter_enable_options' ] = $_POST[ 'apss_share_settings' ][ 'counter_enable_options' ];
27
- $apss_share_settings[ 'twitter_counter_api' ] = $_POST[ 'apss_share_settings' ][ 'twitter_counter_api' ];
28
 
29
- $fb_app_id = isset( $_POST[ 'apss_share_settings' ][ 'api_configuration' ][ 'facebook' ][ 'app_id' ] ) ? $_POST[ 'apss_share_settings' ][ 'api_configuration' ][ 'facebook' ][ 'app_id' ] : '';
30
- $fb_app_secret = isset( $_POST[ 'apss_share_settings' ][ 'api_configuration' ][ 'facebook' ][ 'app_secret' ] ) ? $_POST[ 'apss_share_settings' ][ 'api_configuration' ][ 'facebook' ][ 'app_secret' ] : '';
31
  $apss_share_settings[ 'api_configuration' ][ 'facebook' ] = array(
32
  'app_id' => stripslashes_deep( $fb_app_id ),
33
  'app_secret' => stripslashes_deep( $fb_app_secret )
34
  );
35
 
36
- $apss_share_settings[ 'total_counter_enable_options' ] = $_POST[ 'apss_share_settings' ][ 'total_counter_enable_options' ];
37
- $apss_share_settings[ 'enable_http_count' ] = $_POST[ 'apss_share_settings' ][ 'enable_http_count' ];
38
- $apss_share_settings[ 'enable_cache' ] = $_POST[ 'apss_share_settings' ][ 'enable_cache' ];
39
- $apss_share_settings[ 'cache_period' ] = is_numeric( $_POST[ 'apss_share_settings' ][ 'cache_settings' ] ) ? $_POST[ 'apss_share_settings' ][ 'cache_settings' ] : '24';
40
- $apss_share_settings[ 'dialog_box_options' ] = $_POST[ 'apss_share_settings' ][ 'dialog_box_options' ];
41
- // $apss_share_settings['footer_javascript'] = $_POST['apss_share_settings']['footer_javascript'];
42
- $apss_share_settings[ 'apss_email_subject' ] = stripslashes_deep( $_POST[ 'apss_share_settings' ][ 'apss_email_subject' ] );
43
- $apss_share_settings[ 'apss_email_body' ] = stripslashes_deep( $_POST[ 'apss_share_settings' ][ 'apss_email_body' ] );
44
  if ( ! isset( $apss_share_settings[ 'apss_social_counts_transients' ] ) ) {
45
  $apss_share_settings[ 'apss_social_counts_transients' ] = array();
46
  }
10
  }
11
 
12
  $apss_share_settings[ 'share_options' ] = $share_options;
13
+ $apss_share_settings[ 'social_icon_set' ] = sanitize_text_field($_POST[ 'apss_share_settings' ][ 'social_icon_set' ]);
14
+ $apss_share_settings[ 'share_positions' ] = sanitize_text_field($_POST[ 'apss_share_settings' ][ 'social_share_position_options' ]);
15
 
16
+ $apss_social_newtwork_order = explode( ',', sanitize_array($_POST[ 'apss_social_newtwork_order' ]) );
17
  $social_network_array = array();
18
  foreach ( $apss_social_newtwork_order as $social_network ) {
19
  $social_network_array[ $social_network ] = (isset( $_POST[ 'social_networks' ][ $social_network ] )) ? 1 : 0;
20
  }
21
 
22
  $apss_share_settings[ 'social_networks' ] = $social_network_array;
23
+ $apss_share_settings[ 'disable_frontend_assets' ] = isset( $_POST[ 'apss_share_settings' ][ 'disable_frontend_assets' ] ) ?sanitize_text_field( $_POST[ 'apss_share_settings' ][ 'disable_frontend_assets' ]) : '0';
24
+ $apss_share_settings[ 'share_text' ] = stripslashes_deep( sanitize_text_field($_POST[ 'apss_share_settings' ][ 'share_text' ]) );
25
+ $apss_share_settings[ 'twitter_username' ] = stripslashes_deep(sanitize_text_field( $_POST[ 'apss_share_settings' ][ 'twitter_username' ] ));
26
+ $apss_share_settings[ 'counter_enable_options' ] =sanitize_text_field( $_POST[ 'apss_share_settings' ][ 'counter_enable_options' ]);
27
+ $apss_share_settings[ 'twitter_counter_api' ] = sanitize_text_field($_POST[ 'apss_share_settings' ][ 'twitter_counter_api' ]);
28
 
29
+ $fb_app_id = isset( $_POST[ 'apss_share_settings' ][ 'api_configuration' ][ 'facebook' ][ 'app_id' ] ) ? sanitize_text_field($_POST[ 'apss_share_settings' ][ 'api_configuration' ][ 'facebook' ][ 'app_id' ] ): '';
30
+ $fb_app_secret = isset( $_POST[ 'apss_share_settings' ][ 'api_configuration' ][ 'facebook' ][ 'app_secret' ] ) ? sanitize_text_field($_POST[ 'apss_share_settings' ][ 'api_configuration' ][ 'facebook' ][ 'app_secret' ]) : '';
31
  $apss_share_settings[ 'api_configuration' ][ 'facebook' ] = array(
32
  'app_id' => stripslashes_deep( $fb_app_id ),
33
  'app_secret' => stripslashes_deep( $fb_app_secret )
34
  );
35
 
36
+ $apss_share_settings[ 'total_counter_enable_options' ] = sanitize_text_field($_POST[ 'apss_share_settings' ][ 'total_counter_enable_options' ]);
37
+ $apss_share_settings[ 'enable_http_count' ] = sanitize_text_field($_POST[ 'apss_share_settings' ][ 'enable_http_count' ]);
38
+ $apss_share_settings[ 'enable_cache' ] = sanitize_text_field($_POST[ 'apss_share_settings' ][ 'enable_cache' ]);
39
+ $apss_share_settings[ 'cache_period' ] = is_numeric( $_POST[ 'apss_share_settings' ][ 'cache_settings' ] ) ? sanitize_text_field($_POST[ 'apss_share_settings' ][ 'cache_settings' ]) : '24';
40
+ $apss_share_settings[ 'dialog_box_options' ] = sanitize_text_field($_POST[ 'apss_share_settings' ][ 'dialog_box_options' ]);
41
+ $apss_share_settings[ 'apss_email_subject' ] = stripslashes_deep( sanitize_text_field($_POST[ 'apss_share_settings' ][ 'apss_email_subject' ] ));
42
+ $apss_share_settings[ 'apss_email_body' ] = stripslashes_deep( sanitize_text_field($_POST[ 'apss_share_settings' ][ 'apss_email_body' ] ));
 
43
  if ( ! isset( $apss_share_settings[ 'apss_social_counts_transients' ] ) ) {
44
  $apss_share_settings[ 'apss_social_counts_transients' ] = array();
45
  }
inc/backend/stuff-apss.php CHANGED
@@ -1,18 +1,20 @@
1
  <?php defined( 'ABSPATH' ) or die( "No script kiddies please!" ); ?>
2
  <h2><?php _e( 'More WordPress Resources', 'accesspress-social-share' ); ?></h2>
3
  <div class="ap-tab-wrapper">
4
- <p> Themes Compatible with the Plugin :</p>
 
5
 
6
- <p>AccessPress Social Share works best with every WordPress theme. It's even more remarkable when used with popular themes like VMagazine and AccessPress Parallax.</p>
7
 
8
- <strong>AND IF THIS PLUGIN HAS IMPRESSED YOU, THEN YOU WOULD ENJOY OUR OTHER PROJECTS TOO. DO CHECK THESE OUT :</strong>
9
- <p><a href="https://wpall.club/">WPAll Club</a> - A complete WordPress resources club. WordPress tutorials, blogs, curated free and premium themes and plugins, WordPress deals, offers, hosting info and more.</p>
10
 
11
- <p> <a href="https://themeforest.net/user/accesskeys/portfolio">Premium WordPress Themes</a> - 6 premium WordPress themes well suited for all sort of websites. Professional, well coded and highly configurable themes for you. </p>
12
 
13
- <p> <a href="https://codecanyon.net/user/accesskeys/portfolio?Ref=AccessKeys">Premium WordPress Plugins</a> - 45+ premium WordPress plugins of many different types. High user ratings, great quality and best sellers in CodeCanyon marketplace. </p>
14
 
15
- <p> <a href="https://accesspressthemes.com/">AccessPress Themes</a> - AccessPress Themes has 50+ beautiful and elegant, fully responsive, multipurpose themes to meet your need for free and commercial basis.</p>
 
 
16
 
17
- <p> <a href="https://8degreethemes.com/">8Degree Themes</a> - 8Degree Themes offers 15+ free WordPress themes and 16+ premium WordPress themes carefully crafted with creativity.</p>
18
  </div>
1
  <?php defined( 'ABSPATH' ) or die( "No script kiddies please!" ); ?>
2
  <h2><?php _e( 'More WordPress Resources', 'accesspress-social-share' ); ?></h2>
3
  <div class="ap-tab-wrapper">
4
+
5
+ <p> <?php _e( 'Themes Compatible with the Plugin :', 'accesspress-social-share' ); ?></p>
6
 
7
+ <p><?php _e( 'AccessPress Social Share works best with every WordPress theme. It\'s even more remarkable when used with popular themes like VMagazine and AccessPress Parallax.', 'accesspress-social-share' ); ?></p>
8
 
9
+ <strong><?php _e( 'AND IF THIS PLUGIN HAS IMPRESSED YOU, THEN YOU WOULD ENJOY OUR OTHER PROJECTS TOO. DO CHECK THESE OUT :', 'accesspress-social-share' ); ?></strong>
10
+ <p><a href="https://wpall.club/">WPAll Club</a> - <?php _e( ' A complete WordPress resources club. WordPress tutorials, blogs, curated free and premium themes and plugins, WordPress deals, offers, hosting info and more.', 'accesspress-social-share' ); ?></p>
11
 
12
+ <p> <a href="https://themeforest.net/user/accesskeys/portfolio"><?php _e( 'Premium WordPress Themes', 'accesspress-social-share' ); ?></a> -<?php _e( ' 6 premium WordPress themes well suited for all sort of websites. Professional, well coded and highly configurable themes for you.', 'accesspress-social-share' ); ?> </p>
13
 
14
+ <p> <a href="https://codecanyon.net/user/accesskeys/portfolio?Ref=AccessKeys"><?php _e( 'Premium WordPress Plugins', 'accesspress-social-share' ); ?></a> -<?php _e( ' 45+ premium WordPress plugins of many different types. High user ratings, great quality and best sellers in CodeCanyon marketplace. ', 'accesspress-social-share' ); ?></p>
15
 
16
+ <p> <a href="https://accesspressthemes.com/">AccessPress Themes</a> -<?php _e( ' AccessPress Themes has 50+ beautiful and elegant, fully responsive, multipurpose themes to meet your need for free and commercial basis.', 'accesspress-social-share' ); ?></p>
17
+
18
+ <p> <a href="https://8degreethemes.com/">8Degree Themes</a> - <?php _e( '8Degree Themes offers 15+ free WordPress themes and 16+ premium WordPress themes carefully crafted with creativity.', 'accesspress-social-share' ); ?></p>
19
 
 
20
  </div>
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
- === Social Share WordPress Plugin - AccessPress Social Share ===
2
  Contributors: Access Keys
3
  Tags: social share counter, social share, social media share, social network share, social media, social network, share counter, social share count, social url share, social icons
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
- Tested up to: 5.2.1
7
- Stable tag: 4.4.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -13,7 +13,7 @@ Share your site urls in most popular social medias and show share counts on your
13
  == Description ==
14
  [Homepage](https://accesspressthemes.com/) | [Documentation](https://accesspressthemes.com/documentation/documentation-plugin-instruction-accesspress-social-share/) | [Support](https://accesspressthemes.com/support) | [Demo](http://demo.accesspressthemes.com/wordpress-plugins/accesspress-social-share/) | [Premium Version](https://accesspressthemes.com/wordpress-plugins/accesspress-social-pro/)
15
 
16
- <strong>AccessPress Social Share</strong> is a <strong>Free WordPress plugin</strong> to allow anyone easily share website content (page, posts, image, media) on major social media (Facebook, Twitter, Pinterest, LinkedIn and Digg ) by the use of the latest APIs on your website!
17
 
18
  A perfect plugin to make any content on your website social-share-friendly, and increase your social reach dramatically!
19
 
@@ -96,7 +96,6 @@ For premium upgrade please go [here](https://accesspressthemes.com/wordpress-plu
96
  * <strong>Facebook link</strong>: https://www.facebook.com/AccessPressThemes
97
 
98
 
99
-
100
  For a easy installation guide checkout the Installation tab above.
101
 
102
  For complete information and documentation regarding plugin, please visit below links.
@@ -157,6 +156,12 @@ Yes. You can use the AccessPress social share by using shortcode anywhere you wa
157
 
158
  == Changelog ==
159
 
 
 
 
 
 
 
160
  = 4.4.6 =
161
  * Removed Google+ from the plugin
162
 
1
+ === AccessPress Social Share ===
2
  Contributors: Access Keys
3
  Tags: social share counter, social share, social media share, social network share, social media, social network, share counter, social share count, social url share, social icons
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
+ Tested up to: 5.2.8
7
+ Stable tag: 4.4.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
13
  == Description ==
14
  [Homepage](https://accesspressthemes.com/) | [Documentation](https://accesspressthemes.com/documentation/documentation-plugin-instruction-accesspress-social-share/) | [Support](https://accesspressthemes.com/support) | [Demo](http://demo.accesspressthemes.com/wordpress-plugins/accesspress-social-share/) | [Premium Version](https://accesspressthemes.com/wordpress-plugins/accesspress-social-pro/)
15
 
16
+ <strong>AccessPress Social Share</strong> is a <strong>Free WordPress plugin</strong> to allow anyone easily share website content (page, posts, image, media) on your major social media (Facebook, Twitter, Pinterest, LinkedIn and Digg ) by the use of the latest APIs on your website!
17
 
18
  A perfect plugin to make any content on your website social-share-friendly, and increase your social reach dramatically!
19
 
96
  * <strong>Facebook link</strong>: https://www.facebook.com/AccessPressThemes
97
 
98
 
 
99
  For a easy installation guide checkout the Installation tab above.
100
 
101
  For complete information and documentation regarding plugin, please visit below links.
156
 
157
  == Changelog ==
158
 
159
+ = 4.4.8 =
160
+ * Refinement in plugin to avoid trademark infringement
161
+
162
+ = 4.4.7 =
163
+ * Refinement in the plugin files
164
+
165
  = 4.4.6 =
166
  * Removed Google+ from the plugin
167