Version Description
- Added the link attribute rel='nofollow' to social share links.
Download this release
Release Info
Developer | Access Keys |
Plugin | Social Share WordPress Plugin – AccessPress Social Share |
Version | 2.0.6 |
Comparing to | |
See all releases |
Code changes from version 2.0.5 to 2.0.6
- accesspress-social-share.php +8 -7
- inc/frontend/content-filter.php +8 -8
- inc/frontend/shortcode.php +8 -8
- languages/accesspress-social-share.pot +311 -0
- readme.txt +4 -1
accesspress-social-share.php
CHANGED
@@ -4,7 +4,7 @@ defined( 'ABSPATH' ) or die( "No script kiddies please!" );
|
|
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: 2.0.
|
8 |
Author: AccessPress Themes
|
9 |
Author URI: http://accesspressthemes.com
|
10 |
Text Domain:apss-share
|
@@ -30,19 +30,19 @@ if( !defined( 'APSS_LANG_DIR' ) ) {
|
|
30 |
}
|
31 |
|
32 |
if( !defined( 'APSS_VERSION' ) ) {
|
33 |
-
define( 'APSS_VERSION', '2.0.
|
34 |
}
|
35 |
|
36 |
-
if(!defined('APSS_TEXT_DOMAIN')){
|
37 |
define( 'APSS_TEXT_DOMAIN', 'apss-share' );
|
38 |
}
|
39 |
|
40 |
-
if(!defined('APSS_SETTING_NAME')){
|
41 |
-
define( 'APSS_SETTING_NAME','apss_share_settings' );
|
42 |
}
|
43 |
|
44 |
-
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
|
@@ -116,6 +116,7 @@ if( !class_exists( 'APSS_Class' ) ){
|
|
116 |
$post_content=$content;
|
117 |
$title = str_replace('+', '%20', urlencode($post->post_title));
|
118 |
$content=strip_shortcodes( strip_tags( get_the_content() ) );
|
|
|
119 |
if(strlen($content) >= 100){
|
120 |
$excerpt= substr($content, 0, 100).'...';
|
121 |
}else{
|
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: 2.0.6
|
8 |
Author: AccessPress Themes
|
9 |
Author URI: http://accesspressthemes.com
|
10 |
Text Domain:apss-share
|
30 |
}
|
31 |
|
32 |
if( !defined( 'APSS_VERSION' ) ) {
|
33 |
+
define( 'APSS_VERSION', '2.0.6' );
|
34 |
}
|
35 |
|
36 |
+
if( !defined('APSS_TEXT_DOMAIN')){
|
37 |
define( 'APSS_TEXT_DOMAIN', 'apss-share' );
|
38 |
}
|
39 |
|
40 |
+
if( !defined('APSS_SETTING_NAME')){
|
41 |
+
define( 'APSS_SETTING_NAME','apss_share_settings' );
|
42 |
}
|
43 |
|
44 |
+
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
|
116 |
$post_content=$content;
|
117 |
$title = str_replace('+', '%20', urlencode($post->post_title));
|
118 |
$content=strip_shortcodes( strip_tags( get_the_content() ) );
|
119 |
+
|
120 |
if(strlen($content) >= 100){
|
121 |
$excerpt= substr($content, 0, 100).'...';
|
122 |
}else{
|
inc/frontend/content-filter.php
CHANGED
@@ -19,7 +19,7 @@ foreach( $options['social_networks'] as $key=>$value ){
|
|
19 |
$link = 'https://www.facebook.com/sharer/sharer.php?u='.$url;
|
20 |
?>
|
21 |
<div class='apss-facebook apss-single-icon'>
|
22 |
-
<a title="<?php _e('Share on Facebook', APSS_TEXT_DOMAIN ); ?>" target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
|
23 |
<div class='apss-icon-block clearfix'>
|
24 |
<i class='fa fa-facebook'></i>
|
25 |
<span class='apss-social-text'><?php _e( 'Share on Facebook', APSS_TEXT_DOMAIN ); ?></span>
|
@@ -43,7 +43,7 @@ foreach( $options['social_networks'] as $key=>$value ){
|
|
43 |
$link ="https://twitter.com/intent/tweet?text=$title&url=$url_twitter&$twitter_user";
|
44 |
?>
|
45 |
<div class='apss-twitter apss-single-icon'>
|
46 |
-
<a title="<?php _e('Share on Twitter', APSS_TEXT_DOMAIN ); ?>" target='<?php echo $apss_link_open_option; ?>' href="<?php echo $link; ?>">
|
47 |
<div class='apss-icon-block clearfix'>
|
48 |
<i class='fa fa-twitter'></i>
|
49 |
<span class='apss-social-text'><?php _e( 'Share on Twitter', APSS_TEXT_DOMAIN ); ?></span><span class='apss-share'><?php _e( 'Tweet', APSS_TEXT_DOMAIN ); ?></span>
|
@@ -61,7 +61,7 @@ foreach( $options['social_networks'] as $key=>$value ){
|
|
61 |
$link = 'https://plus.google.com/share?url='.$url;
|
62 |
?>
|
63 |
<div class='apss-google-plus apss-single-icon'>
|
64 |
-
<a title="<?php _e('Share on Google Plus', APSS_TEXT_DOMAIN ); ?>" target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
|
65 |
<div class='apss-icon-block clearfix'>
|
66 |
<i class='fa fa-google-plus'></i>
|
67 |
<span class='apss-social-text'><?php _e('Share on Google Plus', APSS_TEXT_DOMAIN ); ?></span>
|
@@ -80,7 +80,7 @@ foreach( $options['social_networks'] as $key=>$value ){
|
|
80 |
?>
|
81 |
|
82 |
<div class='apss-pinterest apss-single-icon'>
|
83 |
-
<a title="<?php _e('Share on Pinterest', APSS_TEXT_DOMAIN ); ?>" href='javascript:pinIt();'>
|
84 |
<div class='apss-icon-block clearfix'>
|
85 |
<i class='fa fa-pinterest'></i>
|
86 |
<span class='apss-social-text'><?php _e( 'Share on Pinterest', APSS_TEXT_DOMAIN ); ?></span>
|
@@ -101,7 +101,7 @@ foreach( $options['social_networks'] as $key=>$value ){
|
|
101 |
?>
|
102 |
|
103 |
<div class='apss-linkedin apss-single-icon'>
|
104 |
-
<a title="<?php _e( 'Share on LinkedIn', APSS_TEXT_DOMAIN ); ?>" target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
|
105 |
<div class='apss-icon-block clearfix'><i class='fa fa-linkedin'></i>
|
106 |
<span class='apss-social-text'><?php _e( 'Share on LinkedIn', APSS_TEXT_DOMAIN ); ?></span>
|
107 |
<span class='apss-share'><?php _e( 'Share', APSS_TEXT_DOMAIN ); ?></span>
|
@@ -119,7 +119,7 @@ foreach( $options['social_networks'] as $key=>$value ){
|
|
119 |
$link = "http://digg.com/submit?phase=2%20&url=".$url."&title=".$title;
|
120 |
?>
|
121 |
<div class='apss-digg apss-single-icon'>
|
122 |
-
<a title="<?php _e('Share on Digg', APSS_TEXT_DOMAIN ); ?>" target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
|
123 |
<div class='apss-icon-block clearfix'>
|
124 |
<i class='fa fa-digg'></i>
|
125 |
<span class='apss-social-text'><?php _e( 'Share on Digg', APSS_TEXT_DOMAIN ); ?></span>
|
@@ -141,7 +141,7 @@ foreach( $options['social_networks'] as $key=>$value ){
|
|
141 |
}
|
142 |
?>
|
143 |
<div class='apss-email apss-single-icon'>
|
144 |
-
<a class='share-email-popup' title="<?php _e('Share it on Email', APSS_TEXT_DOMAIN ); ?>" target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
|
145 |
<div class='apss-icon-block clearfix'>
|
146 |
<i class='fa fa-envelope'></i>
|
147 |
<span class='apss-social-text'><?php _e( 'Send email', APSS_TEXT_DOMAIN ); ?></span>
|
@@ -156,7 +156,7 @@ foreach( $options['social_networks'] as $key=>$value ){
|
|
156 |
case 'print':
|
157 |
?>
|
158 |
<div class='apss-print apss-single-icon'>
|
159 |
-
<a title="<?php _e( 'Print', APSS_TEXT_DOMAIN ); ?>" href='javascript:void(0);' onclick='window.print();return false;'>
|
160 |
<div class='apss-icon-block clearfix'><i class='fa fa-print'></i>
|
161 |
<span class='apss-social-text'><?php _e( 'Print', APSS_TEXT_DOMAIN ); ?></span>
|
162 |
<span class='apss-share'><?php _e( 'Print', APSS_TEXT_DOMAIN ); ?></span>
|
19 |
$link = 'https://www.facebook.com/sharer/sharer.php?u='.$url;
|
20 |
?>
|
21 |
<div class='apss-facebook apss-single-icon'>
|
22 |
+
<a rel='nofollow' title="<?php _e('Share on Facebook', APSS_TEXT_DOMAIN ); ?>" target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
|
23 |
<div class='apss-icon-block clearfix'>
|
24 |
<i class='fa fa-facebook'></i>
|
25 |
<span class='apss-social-text'><?php _e( 'Share on Facebook', APSS_TEXT_DOMAIN ); ?></span>
|
43 |
$link ="https://twitter.com/intent/tweet?text=$title&url=$url_twitter&$twitter_user";
|
44 |
?>
|
45 |
<div class='apss-twitter apss-single-icon'>
|
46 |
+
<a rel='nofollow' title="<?php _e('Share on Twitter', APSS_TEXT_DOMAIN ); ?>" target='<?php echo $apss_link_open_option; ?>' href="<?php echo $link; ?>">
|
47 |
<div class='apss-icon-block clearfix'>
|
48 |
<i class='fa fa-twitter'></i>
|
49 |
<span class='apss-social-text'><?php _e( 'Share on Twitter', APSS_TEXT_DOMAIN ); ?></span><span class='apss-share'><?php _e( 'Tweet', APSS_TEXT_DOMAIN ); ?></span>
|
61 |
$link = 'https://plus.google.com/share?url='.$url;
|
62 |
?>
|
63 |
<div class='apss-google-plus apss-single-icon'>
|
64 |
+
<a rel='nofollow' title="<?php _e('Share on Google Plus', APSS_TEXT_DOMAIN ); ?>" target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
|
65 |
<div class='apss-icon-block clearfix'>
|
66 |
<i class='fa fa-google-plus'></i>
|
67 |
<span class='apss-social-text'><?php _e('Share on Google Plus', APSS_TEXT_DOMAIN ); ?></span>
|
80 |
?>
|
81 |
|
82 |
<div class='apss-pinterest apss-single-icon'>
|
83 |
+
<a rel='nofollow' title="<?php _e('Share on Pinterest', APSS_TEXT_DOMAIN ); ?>" href='javascript:pinIt();'>
|
84 |
<div class='apss-icon-block clearfix'>
|
85 |
<i class='fa fa-pinterest'></i>
|
86 |
<span class='apss-social-text'><?php _e( 'Share on Pinterest', APSS_TEXT_DOMAIN ); ?></span>
|
101 |
?>
|
102 |
|
103 |
<div class='apss-linkedin apss-single-icon'>
|
104 |
+
<a rel='nofollow' title="<?php _e( 'Share on LinkedIn', APSS_TEXT_DOMAIN ); ?>" target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
|
105 |
<div class='apss-icon-block clearfix'><i class='fa fa-linkedin'></i>
|
106 |
<span class='apss-social-text'><?php _e( 'Share on LinkedIn', APSS_TEXT_DOMAIN ); ?></span>
|
107 |
<span class='apss-share'><?php _e( 'Share', APSS_TEXT_DOMAIN ); ?></span>
|
119 |
$link = "http://digg.com/submit?phase=2%20&url=".$url."&title=".$title;
|
120 |
?>
|
121 |
<div class='apss-digg apss-single-icon'>
|
122 |
+
<a rel='nofollow' title="<?php _e('Share on Digg', APSS_TEXT_DOMAIN ); ?>" target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
|
123 |
<div class='apss-icon-block clearfix'>
|
124 |
<i class='fa fa-digg'></i>
|
125 |
<span class='apss-social-text'><?php _e( 'Share on Digg', APSS_TEXT_DOMAIN ); ?></span>
|
141 |
}
|
142 |
?>
|
143 |
<div class='apss-email apss-single-icon'>
|
144 |
+
<a rel='nofollow' class='share-email-popup' title="<?php _e('Share it on Email', APSS_TEXT_DOMAIN ); ?>" target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
|
145 |
<div class='apss-icon-block clearfix'>
|
146 |
<i class='fa fa-envelope'></i>
|
147 |
<span class='apss-social-text'><?php _e( 'Send email', APSS_TEXT_DOMAIN ); ?></span>
|
156 |
case 'print':
|
157 |
?>
|
158 |
<div class='apss-print apss-single-icon'>
|
159 |
+
<a rel='nofollow' title="<?php _e( 'Print', APSS_TEXT_DOMAIN ); ?>" href='javascript:void(0);' onclick='window.print();return false;'>
|
160 |
<div class='apss-icon-block clearfix'><i class='fa fa-print'></i>
|
161 |
<span class='apss-social-text'><?php _e( 'Print', APSS_TEXT_DOMAIN ); ?></span>
|
162 |
<span class='apss-share'><?php _e( 'Print', APSS_TEXT_DOMAIN ); ?></span>
|
inc/frontend/shortcode.php
CHANGED
@@ -36,7 +36,7 @@ foreach( $options['social_networks'] as $key=>$value ){
|
|
36 |
$link = 'https://www.facebook.com/sharer/sharer.php?u='.$url;
|
37 |
?>
|
38 |
<div class='apss-facebook apss-single-icon'>
|
39 |
-
<a title='<?php _e('Share on Facebook', APSS_TEXT_DOMAIN ); ?>' target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
|
40 |
<div class='apss-icon-block clearfix'>
|
41 |
<i class='fa fa-facebook'></i>
|
42 |
<span class='apss-social-text'><?php _e('Share on Facebook', APSS_TEXT_DOMAIN ); ?></span>
|
@@ -60,7 +60,7 @@ foreach( $options['social_networks'] as $key=>$value ){
|
|
60 |
$link ="https://twitter.com/intent/tweet?text=$title&url=$url_twitter&$twitter_user";
|
61 |
?>
|
62 |
<div class='apss-twitter apss-single-icon'>
|
63 |
-
<a title='<?php _e('Share on Twitter', APSS_TEXT_DOMAIN ); ?>' target='<?php echo $apss_link_open_option; ?>' href="<?php echo $link; ?>">
|
64 |
<div class='apss-icon-block clearfix'>
|
65 |
<i class='fa fa-twitter'></i>
|
66 |
<span class='apss-social-text'><?php _e('Share on Twitter', APSS_TEXT_DOMAIN ); ?></span><span class='apss-share'><?php _e( 'Tweet', APSS_TEXT_DOMAIN ); ?></span>
|
@@ -78,7 +78,7 @@ foreach( $options['social_networks'] as $key=>$value ){
|
|
78 |
$link = 'https://plus.google.com/share?url='.$url;
|
79 |
?>
|
80 |
<div class='apss-google-plus apss-single-icon'>
|
81 |
-
<a title='<?php _e('Share on Google Plus', APSS_TEXT_DOMAIN ); ?>' target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
|
82 |
<div class='apss-icon-block clearfix'>
|
83 |
<i class='fa fa-google-plus'></i>
|
84 |
<span class='apss-social-text'><?php _e('Share on Google Plus', APSS_TEXT_DOMAIN ); ?> </span>
|
@@ -96,7 +96,7 @@ foreach( $options['social_networks'] as $key=>$value ){
|
|
96 |
case 'pinterest':
|
97 |
?>
|
98 |
<div class='apss-pinterest apss-single-icon'>
|
99 |
-
<a title='<?php _e('Share on Pinterest', APSS_TEXT_DOMAIN ); ?>' href='javascript:pinIt();'>
|
100 |
<div class='apss-icon-block clearfix'>
|
101 |
<i class='fa fa-pinterest'></i>
|
102 |
<span class='apss-social-text'><?php _e('Share on Pinterest', APSS_TEXT_DOMAIN ); ?></span>
|
@@ -115,7 +115,7 @@ foreach( $options['social_networks'] as $key=>$value ){
|
|
115 |
$link = "http://www.linkedin.com/shareArticle?mini=true&title=".$title."&url=".$url."&summary=".$excerpt;
|
116 |
?>
|
117 |
<div class='apss-linkedin apss-single-icon'>
|
118 |
-
<a title='<?php _e('Share on LinkedIn', APSS_TEXT_DOMAIN ); ?>' target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
|
119 |
<div class='apss-icon-block clearfix'><i class='fa fa-linkedin'></i>
|
120 |
<span class='apss-social-text'><?php _e('Share on LinkedIn', APSS_TEXT_DOMAIN ); ?></span>
|
121 |
<span class='apss-share'><?php _e( 'Share', APSS_TEXT_DOMAIN ); ?></span>
|
@@ -135,7 +135,7 @@ foreach( $options['social_networks'] as $key=>$value ){
|
|
135 |
$link = "http://digg.com/submit?phase=2%20&url=".$url."&title=".$title;
|
136 |
?>
|
137 |
<div class='apss-digg apss-single-icon'>
|
138 |
-
<a title='<?php _e('Share on Digg', APSS_TEXT_DOMAIN ); ?>' target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
|
139 |
<div class='apss-icon-block clearfix'>
|
140 |
<i class='fa fa-digg'></i>
|
141 |
<span class='apss-social-text'><?php _e('Share on Digg', APSS_TEXT_DOMAIN ); ?></span>
|
@@ -157,7 +157,7 @@ foreach( $options['social_networks'] as $key=>$value ){
|
|
157 |
}
|
158 |
?>
|
159 |
<div class='apss-email apss-single-icon'>
|
160 |
-
<a class='share-email-popup' title='<?php _e('Share it on Email', APSS_TEXT_DOMAIN ); ?>' target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
|
161 |
<div class='apss-icon-block clearfix'>
|
162 |
<i class='fa fa-envelope'></i>
|
163 |
<span class='apss-social-text'><?php _e( 'Send email', APSS_TEXT_DOMAIN ); ?></span>
|
@@ -172,7 +172,7 @@ foreach( $options['social_networks'] as $key=>$value ){
|
|
172 |
case 'print':
|
173 |
?>
|
174 |
<div class='apss-print apss-single-icon'>
|
175 |
-
<a title='<?php _e('Print', APSS_TEXT_DOMAIN); ?>' href='javascript:void(0);' onclick='window.print();return false;'>
|
176 |
<div class='apss-icon-block clearfix'><i class='fa fa-print'></i>
|
177 |
<span class='apss-social-text'><?php _e( 'Print', APSS_TEXT_DOMAIN ); ?></span>
|
178 |
<span class='apss-share'><?php _e( 'Print', APSS_TEXT_DOMAIN ); ?></span>
|
36 |
$link = 'https://www.facebook.com/sharer/sharer.php?u='.$url;
|
37 |
?>
|
38 |
<div class='apss-facebook apss-single-icon'>
|
39 |
+
<a rel='nofollow' title='<?php _e('Share on Facebook', APSS_TEXT_DOMAIN ); ?>' target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
|
40 |
<div class='apss-icon-block clearfix'>
|
41 |
<i class='fa fa-facebook'></i>
|
42 |
<span class='apss-social-text'><?php _e('Share on Facebook', APSS_TEXT_DOMAIN ); ?></span>
|
60 |
$link ="https://twitter.com/intent/tweet?text=$title&url=$url_twitter&$twitter_user";
|
61 |
?>
|
62 |
<div class='apss-twitter apss-single-icon'>
|
63 |
+
<a rel='nofollow' title='<?php _e('Share on Twitter', APSS_TEXT_DOMAIN ); ?>' target='<?php echo $apss_link_open_option; ?>' href="<?php echo $link; ?>">
|
64 |
<div class='apss-icon-block clearfix'>
|
65 |
<i class='fa fa-twitter'></i>
|
66 |
<span class='apss-social-text'><?php _e('Share on Twitter', APSS_TEXT_DOMAIN ); ?></span><span class='apss-share'><?php _e( 'Tweet', APSS_TEXT_DOMAIN ); ?></span>
|
78 |
$link = 'https://plus.google.com/share?url='.$url;
|
79 |
?>
|
80 |
<div class='apss-google-plus apss-single-icon'>
|
81 |
+
<a rel='nofollow' title='<?php _e('Share on Google Plus', APSS_TEXT_DOMAIN ); ?>' target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
|
82 |
<div class='apss-icon-block clearfix'>
|
83 |
<i class='fa fa-google-plus'></i>
|
84 |
<span class='apss-social-text'><?php _e('Share on Google Plus', APSS_TEXT_DOMAIN ); ?> </span>
|
96 |
case 'pinterest':
|
97 |
?>
|
98 |
<div class='apss-pinterest apss-single-icon'>
|
99 |
+
<a rel='nofollow' title='<?php _e('Share on Pinterest', APSS_TEXT_DOMAIN ); ?>' href='javascript:pinIt();'>
|
100 |
<div class='apss-icon-block clearfix'>
|
101 |
<i class='fa fa-pinterest'></i>
|
102 |
<span class='apss-social-text'><?php _e('Share on Pinterest', APSS_TEXT_DOMAIN ); ?></span>
|
115 |
$link = "http://www.linkedin.com/shareArticle?mini=true&title=".$title."&url=".$url."&summary=".$excerpt;
|
116 |
?>
|
117 |
<div class='apss-linkedin apss-single-icon'>
|
118 |
+
<a rel='nofollow' title='<?php _e('Share on LinkedIn', APSS_TEXT_DOMAIN ); ?>' target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
|
119 |
<div class='apss-icon-block clearfix'><i class='fa fa-linkedin'></i>
|
120 |
<span class='apss-social-text'><?php _e('Share on LinkedIn', APSS_TEXT_DOMAIN ); ?></span>
|
121 |
<span class='apss-share'><?php _e( 'Share', APSS_TEXT_DOMAIN ); ?></span>
|
135 |
$link = "http://digg.com/submit?phase=2%20&url=".$url."&title=".$title;
|
136 |
?>
|
137 |
<div class='apss-digg apss-single-icon'>
|
138 |
+
<a rel='nofollow' title='<?php _e('Share on Digg', APSS_TEXT_DOMAIN ); ?>' target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
|
139 |
<div class='apss-icon-block clearfix'>
|
140 |
<i class='fa fa-digg'></i>
|
141 |
<span class='apss-social-text'><?php _e('Share on Digg', APSS_TEXT_DOMAIN ); ?></span>
|
157 |
}
|
158 |
?>
|
159 |
<div class='apss-email apss-single-icon'>
|
160 |
+
<a rel='nofollow' class='share-email-popup' title='<?php _e('Share it on Email', APSS_TEXT_DOMAIN ); ?>' target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
|
161 |
<div class='apss-icon-block clearfix'>
|
162 |
<i class='fa fa-envelope'></i>
|
163 |
<span class='apss-social-text'><?php _e( 'Send email', APSS_TEXT_DOMAIN ); ?></span>
|
172 |
case 'print':
|
173 |
?>
|
174 |
<div class='apss-print apss-single-icon'>
|
175 |
+
<a rel='nofollow' title='<?php _e('Print', APSS_TEXT_DOMAIN); ?>' href='javascript:void(0);' onclick='window.print();return false;'>
|
176 |
<div class='apss-icon-block clearfix'><i class='fa fa-print'></i>
|
177 |
<span class='apss-social-text'><?php _e( 'Print', APSS_TEXT_DOMAIN ); ?></span>
|
178 |
<span class='apss-share'><?php _e( 'Print', APSS_TEXT_DOMAIN ); ?></span>
|
languages/accesspress-social-share.pot
ADDED
@@ -0,0 +1,311 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: AccessPress Social Share\n"
|
4 |
+
"POT-Creation-Date: 2015-07-26 15:09+0545\n"
|
5 |
+
"PO-Revision-Date: 2015-07-26 15:10+0545\n"
|
6 |
+
"Last-Translator: \n"
|
7 |
+
"Language-Team: Accesspress Themes <support@accesspressthemes.com>\n"
|
8 |
+
"Language: english\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.5.7\n"
|
13 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
14 |
+
"X-Poedit-Basepath: .\n"
|
15 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
+
"X-Poedit-SearchPath-0: .\n"
|
17 |
+
"X-Poedit-SearchPath-1: ..\n"
|
18 |
+
|
19 |
+
#: ../accesspress-social-share.php:193
|
20 |
+
msgid "Social Icons Settings"
|
21 |
+
msgstr ""
|
22 |
+
|
23 |
+
#: ../accesspress-social-share.php:214
|
24 |
+
msgid "Settings restored Successfully."
|
25 |
+
msgstr ""
|
26 |
+
|
27 |
+
#: ../accesspress-social-share.php:237
|
28 |
+
msgid "Cache cleared Successfully"
|
29 |
+
msgstr ""
|
30 |
+
|
31 |
+
#: ../inc/backend/about-apss.php:2
|
32 |
+
msgid "About Us"
|
33 |
+
msgstr ""
|
34 |
+
|
35 |
+
#: ../inc/backend/main-page.php:8
|
36 |
+
msgid "Follow us for new updates"
|
37 |
+
msgstr ""
|
38 |
+
|
39 |
+
#: ../inc/backend/main-page.php:25
|
40 |
+
msgid "AccessPress Social Share"
|
41 |
+
msgstr ""
|
42 |
+
|
43 |
+
#: ../inc/backend/main-page.php:43
|
44 |
+
msgid "Social Networks"
|
45 |
+
msgstr ""
|
46 |
+
|
47 |
+
#: ../inc/backend/main-page.php:44
|
48 |
+
msgid "Share Options"
|
49 |
+
msgstr ""
|
50 |
+
|
51 |
+
#: ../inc/backend/main-page.php:45
|
52 |
+
msgid "Display Settings"
|
53 |
+
msgstr ""
|
54 |
+
|
55 |
+
#: ../inc/backend/main-page.php:46
|
56 |
+
msgid "Miscellaneous"
|
57 |
+
msgstr ""
|
58 |
+
|
59 |
+
#: ../inc/backend/main-page.php:47
|
60 |
+
msgid "How To Use"
|
61 |
+
msgstr ""
|
62 |
+
|
63 |
+
#: ../inc/backend/main-page.php:48
|
64 |
+
msgid "About"
|
65 |
+
msgstr ""
|
66 |
+
|
67 |
+
#: ../inc/backend/main-page.php:52
|
68 |
+
msgid "Social Media chooser:"
|
69 |
+
msgstr ""
|
70 |
+
|
71 |
+
#: ../inc/backend/main-page.php:53
|
72 |
+
msgid ""
|
73 |
+
"Please choose the social media you want to display. Also you can order these "
|
74 |
+
"social media's by drag and drop:"
|
75 |
+
msgstr ""
|
76 |
+
|
77 |
+
#: ../inc/backend/main-page.php:79
|
78 |
+
msgid "Share options:"
|
79 |
+
msgstr ""
|
80 |
+
|
81 |
+
#: ../inc/backend/main-page.php:80
|
82 |
+
msgid "Please choose the options where you want to display social share icons:"
|
83 |
+
msgstr ""
|
84 |
+
|
85 |
+
#: ../inc/backend/main-page.php:81
|
86 |
+
msgid "Posts"
|
87 |
+
msgstr ""
|
88 |
+
|
89 |
+
#: ../inc/backend/main-page.php:82
|
90 |
+
msgid "Pages"
|
91 |
+
msgstr ""
|
92 |
+
|
93 |
+
#: ../inc/backend/main-page.php:84
|
94 |
+
msgid "Front Page"
|
95 |
+
msgstr ""
|
96 |
+
|
97 |
+
#: ../inc/backend/main-page.php:85
|
98 |
+
msgid "Archives"
|
99 |
+
msgstr ""
|
100 |
+
|
101 |
+
#: ../inc/backend/main-page.php:87
|
102 |
+
msgid "Attachment pages"
|
103 |
+
msgstr ""
|
104 |
+
|
105 |
+
#: ../inc/backend/main-page.php:89
|
106 |
+
msgid "Categories"
|
107 |
+
msgstr ""
|
108 |
+
|
109 |
+
#: ../inc/backend/main-page.php:90
|
110 |
+
msgid "Other (search results, etc)"
|
111 |
+
msgstr ""
|
112 |
+
|
113 |
+
#: ../inc/backend/main-page.php:96
|
114 |
+
msgid "Display position:"
|
115 |
+
msgstr ""
|
116 |
+
|
117 |
+
#: ../inc/backend/main-page.php:97
|
118 |
+
msgid "Please choose the option where you want to display the social share:"
|
119 |
+
msgstr ""
|
120 |
+
|
121 |
+
#: ../inc/backend/main-page.php:98
|
122 |
+
msgid "Below content"
|
123 |
+
msgstr ""
|
124 |
+
|
125 |
+
#: ../inc/backend/main-page.php:99
|
126 |
+
msgid "Above content"
|
127 |
+
msgstr ""
|
128 |
+
|
129 |
+
#: ../inc/backend/main-page.php:100
|
130 |
+
msgid "Both(Below content and Above content)"
|
131 |
+
msgstr ""
|
132 |
+
|
133 |
+
#: ../inc/backend/main-page.php:103
|
134 |
+
msgid "Social icons sets: "
|
135 |
+
msgstr ""
|
136 |
+
|
137 |
+
#: ../inc/backend/main-page.php:104
|
138 |
+
msgid "Please choose any one out of available icon themes:"
|
139 |
+
msgstr ""
|
140 |
+
|
141 |
+
#: ../inc/backend/main-page.php:105
|
142 |
+
msgid "Theme 1"
|
143 |
+
msgstr ""
|
144 |
+
|
145 |
+
#: ../inc/backend/main-page.php:106
|
146 |
+
msgid "Theme 2"
|
147 |
+
msgstr ""
|
148 |
+
|
149 |
+
#: ../inc/backend/main-page.php:107
|
150 |
+
msgid "Theme 3"
|
151 |
+
msgstr ""
|
152 |
+
|
153 |
+
#: ../inc/backend/main-page.php:108
|
154 |
+
msgid "Theme 4"
|
155 |
+
msgstr ""
|
156 |
+
|
157 |
+
#: ../inc/backend/main-page.php:109
|
158 |
+
msgid "Theme 5"
|
159 |
+
msgstr ""
|
160 |
+
|
161 |
+
#: ../inc/backend/main-page.php:114
|
162 |
+
msgid "Miscellaneous settings: "
|
163 |
+
msgstr ""
|
164 |
+
|
165 |
+
#: ../inc/backend/main-page.php:115
|
166 |
+
msgid "Please setup these additional settings:"
|
167 |
+
msgstr ""
|
168 |
+
|
169 |
+
#: ../inc/backend/main-page.php:118
|
170 |
+
msgid "Share text:"
|
171 |
+
msgstr ""
|
172 |
+
|
173 |
+
#: ../inc/backend/main-page.php:120
|
174 |
+
msgid ""
|
175 |
+
"Please enter the share text to make it appear above social share icons. "
|
176 |
+
"Leave blank if you don't want to use share text."
|
177 |
+
msgstr ""
|
178 |
+
|
179 |
+
#: ../inc/backend/main-page.php:125
|
180 |
+
msgid "Twitter username:"
|
181 |
+
msgstr ""
|
182 |
+
|
183 |
+
#: ../inc/backend/main-page.php:129
|
184 |
+
msgid "Social share counter enable?"
|
185 |
+
msgstr ""
|
186 |
+
|
187 |
+
#: ../inc/backend/main-page.php:130
|
188 |
+
msgid "No"
|
189 |
+
msgstr ""
|
190 |
+
|
191 |
+
#: ../inc/backend/main-page.php:131
|
192 |
+
msgid "Yes"
|
193 |
+
msgstr ""
|
194 |
+
|
195 |
+
#: ../inc/backend/main-page.php:135
|
196 |
+
msgid "Social share link options:"
|
197 |
+
msgstr ""
|
198 |
+
|
199 |
+
#: ../inc/backend/main-page.php:136
|
200 |
+
msgid "Open in same window"
|
201 |
+
msgstr ""
|
202 |
+
|
203 |
+
#: ../inc/backend/main-page.php:137
|
204 |
+
msgid "Open in new window/Tab"
|
205 |
+
msgstr ""
|
206 |
+
|
207 |
+
#: ../inc/backend/main-page.php:141
|
208 |
+
msgid "Cache Settings: "
|
209 |
+
msgstr ""
|
210 |
+
|
211 |
+
#: ../inc/backend/main-page.php:142
|
212 |
+
msgid "Cache Period:"
|
213 |
+
msgstr ""
|
214 |
+
|
215 |
+
#: ../inc/backend/main-page.php:146
|
216 |
+
msgid ""
|
217 |
+
"Please enter the time in hours in which the social share counter should be "
|
218 |
+
"updated from social networks. Default is 24 hours."
|
219 |
+
msgstr ""
|
220 |
+
|
221 |
+
#: ../inc/backend/main-page.php:151
|
222 |
+
msgid "Email Settings:"
|
223 |
+
msgstr ""
|
224 |
+
|
225 |
+
#: ../inc/backend/main-page.php:153
|
226 |
+
msgid "Email subject:"
|
227 |
+
msgstr ""
|
228 |
+
|
229 |
+
#: ../inc/backend/main-page.php:157
|
230 |
+
msgid "Email body:"
|
231 |
+
msgstr ""
|
232 |
+
|
233 |
+
#: ../inc/backend/main-page.php:171
|
234 |
+
msgid "Save settings"
|
235 |
+
msgstr ""
|
236 |
+
|
237 |
+
#: ../inc/backend/main-page.php:180
|
238 |
+
msgid "Are you sure you want to restore default settings?"
|
239 |
+
msgstr ""
|
240 |
+
|
241 |
+
#: ../inc/backend/main-page.php:181
|
242 |
+
msgid "Are you sure you want to clear cache share counter?"
|
243 |
+
msgstr ""
|
244 |
+
|
245 |
+
#: ../inc/backend/save-settings.php:37
|
246 |
+
msgid "Settings Saved Successfully."
|
247 |
+
msgstr ""
|
248 |
+
|
249 |
+
#: ../inc/frontend/content-filter.php:22 ../inc/frontend/content-filter.php:25
|
250 |
+
#: ../inc/frontend/shortcode.php:39 ../inc/frontend/shortcode.php:42
|
251 |
+
msgid "Share on Facebook"
|
252 |
+
msgstr ""
|
253 |
+
|
254 |
+
#: ../inc/frontend/content-filter.php:26 ../inc/frontend/content-filter.php:68
|
255 |
+
#: ../inc/frontend/content-filter.php:87
|
256 |
+
#: ../inc/frontend/content-filter.php:107
|
257 |
+
#: ../inc/frontend/content-filter.php:126 ../inc/frontend/shortcode.php:43
|
258 |
+
#: ../inc/frontend/shortcode.php:85 ../inc/frontend/shortcode.php:103
|
259 |
+
#: ../inc/frontend/shortcode.php:121 ../inc/frontend/shortcode.php:142
|
260 |
+
msgid "Share"
|
261 |
+
msgstr ""
|
262 |
+
|
263 |
+
#: ../inc/frontend/content-filter.php:46 ../inc/frontend/content-filter.php:49
|
264 |
+
#: ../inc/frontend/shortcode.php:63 ../inc/frontend/shortcode.php:66
|
265 |
+
msgid "Share on Twitter"
|
266 |
+
msgstr ""
|
267 |
+
|
268 |
+
#: ../inc/frontend/content-filter.php:49 ../inc/frontend/shortcode.php:66
|
269 |
+
msgid "Tweet"
|
270 |
+
msgstr ""
|
271 |
+
|
272 |
+
#: ../inc/frontend/content-filter.php:64 ../inc/frontend/content-filter.php:67
|
273 |
+
#: ../inc/frontend/shortcode.php:81 ../inc/frontend/shortcode.php:84
|
274 |
+
msgid "Share on Google Plus"
|
275 |
+
msgstr ""
|
276 |
+
|
277 |
+
#: ../inc/frontend/content-filter.php:83 ../inc/frontend/content-filter.php:86
|
278 |
+
#: ../inc/frontend/shortcode.php:99 ../inc/frontend/shortcode.php:102
|
279 |
+
msgid "Share on Pinterest"
|
280 |
+
msgstr ""
|
281 |
+
|
282 |
+
#: ../inc/frontend/content-filter.php:104
|
283 |
+
#: ../inc/frontend/content-filter.php:106 ../inc/frontend/shortcode.php:118
|
284 |
+
#: ../inc/frontend/shortcode.php:120
|
285 |
+
msgid "Share on LinkedIn"
|
286 |
+
msgstr ""
|
287 |
+
|
288 |
+
#: ../inc/frontend/content-filter.php:122
|
289 |
+
#: ../inc/frontend/content-filter.php:125 ../inc/frontend/shortcode.php:138
|
290 |
+
#: ../inc/frontend/shortcode.php:141
|
291 |
+
msgid "Share on Digg"
|
292 |
+
msgstr ""
|
293 |
+
|
294 |
+
#: ../inc/frontend/content-filter.php:144 ../inc/frontend/shortcode.php:160
|
295 |
+
msgid "Share it on Email"
|
296 |
+
msgstr ""
|
297 |
+
|
298 |
+
#: ../inc/frontend/content-filter.php:147 ../inc/frontend/shortcode.php:163
|
299 |
+
msgid "Send email"
|
300 |
+
msgstr ""
|
301 |
+
|
302 |
+
#: ../inc/frontend/content-filter.php:148 ../inc/frontend/shortcode.php:164
|
303 |
+
msgid "Mail"
|
304 |
+
msgstr ""
|
305 |
+
|
306 |
+
#: ../inc/frontend/content-filter.php:159
|
307 |
+
#: ../inc/frontend/content-filter.php:161
|
308 |
+
#: ../inc/frontend/content-filter.php:162 ../inc/frontend/shortcode.php:175
|
309 |
+
#: ../inc/frontend/shortcode.php:177 ../inc/frontend/shortcode.php:178
|
310 |
+
msgid "Print"
|
311 |
+
msgstr ""
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: social share counter, social share, social media share, social network sha
|
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.2
|
7 |
-
Stable tag: 2.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -131,6 +131,9 @@ Yes. You can use the AccessPress social share by using shortcode anywhere you wa
|
|
131 |
6. Backend Miscellaneous Settings Section
|
132 |
|
133 |
== Changelog ==
|
|
|
|
|
|
|
134 |
= 2.0.5 =
|
135 |
* Removal of unnecessary code(condition checking) in saving settings.
|
136 |
* Functions - frontend_counter, get_plusones code modification for security enhancement.
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.2
|
7 |
+
Stable tag: 2.0.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
131 |
6. Backend Miscellaneous Settings Section
|
132 |
|
133 |
== Changelog ==
|
134 |
+
= 2.0.6 =
|
135 |
+
* Added the link attribute rel='nofollow' to social share links.
|
136 |
+
|
137 |
= 2.0.5 =
|
138 |
* Removal of unnecessary code(condition checking) in saving settings.
|
139 |
* Functions - frontend_counter, get_plusones code modification for security enhancement.
|