Version Description
- Minor Bug Fix
Download this release
Release Info
Developer | cyberlord92 |
Plugin | Social Login |
Version | 5.1.8 |
Comparing to | |
See all releases |
Code changes from version 5.1.7 to 5.1.8
- class-mo-openid-social-share.php +102 -102
- class-mo-openid-sso-shortcode-buttons.php +102 -102
- miniorange_openid_sso_settings.php +1 -1
- readme.txt +7 -1
class-mo-openid-social-share.php
CHANGED
@@ -67,109 +67,109 @@ $url = $http . $_SERVER["HTTP_HOST"] . $_SERVER['REQUEST_URI'];
|
|
67 |
<?php
|
68 |
if($custom_theme == 'custom'){
|
69 |
if( get_option('mo_openid_facebook_share_enable') ) {
|
70 |
-
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url
|
71 |
?>
|
72 |
-
<a title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-facebook" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
73 |
<?php
|
74 |
}
|
75 |
|
76 |
if( get_option('mo_openid_twitter_share_enable') ) {
|
77 |
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
78 |
?>
|
79 |
-
<a title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-twitter" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
80 |
<?php
|
81 |
}
|
82 |
|
83 |
if( get_option('mo_openid_google_share_enable') ) {
|
84 |
$link = 'https://plus.google.com/share?url='.$url;
|
85 |
?>
|
86 |
-
<a title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-google-plus" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;"></i></a>
|
87 |
<?php
|
88 |
}
|
89 |
|
90 |
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
91 |
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
92 |
?>
|
93 |
-
<a title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-vk" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
94 |
<?php
|
95 |
}
|
96 |
|
97 |
if( get_option('mo_openid_tumblr_share_enable') ) {
|
98 |
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title.'&description='.$excerpt;
|
99 |
?>
|
100 |
-
<a title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-tumblr" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
101 |
<?php
|
102 |
}
|
103 |
|
104 |
if( get_option('mo_openid_stumble_share_enable') ) {
|
105 |
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
106 |
?>
|
107 |
-
<a title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-stumbleupon" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
108 |
<?php
|
109 |
}
|
110 |
|
111 |
if( get_option('mo_openid_linkedin_share_enable') ) {
|
112 |
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
113 |
?>
|
114 |
-
<a title="LinkekIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-linkedin" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
115 |
<?php
|
116 |
}
|
117 |
|
118 |
if( get_option('mo_openid_reddit_share_enable') ) {
|
119 |
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
120 |
?>
|
121 |
-
<a title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-reddit" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
122 |
<?php
|
123 |
}
|
124 |
|
125 |
if( get_option('mo_openid_pinterest_share_enable') ) {
|
126 |
?>
|
127 |
-
<a title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-pinterest" style="padding-top:3px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-10); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
128 |
<?php
|
129 |
}
|
130 |
|
131 |
if( get_option('mo_openid_pocket_share_enable') ) {
|
132 |
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
133 |
?>
|
134 |
-
<a title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-get-pocket" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
135 |
<?php
|
136 |
}
|
137 |
|
138 |
if( get_option('mo_openid_digg_share_enable') ) {
|
139 |
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
140 |
?>
|
141 |
-
<a title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-digg" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
142 |
<?php
|
143 |
}
|
144 |
|
145 |
if( get_option('mo_openid_delicious_share_enable') ) {
|
146 |
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
147 |
?>
|
148 |
-
<a title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-delicious" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
149 |
<?php
|
150 |
}
|
151 |
|
152 |
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
153 |
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
154 |
?>
|
155 |
-
<a title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-odnoklassniki" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
156 |
<?php
|
157 |
}
|
158 |
if( get_option('mo_openid_mail_share_enable') ) {
|
159 |
?>
|
160 |
-
<a title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
161 |
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-envelope" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
162 |
<?php
|
163 |
}
|
164 |
if( get_option('mo_openid_print_share_enable') ) {
|
165 |
?>
|
166 |
-
<a title="Print this page" onclick="javascript:window.print()"class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
167 |
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-print" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
168 |
<?php
|
169 |
}
|
170 |
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
171 |
?>
|
172 |
-
<a id="mobileshow" title="Whatsapp" href='whatsapp://send?text=<?php echo $url?>' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
173 |
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-whatsapp" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
174 |
<?php
|
175 |
}
|
@@ -177,108 +177,108 @@ $url = $http . $_SERVER["HTTP_HOST"] . $_SERVER['REQUEST_URI'];
|
|
177 |
|
178 |
else if($custom_theme == 'customFont'){
|
179 |
if( get_option('mo_openid_facebook_share_enable') ) {
|
180 |
-
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url
|
181 |
?>
|
182 |
-
<a title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-facebook" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
183 |
<?php
|
184 |
}
|
185 |
|
186 |
if( get_option('mo_openid_twitter_share_enable') ) {
|
187 |
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
188 |
?>
|
189 |
-
<a title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-twitter" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
190 |
<?php
|
191 |
}
|
192 |
|
193 |
if( get_option('mo_openid_google_share_enable') ) {
|
194 |
$link = 'https://plus.google.com/share?url='.$url;
|
195 |
?>
|
196 |
-
<a title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-google-plus" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
197 |
<?php
|
198 |
}
|
199 |
|
200 |
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
201 |
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
202 |
?>
|
203 |
-
<a title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-vk" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
204 |
<?php
|
205 |
}
|
206 |
|
207 |
if( get_option('mo_openid_tumblr_share_enable') ) {
|
208 |
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
209 |
?>
|
210 |
-
<a title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-tumblr" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
211 |
<?php
|
212 |
}
|
213 |
|
214 |
if( get_option('mo_openid_stumble_share_enable') ) {
|
215 |
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
216 |
?>
|
217 |
-
<a title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-stumbleupon" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
218 |
<?php
|
219 |
}
|
220 |
|
221 |
if( get_option('mo_openid_linkedin_share_enable') ) {
|
222 |
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
223 |
?>
|
224 |
-
<a title="LinkedIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-linkedin" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
225 |
<?php
|
226 |
}
|
227 |
|
228 |
if( get_option('mo_openid_reddit_share_enable') ) {
|
229 |
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
230 |
?>
|
231 |
-
<a title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-reddit" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
232 |
<?php
|
233 |
}
|
234 |
|
235 |
if( get_option('mo_openid_pinterest_share_enable') ) {
|
236 |
?>
|
237 |
-
<a title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-pinterest" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
238 |
<?php
|
239 |
}
|
240 |
|
241 |
if( get_option('mo_openid_pocket_share_enable') ) {
|
242 |
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
243 |
?>
|
244 |
-
<a title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-get-pocket" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
245 |
<?php
|
246 |
}
|
247 |
|
248 |
if( get_option('mo_openid_digg_share_enable') ) {
|
249 |
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
250 |
?>
|
251 |
-
<a title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-digg" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
252 |
<?php
|
253 |
}
|
254 |
|
255 |
if( get_option('mo_openid_delicious_share_enable') ) {
|
256 |
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
257 |
?>
|
258 |
-
<a title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-delicious" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
259 |
<?php
|
260 |
}
|
261 |
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
262 |
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
263 |
?>
|
264 |
-
<a title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-odnoklassniki" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
265 |
<?php
|
266 |
}
|
267 |
if( get_option('mo_openid_mail_share_enable') ) {
|
268 |
?>
|
269 |
-
<a title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
270 |
<i class=" <?php echo $selected_theme; ?> fa fa-envelope" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
271 |
<?php
|
272 |
}
|
273 |
if( get_option('mo_openid_print_share_enable') ) {
|
274 |
?>
|
275 |
-
<a title="Print this page" onclick="javascript:window.print()" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
276 |
<i class=" <?php echo $selected_theme; ?> fa fa-print" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
277 |
<?php
|
278 |
}
|
279 |
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
280 |
?>
|
281 |
-
<a id="mobileshow" title="Whatsapp" href='whatsapp://send?text=<?php echo $url?>' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
282 |
<i class=" <?php echo $selected_theme; ?> fa fa-whatsapp" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
283 |
<?php
|
284 |
}
|
@@ -288,106 +288,106 @@ $url = $http . $_SERVER["HTTP_HOST"] . $_SERVER['REQUEST_URI'];
|
|
288 |
|
289 |
|
290 |
if( get_option('mo_openid_facebook_share_enable') ) {
|
291 |
-
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url
|
292 |
?>
|
293 |
-
<a title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Facebook' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/facebook.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
294 |
<?php
|
295 |
}
|
296 |
|
297 |
if( get_option('mo_openid_twitter_share_enable') ) {
|
298 |
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
299 |
?>
|
300 |
-
<a title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Twitter' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/twitter.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
301 |
<?php
|
302 |
}
|
303 |
|
304 |
if( get_option('mo_openid_google_share_enable') ) {
|
305 |
$link = 'https://plus.google.com/share?url='.$url;
|
306 |
?>
|
307 |
-
<a title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Google' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color: <?php echo $selected_theme; ?>' src="<?php echo plugins_url( 'includes/images/icons/google.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
308 |
<?php
|
309 |
}
|
310 |
|
311 |
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
312 |
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
313 |
?>
|
314 |
-
<a title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Vkontakte' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color: <?php echo $selected_theme; ?>' src="<?php echo plugins_url( 'includes/images/icons/vk.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
315 |
<?php
|
316 |
}
|
317 |
|
318 |
if( get_option('mo_openid_tumblr_share_enable') ) {
|
319 |
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
320 |
?>
|
321 |
-
<a title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Tumblr' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/tumblr.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
322 |
<?php
|
323 |
}
|
324 |
|
325 |
if( get_option('mo_openid_stumble_share_enable') ) {
|
326 |
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
327 |
?>
|
328 |
-
<a title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='StumbleUpon' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/stumble.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
329 |
<?php
|
330 |
}
|
331 |
|
332 |
if( get_option('mo_openid_linkedin_share_enable') ) {
|
333 |
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
334 |
?>
|
335 |
-
<a title="LinkedIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='LinkedIn' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/linkedin.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
336 |
<?php
|
337 |
}
|
338 |
|
339 |
if( get_option('mo_openid_reddit_share_enable') ) {
|
340 |
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
341 |
?>
|
342 |
-
<a title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Reddit' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/reddit.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
343 |
<?php
|
344 |
}
|
345 |
if( get_option('mo_openid_pinterest_share_enable') ) {
|
346 |
?>
|
347 |
-
<a title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Pinterest' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/pininterest.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
348 |
<?php
|
349 |
}
|
350 |
if( get_option('mo_openid_pocket_share_enable') ) {
|
351 |
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
352 |
?>
|
353 |
-
<a title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Pocket' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/pocket.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
354 |
<?php
|
355 |
}
|
356 |
if( get_option('mo_openid_digg_share_enable') ) {
|
357 |
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
358 |
?>
|
359 |
-
<a title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Digg' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/digg.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
360 |
<?php
|
361 |
}
|
362 |
if( get_option('mo_openid_delicious_share_enable') ) {
|
363 |
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
364 |
?>
|
365 |
-
<a title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Delicious' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/delicious.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
366 |
<?php
|
367 |
}
|
368 |
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
369 |
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
370 |
?>
|
371 |
-
<a title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Odnoklassniki' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/odnoklassniki.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
372 |
<?php
|
373 |
}
|
374 |
if( get_option('mo_openid_mail_share_enable') ) {
|
375 |
?>
|
376 |
-
<a title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
377 |
<img alt='Email' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/mail.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>">
|
378 |
</a>
|
379 |
<?php
|
380 |
}
|
381 |
if( get_option('mo_openid_print_share_enable') ) {
|
382 |
?>
|
383 |
-
<a title="Print this page" onclick="javascript:window.print()" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
384 |
<img alt='Print' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/print.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>">
|
385 |
</a>
|
386 |
<?php
|
387 |
}
|
388 |
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
389 |
?>
|
390 |
-
<a id="mobileshow" title="Whatsapp" href='whatsapp://send?text=<?php echo $url?>' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
391 |
<img alt='Whatsapp' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/whatsapp.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" data-action="share/whatsapp/share"></a>
|
392 |
<?php
|
393 |
}
|
@@ -401,328 +401,328 @@ $url = $http . $_SERVER["HTTP_HOST"] . $_SERVER['REQUEST_URI'];
|
|
401 |
<?php
|
402 |
if($custom_theme == 'custom'){
|
403 |
if( get_option('mo_openid_facebook_share_enable') ) {
|
404 |
-
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url
|
405 |
?>
|
406 |
-
<a title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-bottom:<?php echo $space_icons?>px !important;"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-facebook" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
407 |
<?php
|
408 |
}
|
409 |
|
410 |
if( get_option('mo_openid_twitter_share_enable') ) {
|
411 |
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
412 |
?>
|
413 |
-
<a title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-twitter" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
414 |
<?php
|
415 |
}
|
416 |
|
417 |
if( get_option('mo_openid_google_share_enable') ) {
|
418 |
$link = 'https://plus.google.com/share?url='.$url;
|
419 |
?>
|
420 |
-
<a title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-bottom:<?php echo $space_icons?>px !important;"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-google-plus" style="margin-bottom:<?php echo $space_icons-4?>px!important; padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
421 |
<?php
|
422 |
}
|
423 |
|
424 |
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
425 |
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
426 |
?>
|
427 |
-
<a title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-bottom:<?php echo $space_icons?>px !important;"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-vk" style="margin-bottom:<?php echo $space_icons-4?>px!important; padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
428 |
<?php
|
429 |
}
|
430 |
|
431 |
if( get_option('mo_openid_tumblr_share_enable') ) {
|
432 |
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
433 |
?>
|
434 |
-
<a title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-tumblr" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
435 |
<?php
|
436 |
}
|
437 |
|
438 |
if( get_option('mo_openid_stumble_share_enable') ) {
|
439 |
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
440 |
?>
|
441 |
-
<a title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-stumbleupon" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
442 |
<?php
|
443 |
}
|
444 |
|
445 |
if( get_option('mo_openid_linkedin_share_enable') ) {
|
446 |
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
447 |
?>
|
448 |
-
<a title="LinkedIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-linkedin" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
449 |
<?php
|
450 |
}
|
451 |
|
452 |
if( get_option('mo_openid_reddit_share_enable') ) {
|
453 |
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
454 |
?>
|
455 |
-
<a title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-reddit" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
456 |
<?php
|
457 |
}
|
458 |
|
459 |
if( get_option('mo_openid_pinterest_share_enable') ) {
|
460 |
?>
|
461 |
-
<a title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-pinterest" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:3px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-10); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
462 |
<?php
|
463 |
}
|
464 |
|
465 |
if( get_option('mo_openid_pocket_share_enable') ) {
|
466 |
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
467 |
?>
|
468 |
-
<a title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-get-pocket" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
469 |
<?php
|
470 |
}
|
471 |
|
472 |
if( get_option('mo_openid_digg_share_enable') ) {
|
473 |
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
474 |
?>
|
475 |
-
<a title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-digg" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
476 |
<?php
|
477 |
}
|
478 |
|
479 |
if( get_option('mo_openid_delicious_share_enable') ) {
|
480 |
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
481 |
?>
|
482 |
-
<a title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-delicious" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
483 |
<?php
|
484 |
}
|
485 |
|
486 |
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
487 |
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
488 |
?>
|
489 |
-
<a title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-odnoklassniki" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
490 |
<?php
|
491 |
}
|
492 |
if( get_option('mo_openid_mail_share_enable') ) {
|
493 |
?>
|
494 |
-
<a title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link">
|
495 |
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-envelope" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
496 |
<?php
|
497 |
}
|
498 |
if( get_option('mo_openid_print_share_enable') ) {
|
499 |
?>
|
500 |
-
<a title="Print this page" onclick="javascript:window.print()"class="mo-openid-share-link">
|
501 |
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-print" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
502 |
<?php
|
503 |
}
|
504 |
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
505 |
?>
|
506 |
-
<a id="mobileshow" title="Whatsapp" href='whatsapp://send?text=<?php echo $url?>' class="mo-openid-share-link">
|
507 |
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-whatsapp" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
508 |
<?php
|
509 |
}
|
510 |
}
|
511 |
else if($custom_theme == 'customFont'){
|
512 |
if( get_option('mo_openid_facebook_share_enable') ) {
|
513 |
-
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url
|
514 |
?>
|
515 |
-
<a title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link"><i class=" <?php echo $selected_theme; ?> fa fa-facebook" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top : 4px !important;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
516 |
<?php
|
517 |
}
|
518 |
|
519 |
if( get_option('mo_openid_twitter_share_enable') ) {
|
520 |
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
521 |
?>
|
522 |
-
<a title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-twitter" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
523 |
<?php
|
524 |
}
|
525 |
|
526 |
if( get_option('mo_openid_google_share_enable') ) {
|
527 |
$link = 'https://plus.google.com/share?url='.$url;
|
528 |
?>
|
529 |
-
<a title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link"><i class=" <?php echo $selected_theme; ?> fa fa-google-plus" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
530 |
<?php
|
531 |
}
|
532 |
|
533 |
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
534 |
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
535 |
?>
|
536 |
-
<a title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link"><i class=" <?php echo $selected_theme; ?> fa fa-vk" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
537 |
<?php
|
538 |
}
|
539 |
|
540 |
if( get_option('mo_openid_tumblr_share_enable') ) {
|
541 |
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
542 |
?>
|
543 |
-
<a title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-tumblr" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
544 |
<?php
|
545 |
}
|
546 |
|
547 |
if( get_option('mo_openid_stumble_share_enable') ) {
|
548 |
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
549 |
?>
|
550 |
-
<a title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-stumbleupon" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
551 |
<?php
|
552 |
}
|
553 |
|
554 |
if( get_option('mo_openid_linkedin_share_enable') ) {
|
555 |
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
556 |
?>
|
557 |
-
<a title="LinkedIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-linkedin" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px !important;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
558 |
<?php
|
559 |
}
|
560 |
|
561 |
if( get_option('mo_openid_reddit_share_enable') ) {
|
562 |
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
563 |
?>
|
564 |
-
<a title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-reddit" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
565 |
<?php
|
566 |
}
|
567 |
|
568 |
if( get_option('mo_openid_pinterest_share_enable') ) {
|
569 |
?>
|
570 |
-
<a title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-pinterest" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-5; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
571 |
<?php
|
572 |
}
|
573 |
|
574 |
if( get_option('mo_openid_pocket_share_enable') ) {
|
575 |
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
576 |
?>
|
577 |
-
<a title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-get-pocket" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
578 |
<?php
|
579 |
}
|
580 |
|
581 |
if( get_option('mo_openid_digg_share_enable') ) {
|
582 |
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
583 |
?>
|
584 |
-
<a title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-digg" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
585 |
<?php
|
586 |
}
|
587 |
|
588 |
if( get_option('mo_openid_delicious_share_enable') ) {
|
589 |
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
590 |
?>
|
591 |
-
<a title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-delicious" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
592 |
<?php
|
593 |
}
|
594 |
|
595 |
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
596 |
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
597 |
?>
|
598 |
-
<a title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-odnoklassniki" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
599 |
<?php
|
600 |
}
|
601 |
if( get_option('mo_openid_mail_share_enable') ) {
|
602 |
?>
|
603 |
-
<a title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link">
|
604 |
<i class=" <?php echo $selected_theme; ?> fa fa-envelope" style=" padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
605 |
<?php
|
606 |
}
|
607 |
if( get_option('mo_openid_print_share_enable') ) {
|
608 |
?>
|
609 |
-
<a title="Print this page" onclick="javascript:window.print()" class="mo-openid-share-link">
|
610 |
<i class=" <?php echo $selected_theme; ?> fa fa-print" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
611 |
<?php
|
612 |
}
|
613 |
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
614 |
?>
|
615 |
-
<a id="mobileshow" title="Whatsapp" href='whatsapp://send?text=<?php echo $url?>' class="mo-openid-share-link">
|
616 |
<i class=" <?php echo $selected_theme; ?> fa fa-whatsapp" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
617 |
<?php
|
618 |
}
|
619 |
}
|
620 |
else{
|
621 |
if( get_option('mo_openid_facebook_share_enable') ) {
|
622 |
-
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url
|
623 |
?>
|
624 |
-
<a title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link"><img alt='Facebook' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color:white;' src="<?php echo plugins_url( 'includes/images/icons/facebook.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
625 |
<?php
|
626 |
}
|
627 |
|
628 |
if( get_option('mo_openid_twitter_share_enable') ) {
|
629 |
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
630 |
?>
|
631 |
-
<a title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" ><img alt='Twitter' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color:white;' src="<?php echo plugins_url( 'includes/images/icons/twitter.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
632 |
<?php
|
633 |
}
|
634 |
|
635 |
if( get_option('mo_openid_google_share_enable') ) {
|
636 |
$link = 'https://plus.google.com/share?url='.$url;
|
637 |
?>
|
638 |
-
<a title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link"><img alt='Google' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color: <?php echo $selected_theme; ?>' src="<?php echo plugins_url( 'includes/images/icons/google.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
639 |
<?php
|
640 |
}
|
641 |
|
642 |
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
643 |
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
644 |
?>
|
645 |
-
<a title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link"><img alt='Vkontakte' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color: <?php echo $selected_theme; ?>' src="<?php echo plugins_url( 'includes/images/icons/vk.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
646 |
<?php
|
647 |
}
|
648 |
|
649 |
if( get_option('mo_openid_tumblr_share_enable') ) {
|
650 |
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
651 |
?>
|
652 |
-
<a title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><img alt='Tumblr' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/tumblr.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
653 |
<?php
|
654 |
}
|
655 |
|
656 |
if( get_option('mo_openid_stumble_share_enable') ) {
|
657 |
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
658 |
?>
|
659 |
-
<a title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><img alt='StumbleUpon' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/stumble.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
660 |
<?php
|
661 |
}
|
662 |
|
663 |
if( get_option('mo_openid_linkedin_share_enable') ) {
|
664 |
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
665 |
?>
|
666 |
-
<a title="LinkedIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><img alt='LinkedIn' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color:white;' src="<?php echo plugins_url( 'includes/images/icons/linkedin.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
667 |
<?php
|
668 |
}
|
669 |
|
670 |
if( get_option('mo_openid_reddit_share_enable') ) {
|
671 |
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
672 |
?>
|
673 |
-
<a title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><img alt='Reddit' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/reddit.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
674 |
<?php
|
675 |
}
|
676 |
|
677 |
if( get_option('mo_openid_pinterest_share_enable') ) {
|
678 |
?>
|
679 |
-
<a title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" ><img alt='Pinterest' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/pininterest.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
680 |
<?php
|
681 |
}
|
682 |
|
683 |
if( get_option('mo_openid_pocket_share_enable') ) {
|
684 |
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
685 |
?>
|
686 |
-
<a title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><img alt='Pocket' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/pocket.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
687 |
<?php
|
688 |
}
|
689 |
|
690 |
if( get_option('mo_openid_digg_share_enable') ) {
|
691 |
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
692 |
?>
|
693 |
-
<a title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><img alt='Digg' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/digg.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
694 |
<?php
|
695 |
}
|
696 |
|
697 |
if( get_option('mo_openid_delicious_share_enable') ) {
|
698 |
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
699 |
?>
|
700 |
-
<a title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><img alt='Delicoius' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/delicious.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
701 |
<?php
|
702 |
}
|
703 |
|
704 |
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
705 |
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
706 |
?>
|
707 |
-
<a title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><img alt='Odnoklassniki' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/odnoklassniki.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
708 |
<?php
|
709 |
}
|
710 |
|
711 |
if( get_option('mo_openid_mail_share_enable') ) {
|
712 |
?>
|
713 |
-
<a title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link">
|
714 |
<img alt='Email this page' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/mail.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>"></a>
|
715 |
<?php
|
716 |
}
|
717 |
if( get_option('mo_openid_print_share_enable') ) {
|
718 |
?>
|
719 |
-
<a title="Print this page" onclick="javascript:window.print()"class="mo-openid-share-link">
|
720 |
<img alt='Print this page' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/print.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>"></a>
|
721 |
<?php
|
722 |
}
|
723 |
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
724 |
?>
|
725 |
-
<a id="mobileshow" title="Whatsapp" href='whatsapp://send?text=<?php echo $url?>' class="mo-openid-share-link">
|
726 |
<img alt='Whatsapp' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/whatsapp.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>"></a>
|
727 |
<?php
|
728 |
}
|
67 |
<?php
|
68 |
if($custom_theme == 'custom'){
|
69 |
if( get_option('mo_openid_facebook_share_enable') ) {
|
70 |
+
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url;
|
71 |
?>
|
72 |
+
<a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-facebook" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
73 |
<?php
|
74 |
}
|
75 |
|
76 |
if( get_option('mo_openid_twitter_share_enable') ) {
|
77 |
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
78 |
?>
|
79 |
+
<a rel='nofollow' title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-twitter" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
80 |
<?php
|
81 |
}
|
82 |
|
83 |
if( get_option('mo_openid_google_share_enable') ) {
|
84 |
$link = 'https://plus.google.com/share?url='.$url;
|
85 |
?>
|
86 |
+
<a rel='nofollow' title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-google-plus" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;"></i></a>
|
87 |
<?php
|
88 |
}
|
89 |
|
90 |
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
91 |
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
92 |
?>
|
93 |
+
<a rel='nofollow' title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-vk" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
94 |
<?php
|
95 |
}
|
96 |
|
97 |
if( get_option('mo_openid_tumblr_share_enable') ) {
|
98 |
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title.'&description='.$excerpt;
|
99 |
?>
|
100 |
+
<a rel='nofollow' title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-tumblr" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
101 |
<?php
|
102 |
}
|
103 |
|
104 |
if( get_option('mo_openid_stumble_share_enable') ) {
|
105 |
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
106 |
?>
|
107 |
+
<a rel='nofollow' title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-stumbleupon" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
108 |
<?php
|
109 |
}
|
110 |
|
111 |
if( get_option('mo_openid_linkedin_share_enable') ) {
|
112 |
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
113 |
?>
|
114 |
+
<a rel='nofollow' title="LinkekIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-linkedin" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
115 |
<?php
|
116 |
}
|
117 |
|
118 |
if( get_option('mo_openid_reddit_share_enable') ) {
|
119 |
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
120 |
?>
|
121 |
+
<a rel='nofollow' title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-reddit" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
122 |
<?php
|
123 |
}
|
124 |
|
125 |
if( get_option('mo_openid_pinterest_share_enable') ) {
|
126 |
?>
|
127 |
+
<a rel='nofollow' title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-pinterest" style="padding-top:3px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-10); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
128 |
<?php
|
129 |
}
|
130 |
|
131 |
if( get_option('mo_openid_pocket_share_enable') ) {
|
132 |
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
133 |
?>
|
134 |
+
<a rel='nofollow' title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-get-pocket" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
135 |
<?php
|
136 |
}
|
137 |
|
138 |
if( get_option('mo_openid_digg_share_enable') ) {
|
139 |
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
140 |
?>
|
141 |
+
<a rel='nofollow' title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-digg" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
142 |
<?php
|
143 |
}
|
144 |
|
145 |
if( get_option('mo_openid_delicious_share_enable') ) {
|
146 |
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
147 |
?>
|
148 |
+
<a rel='nofollow' title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-delicious" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
149 |
<?php
|
150 |
}
|
151 |
|
152 |
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
153 |
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
154 |
?>
|
155 |
+
<a rel='nofollow' title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-odnoklassniki" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
156 |
<?php
|
157 |
}
|
158 |
if( get_option('mo_openid_mail_share_enable') ) {
|
159 |
?>
|
160 |
+
<a rel='nofollow' title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
161 |
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-envelope" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
162 |
<?php
|
163 |
}
|
164 |
if( get_option('mo_openid_print_share_enable') ) {
|
165 |
?>
|
166 |
+
<a rel='nofollow' title="Print this page" onclick="javascript:window.print()"class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
167 |
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-print" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
168 |
<?php
|
169 |
}
|
170 |
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
171 |
?>
|
172 |
+
<a rel='nofollow' id="mobileshow" title="Whatsapp" href='whatsapp://send?text=<?php echo $url?>' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
173 |
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-whatsapp" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
174 |
<?php
|
175 |
}
|
177 |
|
178 |
else if($custom_theme == 'customFont'){
|
179 |
if( get_option('mo_openid_facebook_share_enable') ) {
|
180 |
+
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url;
|
181 |
?>
|
182 |
+
<a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-facebook" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
183 |
<?php
|
184 |
}
|
185 |
|
186 |
if( get_option('mo_openid_twitter_share_enable') ) {
|
187 |
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
188 |
?>
|
189 |
+
<a rel='nofollow' title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-twitter" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
190 |
<?php
|
191 |
}
|
192 |
|
193 |
if( get_option('mo_openid_google_share_enable') ) {
|
194 |
$link = 'https://plus.google.com/share?url='.$url;
|
195 |
?>
|
196 |
+
<a rel='nofollow' title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-google-plus" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
197 |
<?php
|
198 |
}
|
199 |
|
200 |
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
201 |
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
202 |
?>
|
203 |
+
<a rel='nofollow' title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-vk" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
204 |
<?php
|
205 |
}
|
206 |
|
207 |
if( get_option('mo_openid_tumblr_share_enable') ) {
|
208 |
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
209 |
?>
|
210 |
+
<a rel='nofollow' title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-tumblr" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
211 |
<?php
|
212 |
}
|
213 |
|
214 |
if( get_option('mo_openid_stumble_share_enable') ) {
|
215 |
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
216 |
?>
|
217 |
+
<a rel='nofollow' title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-stumbleupon" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
218 |
<?php
|
219 |
}
|
220 |
|
221 |
if( get_option('mo_openid_linkedin_share_enable') ) {
|
222 |
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
223 |
?>
|
224 |
+
<a rel='nofollow' title="LinkedIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-linkedin" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
225 |
<?php
|
226 |
}
|
227 |
|
228 |
if( get_option('mo_openid_reddit_share_enable') ) {
|
229 |
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
230 |
?>
|
231 |
+
<a rel='nofollow' title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-reddit" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
232 |
<?php
|
233 |
}
|
234 |
|
235 |
if( get_option('mo_openid_pinterest_share_enable') ) {
|
236 |
?>
|
237 |
+
<a rel='nofollow' title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-pinterest" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
238 |
<?php
|
239 |
}
|
240 |
|
241 |
if( get_option('mo_openid_pocket_share_enable') ) {
|
242 |
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
243 |
?>
|
244 |
+
<a rel='nofollow' title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-get-pocket" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
245 |
<?php
|
246 |
}
|
247 |
|
248 |
if( get_option('mo_openid_digg_share_enable') ) {
|
249 |
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
250 |
?>
|
251 |
+
<a rel='nofollow' title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-digg" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
252 |
<?php
|
253 |
}
|
254 |
|
255 |
if( get_option('mo_openid_delicious_share_enable') ) {
|
256 |
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
257 |
?>
|
258 |
+
<a rel='nofollow' title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-delicious" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
259 |
<?php
|
260 |
}
|
261 |
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
262 |
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
263 |
?>
|
264 |
+
<a rel='nofollow' title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-odnoklassniki" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
265 |
<?php
|
266 |
}
|
267 |
if( get_option('mo_openid_mail_share_enable') ) {
|
268 |
?>
|
269 |
+
<a rel='nofollow' title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
270 |
<i class=" <?php echo $selected_theme; ?> fa fa-envelope" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
271 |
<?php
|
272 |
}
|
273 |
if( get_option('mo_openid_print_share_enable') ) {
|
274 |
?>
|
275 |
+
<a rel='nofollow' title="Print this page" onclick="javascript:window.print()" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
276 |
<i class=" <?php echo $selected_theme; ?> fa fa-print" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
277 |
<?php
|
278 |
}
|
279 |
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
280 |
?>
|
281 |
+
<a rel='nofollow' id="mobileshow" title="Whatsapp" href='whatsapp://send?text=<?php echo $url?>' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
282 |
<i class=" <?php echo $selected_theme; ?> fa fa-whatsapp" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
283 |
<?php
|
284 |
}
|
288 |
|
289 |
|
290 |
if( get_option('mo_openid_facebook_share_enable') ) {
|
291 |
+
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url;
|
292 |
?>
|
293 |
+
<a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Facebook' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/facebook.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
294 |
<?php
|
295 |
}
|
296 |
|
297 |
if( get_option('mo_openid_twitter_share_enable') ) {
|
298 |
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
299 |
?>
|
300 |
+
<a rel='nofollow' title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Twitter' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/twitter.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
301 |
<?php
|
302 |
}
|
303 |
|
304 |
if( get_option('mo_openid_google_share_enable') ) {
|
305 |
$link = 'https://plus.google.com/share?url='.$url;
|
306 |
?>
|
307 |
+
<a rel='nofollow' title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Google' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color: <?php echo $selected_theme; ?>' src="<?php echo plugins_url( 'includes/images/icons/google.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
308 |
<?php
|
309 |
}
|
310 |
|
311 |
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
312 |
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
313 |
?>
|
314 |
+
<a rel='nofollow' title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Vkontakte' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color: <?php echo $selected_theme; ?>' src="<?php echo plugins_url( 'includes/images/icons/vk.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
315 |
<?php
|
316 |
}
|
317 |
|
318 |
if( get_option('mo_openid_tumblr_share_enable') ) {
|
319 |
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
320 |
?>
|
321 |
+
<a rel='nofollow' title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Tumblr' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/tumblr.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
322 |
<?php
|
323 |
}
|
324 |
|
325 |
if( get_option('mo_openid_stumble_share_enable') ) {
|
326 |
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
327 |
?>
|
328 |
+
<a rel='nofollow' title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='StumbleUpon' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/stumble.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
329 |
<?php
|
330 |
}
|
331 |
|
332 |
if( get_option('mo_openid_linkedin_share_enable') ) {
|
333 |
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
334 |
?>
|
335 |
+
<a rel='nofollow' title="LinkedIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='LinkedIn' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/linkedin.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
336 |
<?php
|
337 |
}
|
338 |
|
339 |
if( get_option('mo_openid_reddit_share_enable') ) {
|
340 |
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
341 |
?>
|
342 |
+
<a rel='nofollow' title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Reddit' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/reddit.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
343 |
<?php
|
344 |
}
|
345 |
if( get_option('mo_openid_pinterest_share_enable') ) {
|
346 |
?>
|
347 |
+
<a rel='nofollow' title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Pinterest' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/pininterest.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
348 |
<?php
|
349 |
}
|
350 |
if( get_option('mo_openid_pocket_share_enable') ) {
|
351 |
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
352 |
?>
|
353 |
+
<a rel='nofollow' title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Pocket' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/pocket.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
354 |
<?php
|
355 |
}
|
356 |
if( get_option('mo_openid_digg_share_enable') ) {
|
357 |
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
358 |
?>
|
359 |
+
<a rel='nofollow' title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Digg' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/digg.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
360 |
<?php
|
361 |
}
|
362 |
if( get_option('mo_openid_delicious_share_enable') ) {
|
363 |
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
364 |
?>
|
365 |
+
<a rel='nofollow' title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Delicious' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/delicious.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
366 |
<?php
|
367 |
}
|
368 |
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
369 |
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
370 |
?>
|
371 |
+
<a rel='nofollow'title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Odnoklassniki' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/odnoklassniki.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
372 |
<?php
|
373 |
}
|
374 |
if( get_option('mo_openid_mail_share_enable') ) {
|
375 |
?>
|
376 |
+
<a rel='nofollow'title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
377 |
<img alt='Email' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/mail.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>">
|
378 |
</a>
|
379 |
<?php
|
380 |
}
|
381 |
if( get_option('mo_openid_print_share_enable') ) {
|
382 |
?>
|
383 |
+
<a rel='nofollow' title="Print this page" onclick="javascript:window.print()" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
384 |
<img alt='Print' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/print.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>">
|
385 |
</a>
|
386 |
<?php
|
387 |
}
|
388 |
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
389 |
?>
|
390 |
+
<a rel='nofollow' id="mobileshow" title="Whatsapp" href='whatsapp://send?text=<?php echo $url?>' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
391 |
<img alt='Whatsapp' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/whatsapp.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" data-action="share/whatsapp/share"></a>
|
392 |
<?php
|
393 |
}
|
401 |
<?php
|
402 |
if($custom_theme == 'custom'){
|
403 |
if( get_option('mo_openid_facebook_share_enable') ) {
|
404 |
+
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url;
|
405 |
?>
|
406 |
+
<a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-bottom:<?php echo $space_icons?>px !important;"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-facebook" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
407 |
<?php
|
408 |
}
|
409 |
|
410 |
if( get_option('mo_openid_twitter_share_enable') ) {
|
411 |
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
412 |
?>
|
413 |
+
<a rel='nofollow' title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-twitter" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
414 |
<?php
|
415 |
}
|
416 |
|
417 |
if( get_option('mo_openid_google_share_enable') ) {
|
418 |
$link = 'https://plus.google.com/share?url='.$url;
|
419 |
?>
|
420 |
+
<a rel='nofollow' title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-bottom:<?php echo $space_icons?>px !important;"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-google-plus" style="margin-bottom:<?php echo $space_icons-4?>px!important; padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
421 |
<?php
|
422 |
}
|
423 |
|
424 |
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
425 |
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
426 |
?>
|
427 |
+
<a rel='nofollow' title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-bottom:<?php echo $space_icons?>px !important;"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-vk" style="margin-bottom:<?php echo $space_icons-4?>px!important; padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
428 |
<?php
|
429 |
}
|
430 |
|
431 |
if( get_option('mo_openid_tumblr_share_enable') ) {
|
432 |
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
433 |
?>
|
434 |
+
<a rel='nofollow' title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-tumblr" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
435 |
<?php
|
436 |
}
|
437 |
|
438 |
if( get_option('mo_openid_stumble_share_enable') ) {
|
439 |
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
440 |
?>
|
441 |
+
<a rel='nofollow' title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-stumbleupon" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
442 |
<?php
|
443 |
}
|
444 |
|
445 |
if( get_option('mo_openid_linkedin_share_enable') ) {
|
446 |
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
447 |
?>
|
448 |
+
<a rel='nofollow' title="LinkedIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-linkedin" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
449 |
<?php
|
450 |
}
|
451 |
|
452 |
if( get_option('mo_openid_reddit_share_enable') ) {
|
453 |
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
454 |
?>
|
455 |
+
<a rel='nofollow' title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-reddit" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
456 |
<?php
|
457 |
}
|
458 |
|
459 |
if( get_option('mo_openid_pinterest_share_enable') ) {
|
460 |
?>
|
461 |
+
<a rel='nofollow' title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-pinterest" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:3px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-10); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
462 |
<?php
|
463 |
}
|
464 |
|
465 |
if( get_option('mo_openid_pocket_share_enable') ) {
|
466 |
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
467 |
?>
|
468 |
+
<a rel='nofollow' title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-get-pocket" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
469 |
<?php
|
470 |
}
|
471 |
|
472 |
if( get_option('mo_openid_digg_share_enable') ) {
|
473 |
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
474 |
?>
|
475 |
+
<a rel='nofollow' title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-digg" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
476 |
<?php
|
477 |
}
|
478 |
|
479 |
if( get_option('mo_openid_delicious_share_enable') ) {
|
480 |
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
481 |
?>
|
482 |
+
<a rel='nofollow' title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-delicious" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
483 |
<?php
|
484 |
}
|
485 |
|
486 |
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
487 |
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
488 |
?>
|
489 |
+
<a rel='nofollow' title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-odnoklassniki" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
490 |
<?php
|
491 |
}
|
492 |
if( get_option('mo_openid_mail_share_enable') ) {
|
493 |
?>
|
494 |
+
<a rel='nofollow' title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link">
|
495 |
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-envelope" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
496 |
<?php
|
497 |
}
|
498 |
if( get_option('mo_openid_print_share_enable') ) {
|
499 |
?>
|
500 |
+
<a rel='nofollow'title="Print this page" onclick="javascript:window.print()"class="mo-openid-share-link">
|
501 |
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-print" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
502 |
<?php
|
503 |
}
|
504 |
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
505 |
?>
|
506 |
+
<a rel='nofollow' id="mobileshow" title="Whatsapp" href='whatsapp://send?text=<?php echo $url?>' class="mo-openid-share-link">
|
507 |
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-whatsapp" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
508 |
<?php
|
509 |
}
|
510 |
}
|
511 |
else if($custom_theme == 'customFont'){
|
512 |
if( get_option('mo_openid_facebook_share_enable') ) {
|
513 |
+
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url;
|
514 |
?>
|
515 |
+
<a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link"><i class=" <?php echo $selected_theme; ?> fa fa-facebook" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top : 4px !important;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
516 |
<?php
|
517 |
}
|
518 |
|
519 |
if( get_option('mo_openid_twitter_share_enable') ) {
|
520 |
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
521 |
?>
|
522 |
+
<a rel='nofollow' title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-twitter" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
523 |
<?php
|
524 |
}
|
525 |
|
526 |
if( get_option('mo_openid_google_share_enable') ) {
|
527 |
$link = 'https://plus.google.com/share?url='.$url;
|
528 |
?>
|
529 |
+
<a rel='nofollow' title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link"><i class=" <?php echo $selected_theme; ?> fa fa-google-plus" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
530 |
<?php
|
531 |
}
|
532 |
|
533 |
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
534 |
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
535 |
?>
|
536 |
+
<a rel='nofollow' title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link"><i class=" <?php echo $selected_theme; ?> fa fa-vk" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
537 |
<?php
|
538 |
}
|
539 |
|
540 |
if( get_option('mo_openid_tumblr_share_enable') ) {
|
541 |
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
542 |
?>
|
543 |
+
<a rel='nofollow' title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-tumblr" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
544 |
<?php
|
545 |
}
|
546 |
|
547 |
if( get_option('mo_openid_stumble_share_enable') ) {
|
548 |
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
549 |
?>
|
550 |
+
<a rel='nofollow' title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-stumbleupon" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
551 |
<?php
|
552 |
}
|
553 |
|
554 |
if( get_option('mo_openid_linkedin_share_enable') ) {
|
555 |
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
556 |
?>
|
557 |
+
<a rel='nofollow' title="LinkedIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-linkedin" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px !important;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
558 |
<?php
|
559 |
}
|
560 |
|
561 |
if( get_option('mo_openid_reddit_share_enable') ) {
|
562 |
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
563 |
?>
|
564 |
+
<a rel='nofollow' title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-reddit" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
565 |
<?php
|
566 |
}
|
567 |
|
568 |
if( get_option('mo_openid_pinterest_share_enable') ) {
|
569 |
?>
|
570 |
+
<a rel='nofollow' title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-pinterest" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-5; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
571 |
<?php
|
572 |
}
|
573 |
|
574 |
if( get_option('mo_openid_pocket_share_enable') ) {
|
575 |
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
576 |
?>
|
577 |
+
<a rel='nofollow' title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-get-pocket" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
578 |
<?php
|
579 |
}
|
580 |
|
581 |
if( get_option('mo_openid_digg_share_enable') ) {
|
582 |
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
583 |
?>
|
584 |
+
<a rel='nofollow' title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-digg" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
585 |
<?php
|
586 |
}
|
587 |
|
588 |
if( get_option('mo_openid_delicious_share_enable') ) {
|
589 |
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
590 |
?>
|
591 |
+
<a rel='nofollow' title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-delicious" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
592 |
<?php
|
593 |
}
|
594 |
|
595 |
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
596 |
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
597 |
?>
|
598 |
+
<a rel='nofollow' title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-odnoklassniki" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
599 |
<?php
|
600 |
}
|
601 |
if( get_option('mo_openid_mail_share_enable') ) {
|
602 |
?>
|
603 |
+
<a rel='nofollow' title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link">
|
604 |
<i class=" <?php echo $selected_theme; ?> fa fa-envelope" style=" padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
605 |
<?php
|
606 |
}
|
607 |
if( get_option('mo_openid_print_share_enable') ) {
|
608 |
?>
|
609 |
+
<a rel='nofollow' title="Print this page" onclick="javascript:window.print()" class="mo-openid-share-link">
|
610 |
<i class=" <?php echo $selected_theme; ?> fa fa-print" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
611 |
<?php
|
612 |
}
|
613 |
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
614 |
?>
|
615 |
+
<a rel='nofollow' id="mobileshow" title="Whatsapp" href='whatsapp://send?text=<?php echo $url?>' class="mo-openid-share-link">
|
616 |
<i class=" <?php echo $selected_theme; ?> fa fa-whatsapp" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
617 |
<?php
|
618 |
}
|
619 |
}
|
620 |
else{
|
621 |
if( get_option('mo_openid_facebook_share_enable') ) {
|
622 |
+
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url;
|
623 |
?>
|
624 |
+
<a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link"><img alt='Facebook' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color:white;' src="<?php echo plugins_url( 'includes/images/icons/facebook.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
625 |
<?php
|
626 |
}
|
627 |
|
628 |
if( get_option('mo_openid_twitter_share_enable') ) {
|
629 |
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
630 |
?>
|
631 |
+
<a rel='nofollow' title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" ><img alt='Twitter' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color:white;' src="<?php echo plugins_url( 'includes/images/icons/twitter.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
632 |
<?php
|
633 |
}
|
634 |
|
635 |
if( get_option('mo_openid_google_share_enable') ) {
|
636 |
$link = 'https://plus.google.com/share?url='.$url;
|
637 |
?>
|
638 |
+
<a rel='nofollow' title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link"><img alt='Google' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color: <?php echo $selected_theme; ?>' src="<?php echo plugins_url( 'includes/images/icons/google.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
639 |
<?php
|
640 |
}
|
641 |
|
642 |
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
643 |
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
644 |
?>
|
645 |
+
<a rel='nofollow' title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link"><img alt='Vkontakte' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color: <?php echo $selected_theme; ?>' src="<?php echo plugins_url( 'includes/images/icons/vk.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
646 |
<?php
|
647 |
}
|
648 |
|
649 |
if( get_option('mo_openid_tumblr_share_enable') ) {
|
650 |
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
651 |
?>
|
652 |
+
<a rel='nofollow' title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><img alt='Tumblr' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/tumblr.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
653 |
<?php
|
654 |
}
|
655 |
|
656 |
if( get_option('mo_openid_stumble_share_enable') ) {
|
657 |
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
658 |
?>
|
659 |
+
<a rel='nofollow' title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><img alt='StumbleUpon' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/stumble.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
660 |
<?php
|
661 |
}
|
662 |
|
663 |
if( get_option('mo_openid_linkedin_share_enable') ) {
|
664 |
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
665 |
?>
|
666 |
+
<a rel='nofollow' title="LinkedIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><img alt='LinkedIn' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color:white;' src="<?php echo plugins_url( 'includes/images/icons/linkedin.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
667 |
<?php
|
668 |
}
|
669 |
|
670 |
if( get_option('mo_openid_reddit_share_enable') ) {
|
671 |
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
672 |
?>
|
673 |
+
<a rel='nofollow' title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><img alt='Reddit' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/reddit.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
674 |
<?php
|
675 |
}
|
676 |
|
677 |
if( get_option('mo_openid_pinterest_share_enable') ) {
|
678 |
?>
|
679 |
+
<a rel='nofollow' title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" ><img alt='Pinterest' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/pininterest.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
680 |
<?php
|
681 |
}
|
682 |
|
683 |
if( get_option('mo_openid_pocket_share_enable') ) {
|
684 |
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
685 |
?>
|
686 |
+
<a rel='nofollow' title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><img alt='Pocket' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/pocket.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
687 |
<?php
|
688 |
}
|
689 |
|
690 |
if( get_option('mo_openid_digg_share_enable') ) {
|
691 |
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
692 |
?>
|
693 |
+
<a rel='nofollow' title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><img alt='Digg' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/digg.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
694 |
<?php
|
695 |
}
|
696 |
|
697 |
if( get_option('mo_openid_delicious_share_enable') ) {
|
698 |
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
699 |
?>
|
700 |
+
<a rel='nofollow' title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><img alt='Delicoius' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/delicious.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
701 |
<?php
|
702 |
}
|
703 |
|
704 |
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
705 |
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
706 |
?>
|
707 |
+
<a rel='nofollow' title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><img alt='Odnoklassniki' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/odnoklassniki.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
708 |
<?php
|
709 |
}
|
710 |
|
711 |
if( get_option('mo_openid_mail_share_enable') ) {
|
712 |
?>
|
713 |
+
<a rel='nofollow' title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link">
|
714 |
<img alt='Email this page' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/mail.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>"></a>
|
715 |
<?php
|
716 |
}
|
717 |
if( get_option('mo_openid_print_share_enable') ) {
|
718 |
?>
|
719 |
+
<a rel='nofollow' title="Print this page" onclick="javascript:window.print()"class="mo-openid-share-link">
|
720 |
<img alt='Print this page' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/print.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>"></a>
|
721 |
<?php
|
722 |
}
|
723 |
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
724 |
?>
|
725 |
+
<a rel='nofollow' id="mobileshow" title="Whatsapp" href='whatsapp://send?text=<?php echo $url?>' class="mo-openid-share-link">
|
726 |
<img alt='Whatsapp' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/whatsapp.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>"></a>
|
727 |
<?php
|
728 |
}
|
class-mo-openid-sso-shortcode-buttons.php
CHANGED
@@ -60,74 +60,74 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
|
60 |
|
61 |
|
62 |
if( get_option('mo_openid_facebook_share_enable') ) {
|
63 |
-
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url
|
64 |
-
$html .= "<a title='Facebook' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-facebook' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
65 |
}
|
66 |
|
67 |
if( get_option('mo_openid_twitter_share_enable') ) {
|
68 |
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
69 |
-
$html .= "<a title='Twitter' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-twitter' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
70 |
|
71 |
}
|
72 |
|
73 |
if( get_option('mo_openid_google_share_enable') ) {
|
74 |
$link = 'https://plus.google.com/share?url='.$url;
|
75 |
-
$html .= "<a title='Google' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-google-plus' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
76 |
}
|
77 |
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
78 |
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
79 |
-
$html .= "<a title='Vkontakte' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-vk' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
80 |
}
|
81 |
if( get_option('mo_openid_tumblr_share_enable') ) {
|
82 |
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
83 |
-
$html .= "<a title='Tumblr' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-tumblr' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
84 |
}
|
85 |
if( get_option('mo_openid_stumble_share_enable') ) {
|
86 |
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
87 |
-
$html .= "<a title='StumbleUpon' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-stumbleupon' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
88 |
}
|
89 |
if( get_option('mo_openid_linkedin_share_enable') ) {
|
90 |
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
91 |
|
92 |
|
93 |
-
$html .= "<a title='LinkedIn' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-linkedin' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
94 |
|
95 |
}
|
96 |
|
97 |
if( get_option('mo_openid_reddit_share_enable') ) {
|
98 |
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
99 |
-
$html .= "<a title='Reddit' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-reddit' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
100 |
}
|
101 |
|
102 |
if( get_option('mo_openid_pinterest_share_enable') ) {
|
103 |
-
$html .= "<a title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-pinterest' style='padding-top:3px;text-align:center;color:#ffffff;font-size:" .($sharingSize-10). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
104 |
|
105 |
}
|
106 |
|
107 |
if( get_option('mo_openid_pocket_share_enable') ) {
|
108 |
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
109 |
-
$html .= "<a title='Pocket' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-get-pocket' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
110 |
}
|
111 |
if( get_option('mo_openid_digg_share_enable') ) {
|
112 |
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
113 |
-
$html .= "<a title='Digg' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-digg' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
114 |
}
|
115 |
if( get_option('mo_openid_delicious_share_enable') ) {
|
116 |
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
117 |
-
$html .= "<a title='Delicious' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-delicious' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
118 |
}
|
119 |
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
120 |
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
121 |
-
$html .= "<a title='Odnoklassniki' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-odnoklassniki' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
122 |
}
|
123 |
if( get_option('mo_openid_mail_share_enable') ) {
|
124 |
-
$html .= "<a title='Email this page' onclick='popupCenter(" . '"mailto:?subject= ' . $email_subject . '&body=' . $email_body. '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-envelope' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
125 |
}
|
126 |
if( get_option('mo_openid_print_share_enable') ) {
|
127 |
-
$html .= "<a title='Print this page' onclick='javascript:window.print();' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-print' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
128 |
}
|
129 |
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
130 |
-
$html .= '<a id="mobileshow" title="Whatsapp" href="whatsapp://send?text=' . $url .'" class="mo-openid-share-link" style="margin-left : '.($spaceBetweenIcons) . 'px !important;border-bottom:0px !important;"><i class="mo-custom-share-icon ' .$selected_theme. ' fa fa-whatsapp" style="padding-top:8px;text-align:center;color:#ffffff;font-size: '.($sharingSize-16). 'px !important;background-color:#' .$custom_color. ';height: '.$sharingSize. 'px !important;width:' .$sharingSize. 'px !important;"></i></a>';
|
131 |
}
|
132 |
|
133 |
}
|
@@ -135,68 +135,68 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
|
135 |
else if($custom_theme == 'customFont') {
|
136 |
|
137 |
if( get_option('mo_openid_facebook_share_enable') ) {
|
138 |
-
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url
|
139 |
-
$html .= "<a title='Facebook' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-facebook' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
140 |
}
|
141 |
|
142 |
if( get_option('mo_openid_twitter_share_enable') ) {
|
143 |
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
144 |
-
$html .= "<a title='Twitter' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-twitter' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
145 |
}
|
146 |
|
147 |
if( get_option('mo_openid_google_share_enable') ) {
|
148 |
|
149 |
$link = 'https://plus.google.com/share?url='.$url;
|
150 |
-
$html .= "<a title='Google' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class='fa fa-google-plus' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
151 |
}
|
152 |
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
153 |
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
154 |
-
$html .= "<a title='Vkontakte' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-vk' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
155 |
}
|
156 |
if( get_option('mo_openid_tumblr_share_enable') ) {
|
157 |
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
158 |
-
$html .= "<a title='Tumblr' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-tumblr' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
159 |
}
|
160 |
if( get_option('mo_openid_stumble_share_enable') ) {
|
161 |
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
162 |
-
$html .= "<a title='StumbleUpon' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-stumbleupon' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
163 |
}
|
164 |
if( get_option('mo_openid_linkedin_share_enable') ) {
|
165 |
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
166 |
-
$html .= "<a title='LinkedIn' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-linkedin' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
167 |
}
|
168 |
if( get_option('mo_openid_reddit_share_enable') ) {
|
169 |
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
170 |
-
$html .= "<a title='Reddit' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-reddit' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
171 |
}
|
172 |
if( get_option('mo_openid_pinterest_share_enable') ) {
|
173 |
-
$html .= "<a title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-pinterest' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
174 |
}
|
175 |
|
176 |
if( get_option('mo_openid_pocket_share_enable') ) {
|
177 |
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
178 |
-
$html .= "<a title='Pocket' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-get-pocket' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
179 |
}
|
180 |
if( get_option('mo_openid_digg_share_enable') ) {
|
181 |
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
182 |
-
$html .= "<a title='Digg' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-digg' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
183 |
}
|
184 |
if( get_option('mo_openid_delicious_share_enable') ) {
|
185 |
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
186 |
-
$html .= "<a title='Delicious' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-delicious' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
187 |
}
|
188 |
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
189 |
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
190 |
-
$html .= "<a title='Odnoklassniki' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-odnoklassniki' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
191 |
}
|
192 |
if( get_option('mo_openid_mail_share_enable') ) {
|
193 |
-
$html .= "<a title='Email this page' onclick='popupCenter(" . '"mailto:?subject= ' . $email_subject . '&body=' . $email_body. '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class=' " .$selected_theme. " fa fa-envelope' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
194 |
}
|
195 |
if( get_option('mo_openid_print_share_enable') ) {
|
196 |
-
$html .= "<a title='Print this page' onclick='javascript:window.print();' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class=' " .$selected_theme. " fa fa-print' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
197 |
}
|
198 |
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
199 |
-
$html .= '<a id="mobileshow" title="Whatsapp" href="whatsapp://send?text=' . $url . '" class="mo-openid-share-link" style="margin-left : '.($spaceBetweenIcons-6) . 'px !important;border-bottom:0px !important;"><i class=" '.$selected_theme. ' fa fa-whatsapp" style="padding-top:4px;text-align:center;color:'.$fontColor . ';font-size:' .$sharingSize. 'px !important;height:' .$sharingSize. 'px !important;width:' .$sharingSize. 'px !important;"></i></a>';
|
200 |
}
|
201 |
|
202 |
|
@@ -205,69 +205,69 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
|
|
205 |
else {
|
206 |
|
207 |
if( get_option('mo_openid_facebook_share_enable') ) {
|
208 |
-
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url
|
209 |
-
$html .= "<a title='Facebook' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 400);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Facebook' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/facebook.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
210 |
}
|
211 |
|
212 |
if( get_option('mo_openid_twitter_share_enable') ) {
|
213 |
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
214 |
-
$html .= "<a title='Twitter' onclick='popupCenter(" . '"' . $link . '"' . ", 600, 300);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Twitter' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/twitter.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
215 |
}
|
216 |
|
217 |
if( get_option('mo_openid_google_share_enable') ) {
|
218 |
$link = 'https://plus.google.com/share?url='.$url;
|
219 |
-
$html .= "<a title='Google' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Google' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;background-color: " . $selected_theme . "' src='" . plugins_url( 'includes/images/icons/google.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
220 |
}
|
221 |
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
222 |
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
223 |
-
$html .= "<a title='Vkontakte' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Vkontakte' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/vk.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
224 |
}
|
225 |
if( get_option('mo_openid_tumblr_share_enable') ) {
|
226 |
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
227 |
-
$html .= "<a title='Tumblr' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Tumblr' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/tumblr.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
228 |
}
|
229 |
if( get_option('mo_openid_stumble_share_enable') ) {
|
230 |
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
231 |
-
$html .= "<a title='StumbleUpon' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='StumbleUpon' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/stumble.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
232 |
}
|
233 |
if( get_option('mo_openid_linkedin_share_enable') ) {
|
234 |
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
235 |
-
$html .= "<a title='LinkedIn' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='LinkedIn' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/linkedin.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
236 |
}
|
237 |
|
238 |
if( get_option('mo_openid_reddit_share_enable') ) {
|
239 |
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
240 |
-
$html .= "<a title='Reddit' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Reddit' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/reddit.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
241 |
}
|
242 |
|
243 |
if( get_option('mo_openid_pinterest_share_enable') ) {
|
244 |
-
$html .= "<a title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Pinterest' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/pininterest.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
245 |
}
|
246 |
|
247 |
if( get_option('mo_openid_pocket_share_enable') ) {
|
248 |
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
249 |
-
$html .= "<a title='Pocket' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Pocket' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/pocket.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
250 |
}
|
251 |
if( get_option('mo_openid_digg_share_enable') ) {
|
252 |
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
253 |
-
$html .= "<a title='Digg' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Digg' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/digg.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
254 |
}
|
255 |
if( get_option('mo_openid_delicious_share_enable') ) {
|
256 |
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
257 |
-
$html .= "<a title='Delicious' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Delicious' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/delicious.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
258 |
}
|
259 |
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
260 |
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
261 |
-
$html .= "<a title='Odnoklassniki' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Odnoklassniki' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/odnoklassniki.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
262 |
}
|
263 |
if( get_option('mo_openid_mail_share_enable') ) {
|
264 |
-
$html .= "<a title='Email this page' onclick='popupCenter(" . '"mailto:?subject= ' . $email_subject . '&body=' . $email_body. '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><img alt='Email this page' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/mail.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
265 |
}
|
266 |
if( get_option('mo_openid_print_share_enable') ) {
|
267 |
-
$html .= "<a title='Print this page' onclick='javascript:window.print();' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><img alt='Print this page' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/print.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
268 |
}
|
269 |
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
270 |
-
$html .= '<a id="mobileshow" title="Whatsapp" href="whatsapp://send?text=' . $url . '" class="mo-openid-share-link" style="margin-left : '. ($spaceBetweenIcons) . 'px !important; border-bottom:0px !important;">
|
271 |
<img alt="Whatsapp" style= "height: '. $sharingSize . 'px !important;width: '. $sharingSize . 'px !important;" src=" '. plugins_url( "includes/images/icons/whatsapp.png", __FILE__ ) . '" class="mo-openid-app-share-icons '. $selected_theme . '" ></a>';
|
272 |
}
|
273 |
|
@@ -352,76 +352,76 @@ function mo_openid_vertical_share_shortcode( $atts = '', $title = '', $excerpt =
|
|
352 |
if($custom_theme == 'custom'){
|
353 |
|
354 |
if( get_option('mo_openid_facebook_share_enable') ) {
|
355 |
-
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url
|
356 |
-
$html .= "<a title='Facebook' onclick='popupCenter(" . '"' . $link . '"' .", 1000, 500);' class='mo-openid-share-link' style='margin-bottom : " .$spaceBetweenIcons . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-facebook' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
357 |
}
|
358 |
|
359 |
if( get_option('mo_openid_twitter_share_enable') ) {
|
360 |
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
361 |
-
$html .= "<a title='Twitter' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-twitter' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
362 |
|
363 |
}
|
364 |
|
365 |
if( get_option('mo_openid_google_share_enable') ) {
|
366 |
$link = "https://plus.google.com/share?url=".$url;
|
367 |
-
$html .= "<a title='Google' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-bottom : " .$spaceBetweenIcons . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-google-plus' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
368 |
|
369 |
}
|
370 |
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
371 |
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
372 |
-
$html .= "<a title='Vkontakte' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-vk' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
373 |
}
|
374 |
if( get_option('mo_openid_tumblr_share_enable') ) {
|
375 |
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
376 |
-
$html .= "<a title='Tumblr' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-tumblr' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
377 |
}
|
378 |
if( get_option('mo_openid_stumble_share_enable') ) {
|
379 |
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
380 |
-
$html .= "<a title='StumbleUpon' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-stumbleupon' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
381 |
}
|
382 |
if( get_option('mo_openid_linkedin_share_enable') ) {
|
383 |
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
384 |
|
385 |
|
386 |
-
$html .= "<a title='LinkedIn' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-linkedin' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
387 |
|
388 |
}
|
389 |
|
390 |
if( get_option('mo_openid_reddit_share_enable') ) {
|
391 |
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
392 |
-
$html .= "<a title='Reddit' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-reddit' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
393 |
}
|
394 |
|
395 |
if( get_option('mo_openid_pinterest_share_enable') ) {
|
396 |
-
$html .= "<a title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-pinterest' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:3px;text-align:center;color:#ffffff;font-size:" .($sharingSize-10). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
397 |
|
398 |
}
|
399 |
|
400 |
if( get_option('mo_openid_pocket_share_enable') ) {
|
401 |
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
402 |
-
$html .= "<a title='Pocket' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-get-pocket' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
403 |
}
|
404 |
|
405 |
if( get_option('mo_openid_digg_share_enable') ) {
|
406 |
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
407 |
-
$html .= "<a title='Digg' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-digg' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
408 |
}
|
409 |
if( get_option('mo_openid_delicious_share_enable') ) {
|
410 |
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
411 |
-
$html .= "<a title='Delicious' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-delicious' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
412 |
}
|
413 |
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
414 |
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
415 |
-
$html .= "<a title='Odnoklassniki' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-odnoklassniki' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
416 |
}
|
417 |
if( get_option('mo_openid_mail_share_enable') ) {
|
418 |
-
$html .= "<a title='Email this page' onclick='popupCenter(" . '"mailto:?subject= ' . $email_subject . '&body=' . $email_body. '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-envelope' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
419 |
}
|
420 |
if( get_option('mo_openid_print_share_enable') ) {
|
421 |
-
$html .= "<a title='Print this page' onclick='javascript:window.print();' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-print' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
422 |
}
|
423 |
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
424 |
-
$html .= '<a id="mobileshow" title="Whatsapp" href="whatsapp://send?text=' . $url ."\" class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-whatsapp' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
425 |
}
|
426 |
|
427 |
|
@@ -430,68 +430,68 @@ function mo_openid_vertical_share_shortcode( $atts = '', $title = '', $excerpt =
|
|
430 |
else if($custom_theme == 'customFont') {
|
431 |
|
432 |
if( get_option('mo_openid_facebook_share_enable') ) {
|
433 |
-
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url
|
434 |
-
$html .= "<a title='Facebook' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-facebook' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
435 |
}
|
436 |
|
437 |
if( get_option('mo_openid_twitter_share_enable') ) {
|
438 |
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
439 |
-
$html .= "<a title='Twitter' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-twitter' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
440 |
}
|
441 |
|
442 |
if( get_option('mo_openid_google_share_enable') ) {
|
443 |
|
444 |
$link = 'https://plus.google.com/share?url='.$url;
|
445 |
-
$html .= "<a title='Google' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link'><i class='fa fa-google-plus' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
446 |
}
|
447 |
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
448 |
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
449 |
-
$html .= "<a title='Vkontakte' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-vk' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
450 |
}
|
451 |
if( get_option('mo_openid_tumblr_share_enable') ) {
|
452 |
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
453 |
-
$html .= "<a title='Tumblr' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-tumblr' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
454 |
}
|
455 |
if( get_option('mo_openid_stumble_share_enable') ) {
|
456 |
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
457 |
-
$html .= "<a title='StumbleUpon' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-stumbleupon' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
458 |
}
|
459 |
if( get_option('mo_openid_linkedin_share_enable') ) {
|
460 |
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
461 |
-
$html .= "<a title='LinkedIn' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-linkedin' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
462 |
}
|
463 |
if( get_option('mo_openid_reddit_share_enable') ) {
|
464 |
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
465 |
-
$html .= "<a title='Reddit' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-reddit' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
466 |
}
|
467 |
if( get_option('mo_openid_pinterest_share_enable') ) {
|
468 |
-
$html .= "<a title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link' ><i class='fa fa-pinterest' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .($sharingSize-5). "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
469 |
}
|
470 |
|
471 |
if( get_option('mo_openid_pocket_share_enable') ) {
|
472 |
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
473 |
-
$html .= "<a title='Pocket' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-get-pocket' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
474 |
}
|
475 |
if( get_option('mo_openid_digg_share_enable') ) {
|
476 |
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
477 |
-
$html .= "<a title='Digg' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-digg' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
478 |
}
|
479 |
if( get_option('mo_openid_delicious_share_enable') ) {
|
480 |
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
481 |
-
$html .= "<a title='Delicious' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-delicious' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
482 |
}
|
483 |
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
484 |
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
485 |
-
$html .= "<a title='Odnoklassniki' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-odnoklassniki' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
486 |
}
|
487 |
if( get_option('mo_openid_mail_share_enable') ) {
|
488 |
-
$html .= "<a title='Email this page' onclick='popupCenter(" . '"mailto:?subject= ' . $email_subject . '&body=' . $email_body. '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-envelope' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
489 |
}
|
490 |
if( get_option('mo_openid_print_share_enable') ) {
|
491 |
-
$html .= "<a title='Print this page' onclick='javascript:window.print();' class='mo-openid-share-link' ><i class='fa fa-print' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
492 |
}
|
493 |
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
494 |
-
$html .= '<a id="mobileshow" title="Whatsapp" href="whatsapp://send?text=' . $url ."\" class='mo-openid-share-link' ><i class='fa fa-whatsapp' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
495 |
}
|
496 |
|
497 |
|
@@ -500,67 +500,67 @@ function mo_openid_vertical_share_shortcode( $atts = '', $title = '', $excerpt =
|
|
500 |
else {
|
501 |
|
502 |
if( get_option('mo_openid_facebook_share_enable') ) {
|
503 |
-
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url
|
504 |
-
$html .= "<a title='Facebook' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Facebook' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/facebook.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
505 |
}
|
506 |
|
507 |
if( get_option('mo_openid_twitter_share_enable') ) {
|
508 |
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
509 |
-
$html .= "<a title='Twitter' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Twitter' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/twitter.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
510 |
}
|
511 |
|
512 |
if( get_option('mo_openid_google_share_enable') ) {
|
513 |
$link = 'https://plus.google.com/share?url='.$url;
|
514 |
|
515 |
-
$html .= "<a title='Google' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Google' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/google.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
516 |
}
|
517 |
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
518 |
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
519 |
-
$html .= "<a title='Vkontakte' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Vkontakte' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/vk.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
520 |
}
|
521 |
if( get_option('mo_openid_tumblr_share_enable') ) {
|
522 |
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
523 |
-
$html .= "<a title='Tumblr' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Tumblr' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/tumblr.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
524 |
}
|
525 |
if( get_option('mo_openid_stumble_share_enable') ) {
|
526 |
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
527 |
-
$html .= "<a title='StumbleUpon' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='StumbleUpon' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/stumble.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
528 |
}
|
529 |
if( get_option('mo_openid_linkedin_share_enable') ) {
|
530 |
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
531 |
-
$html .= "<a title='LinkedIn' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='LinkedIn' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/linkedin.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
532 |
}
|
533 |
if( get_option('mo_openid_reddit_share_enable') ) {
|
534 |
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
535 |
-
$html .= "<a title='Reddit' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Reddit' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/reddit.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
536 |
}
|
537 |
if( get_option('mo_openid_pinterest_share_enable') ) {
|
538 |
-
$html .= "<a title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link'><img alt='Pinterest' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/pininterest.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
539 |
}
|
540 |
if( get_option('mo_openid_pocket_share_enable') ) {
|
541 |
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
542 |
-
$html .= "<a title='Pocket' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Pocket' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/pocket.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
543 |
}
|
544 |
if( get_option('mo_openid_digg_share_enable') ) {
|
545 |
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
546 |
-
$html .= "<a title='Digg' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Digg' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/digg.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
547 |
}
|
548 |
if( get_option('mo_openid_delicious_share_enable') ) {
|
549 |
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
550 |
-
$html .= "<a title='Delicious' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Delicious' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/delicious.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
551 |
}
|
552 |
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
553 |
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
554 |
-
$html .= "<a title='Odnoklassniki' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Odnoklassniki' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/odnoklassniki.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
555 |
}
|
556 |
if( get_option('mo_openid_mail_share_enable') ) {
|
557 |
-
$html .= "<a title='Email this page' onclick='popupCenter(" . '"mailto:?subject= ' . $email_subject . '&body=' . $email_body. '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Email this page' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important; height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/mail.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
558 |
}
|
559 |
if( get_option('mo_openid_print_share_enable') ) {
|
560 |
-
$html .= "<a title='Print this page' onclick='javascript:window.print();' class='mo-openid-share-link'><img alt='Print this page' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important; height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/print.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
561 |
}
|
562 |
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
563 |
-
$html .= '<a id="mobileshow" title="Whatsapp" href="whatsapp://send?text=' . $url ."\" class='mo-openid-share-link'><img alt='Whatsapp' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/whatsapp.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
564 |
}
|
565 |
|
566 |
}
|
60 |
|
61 |
|
62 |
if( get_option('mo_openid_facebook_share_enable') ) {
|
63 |
+
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url;
|
64 |
+
$html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-facebook' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
65 |
}
|
66 |
|
67 |
if( get_option('mo_openid_twitter_share_enable') ) {
|
68 |
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
69 |
+
$html .= "<a rel='nofollow' title='Twitter' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-twitter' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
70 |
|
71 |
}
|
72 |
|
73 |
if( get_option('mo_openid_google_share_enable') ) {
|
74 |
$link = 'https://plus.google.com/share?url='.$url;
|
75 |
+
$html .= "<a rel='nofollow' title='Google' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-google-plus' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
76 |
}
|
77 |
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
78 |
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
79 |
+
$html .= "<a rel='nofollow' title='Vkontakte' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-vk' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
80 |
}
|
81 |
if( get_option('mo_openid_tumblr_share_enable') ) {
|
82 |
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
83 |
+
$html .= "<a rel='nofollow' title='Tumblr' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-tumblr' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
84 |
}
|
85 |
if( get_option('mo_openid_stumble_share_enable') ) {
|
86 |
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
87 |
+
$html .= "<a rel='nofollow' title='StumbleUpon' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-stumbleupon' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
88 |
}
|
89 |
if( get_option('mo_openid_linkedin_share_enable') ) {
|
90 |
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
91 |
|
92 |
|
93 |
+
$html .= "<a rel='nofollow' title='LinkedIn' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-linkedin' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
94 |
|
95 |
}
|
96 |
|
97 |
if( get_option('mo_openid_reddit_share_enable') ) {
|
98 |
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
99 |
+
$html .= "<a rel='nofollow' title='Reddit' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-reddit' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
100 |
}
|
101 |
|
102 |
if( get_option('mo_openid_pinterest_share_enable') ) {
|
103 |
+
$html .= "<a rel='nofollow' title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-pinterest' style='padding-top:3px;text-align:center;color:#ffffff;font-size:" .($sharingSize-10). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
104 |
|
105 |
}
|
106 |
|
107 |
if( get_option('mo_openid_pocket_share_enable') ) {
|
108 |
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
109 |
+
$html .= "<a rel='nofollow' title='Pocket' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-get-pocket' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
110 |
}
|
111 |
if( get_option('mo_openid_digg_share_enable') ) {
|
112 |
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
113 |
+
$html .= "<a rel='nofollow' title='Digg' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-digg' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
114 |
}
|
115 |
if( get_option('mo_openid_delicious_share_enable') ) {
|
116 |
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
117 |
+
$html .= "<a rel='nofollow' title='Delicious' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-delicious' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
118 |
}
|
119 |
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
120 |
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
121 |
+
$html .= "<a rel='nofollow' title='Odnoklassniki' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-odnoklassniki' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
122 |
}
|
123 |
if( get_option('mo_openid_mail_share_enable') ) {
|
124 |
+
$html .= "<a rel='nofollow' title='Email this page' onclick='popupCenter(" . '"mailto:?subject= ' . $email_subject . '&body=' . $email_body. '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-envelope' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
125 |
}
|
126 |
if( get_option('mo_openid_print_share_enable') ) {
|
127 |
+
$html .= "<a rel='nofollow' title='Print this page' onclick='javascript:window.print();' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-print' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
128 |
}
|
129 |
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
130 |
+
$html .= '<a rel="nofollow" id="mobileshow" title="Whatsapp" href="whatsapp://send?text=' . $url .'" class="mo-openid-share-link" style="margin-left : '.($spaceBetweenIcons) . 'px !important;border-bottom:0px !important;"><i class="mo-custom-share-icon ' .$selected_theme. ' fa fa-whatsapp" style="padding-top:8px;text-align:center;color:#ffffff;font-size: '.($sharingSize-16). 'px !important;background-color:#' .$custom_color. ';height: '.$sharingSize. 'px !important;width:' .$sharingSize. 'px !important;"></i></a>';
|
131 |
}
|
132 |
|
133 |
}
|
135 |
else if($custom_theme == 'customFont') {
|
136 |
|
137 |
if( get_option('mo_openid_facebook_share_enable') ) {
|
138 |
+
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url;
|
139 |
+
$html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-facebook' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
140 |
}
|
141 |
|
142 |
if( get_option('mo_openid_twitter_share_enable') ) {
|
143 |
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
144 |
+
$html .= "<a rel='nofollow' title='Twitter' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-twitter' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
145 |
}
|
146 |
|
147 |
if( get_option('mo_openid_google_share_enable') ) {
|
148 |
|
149 |
$link = 'https://plus.google.com/share?url='.$url;
|
150 |
+
$html .= "<a rel='nofollow' title='Google' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class='fa fa-google-plus' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
151 |
}
|
152 |
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
153 |
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
154 |
+
$html .= "<a rel='nofollow' title='Vkontakte' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-vk' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
155 |
}
|
156 |
if( get_option('mo_openid_tumblr_share_enable') ) {
|
157 |
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
158 |
+
$html .= "<a rel='nofollow' title='Tumblr' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-tumblr' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
159 |
}
|
160 |
if( get_option('mo_openid_stumble_share_enable') ) {
|
161 |
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
162 |
+
$html .= "<a rel='nofollow' title='StumbleUpon' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-stumbleupon' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
163 |
}
|
164 |
if( get_option('mo_openid_linkedin_share_enable') ) {
|
165 |
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
166 |
+
$html .= "<a rel='nofollow' title='LinkedIn' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-linkedin' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
167 |
}
|
168 |
if( get_option('mo_openid_reddit_share_enable') ) {
|
169 |
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
170 |
+
$html .= "<a rel='nofollow' title='Reddit' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-reddit' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
171 |
}
|
172 |
if( get_option('mo_openid_pinterest_share_enable') ) {
|
173 |
+
$html .= "<a rel='nofollow' title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-pinterest' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
174 |
}
|
175 |
|
176 |
if( get_option('mo_openid_pocket_share_enable') ) {
|
177 |
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
178 |
+
$html .= "<a rel='nofollow' title='Pocket' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-get-pocket' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
179 |
}
|
180 |
if( get_option('mo_openid_digg_share_enable') ) {
|
181 |
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
182 |
+
$html .= "<a rel='nofollow' title='Digg' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-digg' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
183 |
}
|
184 |
if( get_option('mo_openid_delicious_share_enable') ) {
|
185 |
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
186 |
+
$html .= "<a rel='nofollow' title='Delicious' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-delicious' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
187 |
}
|
188 |
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
189 |
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
190 |
+
$html .= "<a rel='nofollow' title='Odnoklassniki' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-odnoklassniki' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
191 |
}
|
192 |
if( get_option('mo_openid_mail_share_enable') ) {
|
193 |
+
$html .= "<a rel='nofollow' title='Email this page' onclick='popupCenter(" . '"mailto:?subject= ' . $email_subject . '&body=' . $email_body. '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class=' " .$selected_theme. " fa fa-envelope' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
194 |
}
|
195 |
if( get_option('mo_openid_print_share_enable') ) {
|
196 |
+
$html .= "<a rel='nofollow' title='Print this page' onclick='javascript:window.print();' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class=' " .$selected_theme. " fa fa-print' style='padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
197 |
}
|
198 |
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
199 |
+
$html .= '<a rel="nofollow" id="mobileshow" title="Whatsapp" href="whatsapp://send?text=' . $url . '" class="mo-openid-share-link" style="margin-left : '.($spaceBetweenIcons-6) . 'px !important;border-bottom:0px !important;"><i class=" '.$selected_theme. ' fa fa-whatsapp" style="padding-top:4px;text-align:center;color:'.$fontColor . ';font-size:' .$sharingSize. 'px !important;height:' .$sharingSize. 'px !important;width:' .$sharingSize. 'px !important;"></i></a>';
|
200 |
}
|
201 |
|
202 |
|
205 |
else {
|
206 |
|
207 |
if( get_option('mo_openid_facebook_share_enable') ) {
|
208 |
+
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url;
|
209 |
+
$html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 400);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Facebook' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/facebook.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
210 |
}
|
211 |
|
212 |
if( get_option('mo_openid_twitter_share_enable') ) {
|
213 |
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
214 |
+
$html .= "<a rel='nofollow' title='Twitter' onclick='popupCenter(" . '"' . $link . '"' . ", 600, 300);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Twitter' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/twitter.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
215 |
}
|
216 |
|
217 |
if( get_option('mo_openid_google_share_enable') ) {
|
218 |
$link = 'https://plus.google.com/share?url='.$url;
|
219 |
+
$html .= "<a rel='nofollow' title='Google' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Google' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;background-color: " . $selected_theme . "' src='" . plugins_url( 'includes/images/icons/google.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
220 |
}
|
221 |
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
222 |
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
223 |
+
$html .= "<a rel='nofollow' title='Vkontakte' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Vkontakte' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/vk.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
224 |
}
|
225 |
if( get_option('mo_openid_tumblr_share_enable') ) {
|
226 |
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
227 |
+
$html .= "<a rel='nofollow' title='Tumblr' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Tumblr' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/tumblr.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
228 |
}
|
229 |
if( get_option('mo_openid_stumble_share_enable') ) {
|
230 |
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
231 |
+
$html .= "<a rel='nofollow' title='StumbleUpon' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='StumbleUpon' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/stumble.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
232 |
}
|
233 |
if( get_option('mo_openid_linkedin_share_enable') ) {
|
234 |
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
235 |
+
$html .= "<a rel='nofollow' title='LinkedIn' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='LinkedIn' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/linkedin.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
236 |
}
|
237 |
|
238 |
if( get_option('mo_openid_reddit_share_enable') ) {
|
239 |
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
240 |
+
$html .= "<a rel='nofollow' title='Reddit' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Reddit' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/reddit.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
241 |
}
|
242 |
|
243 |
if( get_option('mo_openid_pinterest_share_enable') ) {
|
244 |
+
$html .= "<a rel='nofollow' title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Pinterest' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/pininterest.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
245 |
}
|
246 |
|
247 |
if( get_option('mo_openid_pocket_share_enable') ) {
|
248 |
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
249 |
+
$html .= "<a rel='nofollow' title='Pocket' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Pocket' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/pocket.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
250 |
}
|
251 |
if( get_option('mo_openid_digg_share_enable') ) {
|
252 |
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
253 |
+
$html .= "<a rel='nofollow' title='Digg' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Digg' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/digg.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
254 |
}
|
255 |
if( get_option('mo_openid_delicious_share_enable') ) {
|
256 |
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
257 |
+
$html .= "<a rel='nofollow' title='Delicious' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Delicious' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/delicious.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
258 |
}
|
259 |
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
260 |
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
261 |
+
$html .= "<a rel='nofollow' title='Odnoklassniki' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Odnoklassniki' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/odnoklassniki.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
262 |
}
|
263 |
if( get_option('mo_openid_mail_share_enable') ) {
|
264 |
+
$html .= "<a rel='nofollow' title='Email this page' onclick='popupCenter(" . '"mailto:?subject= ' . $email_subject . '&body=' . $email_body. '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><img alt='Email this page' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/mail.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
265 |
}
|
266 |
if( get_option('mo_openid_print_share_enable') ) {
|
267 |
+
$html .= "<a rel='nofollow' title='Print this page' onclick='javascript:window.print();' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><img alt='Print this page' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/print.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
268 |
}
|
269 |
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
270 |
+
$html .= '<a rel="nofollow" id="mobileshow" title="Whatsapp" href="whatsapp://send?text=' . $url . '" class="mo-openid-share-link" style="margin-left : '. ($spaceBetweenIcons) . 'px !important; border-bottom:0px !important;">
|
271 |
<img alt="Whatsapp" style= "height: '. $sharingSize . 'px !important;width: '. $sharingSize . 'px !important;" src=" '. plugins_url( "includes/images/icons/whatsapp.png", __FILE__ ) . '" class="mo-openid-app-share-icons '. $selected_theme . '" ></a>';
|
272 |
}
|
273 |
|
352 |
if($custom_theme == 'custom'){
|
353 |
|
354 |
if( get_option('mo_openid_facebook_share_enable') ) {
|
355 |
+
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url;
|
356 |
+
$html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(" . '"' . $link . '"' .", 1000, 500);' class='mo-openid-share-link' style='margin-bottom : " .$spaceBetweenIcons . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-facebook' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
357 |
}
|
358 |
|
359 |
if( get_option('mo_openid_twitter_share_enable') ) {
|
360 |
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
361 |
+
$html .= "<a rel='nofollow' title='Twitter' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-twitter' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
362 |
|
363 |
}
|
364 |
|
365 |
if( get_option('mo_openid_google_share_enable') ) {
|
366 |
$link = "https://plus.google.com/share?url=".$url;
|
367 |
+
$html .= "<a rel='nofollow' title='Google' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-bottom : " .$spaceBetweenIcons . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-google-plus' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
368 |
|
369 |
}
|
370 |
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
371 |
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
372 |
+
$html .= "<a rel='nofollow' title='Vkontakte' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-vk' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
373 |
}
|
374 |
if( get_option('mo_openid_tumblr_share_enable') ) {
|
375 |
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
376 |
+
$html .= "<a rel='nofollow' title='Tumblr' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-tumblr' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
377 |
}
|
378 |
if( get_option('mo_openid_stumble_share_enable') ) {
|
379 |
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
380 |
+
$html .= "<a rel='nofollow' title='StumbleUpon' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-stumbleupon' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
381 |
}
|
382 |
if( get_option('mo_openid_linkedin_share_enable') ) {
|
383 |
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
384 |
|
385 |
|
386 |
+
$html .= "<a rel='nofollow' title='LinkedIn' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-linkedin' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
387 |
|
388 |
}
|
389 |
|
390 |
if( get_option('mo_openid_reddit_share_enable') ) {
|
391 |
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
392 |
+
$html .= "<a rel='nofollow' title='Reddit' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-reddit' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
393 |
}
|
394 |
|
395 |
if( get_option('mo_openid_pinterest_share_enable') ) {
|
396 |
+
$html .= "<a rel='nofollow' title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-pinterest' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:3px;text-align:center;color:#ffffff;font-size:" .($sharingSize-10). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
397 |
|
398 |
}
|
399 |
|
400 |
if( get_option('mo_openid_pocket_share_enable') ) {
|
401 |
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
402 |
+
$html .= "<a rel='nofollow' title='Pocket' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-get-pocket' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
403 |
}
|
404 |
|
405 |
if( get_option('mo_openid_digg_share_enable') ) {
|
406 |
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
407 |
+
$html .= "<a rel='nofollow' title='Digg' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-digg' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
408 |
}
|
409 |
if( get_option('mo_openid_delicious_share_enable') ) {
|
410 |
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
411 |
+
$html .= "<a rel='nofollow' title='Delicious' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-delicious' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
412 |
}
|
413 |
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
414 |
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
415 |
+
$html .= "<a rel='nofollow' title='Odnoklassniki' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-odnoklassniki' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
416 |
}
|
417 |
if( get_option('mo_openid_mail_share_enable') ) {
|
418 |
+
$html .= "<a rel='nofollow' title='Email this page' onclick='popupCenter(" . '"mailto:?subject= ' . $email_subject . '&body=' . $email_body. '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-envelope' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
419 |
}
|
420 |
if( get_option('mo_openid_print_share_enable') ) {
|
421 |
+
$html .= "<a rel='nofollow' title='Print this page' onclick='javascript:window.print();' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-print' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
422 |
}
|
423 |
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
424 |
+
$html .= '<a rel="nofollow" id="mobileshow" title="Whatsapp" href="whatsapp://send?text=' . $url ."\" class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fa fa-whatsapp' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
425 |
}
|
426 |
|
427 |
|
430 |
else if($custom_theme == 'customFont') {
|
431 |
|
432 |
if( get_option('mo_openid_facebook_share_enable') ) {
|
433 |
+
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url;
|
434 |
+
$html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-facebook' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
435 |
}
|
436 |
|
437 |
if( get_option('mo_openid_twitter_share_enable') ) {
|
438 |
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
439 |
+
$html .= "<a rel='nofollow' title='Twitter' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-twitter' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
440 |
}
|
441 |
|
442 |
if( get_option('mo_openid_google_share_enable') ) {
|
443 |
|
444 |
$link = 'https://plus.google.com/share?url='.$url;
|
445 |
+
$html .= "<a rel='nofollow' title='Google' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link'><i class='fa fa-google-plus' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
446 |
}
|
447 |
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
448 |
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
449 |
+
$html .= "<a rel='nofollow' title='Vkontakte' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-vk' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
450 |
}
|
451 |
if( get_option('mo_openid_tumblr_share_enable') ) {
|
452 |
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
453 |
+
$html .= "<a rel='nofollow' title='Tumblr' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-tumblr' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
454 |
}
|
455 |
if( get_option('mo_openid_stumble_share_enable') ) {
|
456 |
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
457 |
+
$html .= "<a rel='nofollow' title='StumbleUpon' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-stumbleupon' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
458 |
}
|
459 |
if( get_option('mo_openid_linkedin_share_enable') ) {
|
460 |
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
461 |
+
$html .= "<a rel='nofollow' title='LinkedIn' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-linkedin' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
462 |
}
|
463 |
if( get_option('mo_openid_reddit_share_enable') ) {
|
464 |
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
465 |
+
$html .= "<a rel='nofollow' title='Reddit' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-reddit' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
466 |
}
|
467 |
if( get_option('mo_openid_pinterest_share_enable') ) {
|
468 |
+
$html .= "<a rel='nofollow' title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link' ><i class='fa fa-pinterest' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .($sharingSize-5). "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
469 |
}
|
470 |
|
471 |
if( get_option('mo_openid_pocket_share_enable') ) {
|
472 |
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
473 |
+
$html .= "<a rel='nofollow' title='Pocket' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-get-pocket' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
474 |
}
|
475 |
if( get_option('mo_openid_digg_share_enable') ) {
|
476 |
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
477 |
+
$html .= "<a rel='nofollow' title='Digg' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-digg' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
478 |
}
|
479 |
if( get_option('mo_openid_delicious_share_enable') ) {
|
480 |
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
481 |
+
$html .= "<a rel='nofollow' title='Delicious' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-delicious' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
482 |
}
|
483 |
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
484 |
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
485 |
+
$html .= "<a rel='nofollow' title='Odnoklassniki' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-odnoklassniki' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
486 |
}
|
487 |
if( get_option('mo_openid_mail_share_enable') ) {
|
488 |
+
$html .= "<a rel='nofollow' title='Email this page' onclick='popupCenter(" . '"mailto:?subject= ' . $email_subject . '&body=' . $email_body. '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-envelope' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
489 |
}
|
490 |
if( get_option('mo_openid_print_share_enable') ) {
|
491 |
+
$html .= "<a rel='nofollow' title='Print this page' onclick='javascript:window.print();' class='mo-openid-share-link' ><i class='fa fa-print' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
492 |
}
|
493 |
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
494 |
+
$html .= '<a rel="nofollow" id="mobileshow" title="Whatsapp" href="whatsapp://send?text=' . $url ."\" class='mo-openid-share-link' ><i class='fa fa-whatsapp' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
|
495 |
}
|
496 |
|
497 |
|
500 |
else {
|
501 |
|
502 |
if( get_option('mo_openid_facebook_share_enable') ) {
|
503 |
+
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url;
|
504 |
+
$html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Facebook' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/facebook.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
505 |
}
|
506 |
|
507 |
if( get_option('mo_openid_twitter_share_enable') ) {
|
508 |
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
509 |
+
$html .= "<a rel='nofollow' title='Twitter' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Twitter' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/twitter.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
510 |
}
|
511 |
|
512 |
if( get_option('mo_openid_google_share_enable') ) {
|
513 |
$link = 'https://plus.google.com/share?url='.$url;
|
514 |
|
515 |
+
$html .= "<a rel='nofollow' title='Google' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Google' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/google.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
516 |
}
|
517 |
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
518 |
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
519 |
+
$html .= "<a rel='nofollow' title='Vkontakte' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Vkontakte' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/vk.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
520 |
}
|
521 |
if( get_option('mo_openid_tumblr_share_enable') ) {
|
522 |
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
523 |
+
$html .= "<a rel='nofollow' title='Tumblr' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Tumblr' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/tumblr.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
524 |
}
|
525 |
if( get_option('mo_openid_stumble_share_enable') ) {
|
526 |
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
527 |
+
$html .= "<a rel='nofollow' title='StumbleUpon' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='StumbleUpon' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/stumble.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
528 |
}
|
529 |
if( get_option('mo_openid_linkedin_share_enable') ) {
|
530 |
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
531 |
+
$html .= "<a rel='nofollow' title='LinkedIn' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='LinkedIn' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/linkedin.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
532 |
}
|
533 |
if( get_option('mo_openid_reddit_share_enable') ) {
|
534 |
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
535 |
+
$html .= "<a rel='nofollow' title='Reddit' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Reddit' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/reddit.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
536 |
}
|
537 |
if( get_option('mo_openid_pinterest_share_enable') ) {
|
538 |
+
$html .= "<a rel='nofollow' title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link'><img alt='Pinterest' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/pininterest.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
539 |
}
|
540 |
if( get_option('mo_openid_pocket_share_enable') ) {
|
541 |
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
542 |
+
$html .= "<a rel='nofollow' title='Pocket' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Pocket' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/pocket.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
543 |
}
|
544 |
if( get_option('mo_openid_digg_share_enable') ) {
|
545 |
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
546 |
+
$html .= "<a rel='nofollow' title='Digg' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Digg' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/digg.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
547 |
}
|
548 |
if( get_option('mo_openid_delicious_share_enable') ) {
|
549 |
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
550 |
+
$html .= "<a rel='nofollow' title='Delicious' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Delicious' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/delicious.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
551 |
}
|
552 |
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
553 |
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
554 |
+
$html .= "<a rel='nofollow' title='Odnoklassniki' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Odnoklassniki' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/odnoklassniki.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
555 |
}
|
556 |
if( get_option('mo_openid_mail_share_enable') ) {
|
557 |
+
$html .= "<a rel='nofollow' title='Email this page' onclick='popupCenter(" . '"mailto:?subject= ' . $email_subject . '&body=' . $email_body. '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Email this page' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important; height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/mail.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
558 |
}
|
559 |
if( get_option('mo_openid_print_share_enable') ) {
|
560 |
+
$html .= "<a rel='nofollow' title='Print this page' onclick='javascript:window.print();' class='mo-openid-share-link'><img alt='Print this page' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important; height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/print.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
561 |
}
|
562 |
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
563 |
+
$html .= '<a rel="nofollow" id="mobileshow" title="Whatsapp" href="whatsapp://send?text=' . $url ."\" class='mo-openid-share-link'><img alt='Whatsapp' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/whatsapp.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
|
564 |
}
|
565 |
|
566 |
}
|
miniorange_openid_sso_settings.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Social Login, Social Sharing by miniOrange
|
5 |
* Plugin URI: http://miniorange.com
|
6 |
* Description: Allow your users to login, comment and share with Facebook, Google, Twitter, LinkedIn etc using customizable buttons.
|
7 |
-
* Version: 5.1.
|
8 |
* Author: miniOrange
|
9 |
* Author URI: http://miniorange.com
|
10 |
* License: GPL2
|
4 |
* Plugin Name: Social Login, Social Sharing by miniOrange
|
5 |
* Plugin URI: http://miniorange.com
|
6 |
* Description: Allow your users to login, comment and share with Facebook, Google, Twitter, LinkedIn etc using customizable buttons.
|
7 |
+
* Version: 5.1.8
|
8 |
* Author: miniOrange
|
9 |
* Author URI: http://miniorange.com
|
10 |
* License: GPL2
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://miniorange.com
|
|
4 |
Tags: social login, social, facebook, twitter, login
|
5 |
Requires at least: 2.0.2
|
6 |
Tested up to: 4.8
|
7 |
-
Stable tag: 5.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -143,6 +143,9 @@ Please email us at info@miniorange.com. You can also submit your query from the
|
|
143 |
|
144 |
|
145 |
== Changelog ==
|
|
|
|
|
|
|
146 |
= 5.1.7 =
|
147 |
* Added Profile Completion Feature
|
148 |
|
@@ -379,6 +382,9 @@ Please email us at info@miniorange.com. You can also submit your query from the
|
|
379 |
* First version of Social Login, Social Sharing plugin.
|
380 |
|
381 |
== Upgrade Notice ==
|
|
|
|
|
|
|
382 |
= 5.1.7 =
|
383 |
* Added Profile Completion Feature
|
384 |
|
4 |
Tags: social login, social, facebook, twitter, login
|
5 |
Requires at least: 2.0.2
|
6 |
Tested up to: 4.8
|
7 |
+
Stable tag: 5.1.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
143 |
|
144 |
|
145 |
== Changelog ==
|
146 |
+
= 5.1.8 =
|
147 |
+
* Minor Bug Fix
|
148 |
+
|
149 |
= 5.1.7 =
|
150 |
* Added Profile Completion Feature
|
151 |
|
382 |
* First version of Social Login, Social Sharing plugin.
|
383 |
|
384 |
== Upgrade Notice ==
|
385 |
+
= 5.1.8 =
|
386 |
+
* Minor Bug Fix
|
387 |
+
|
388 |
= 5.1.7 =
|
389 |
* Added Profile Completion Feature
|
390 |
|