PluginProbe
Powerkit – Supercharge your WordPress Site / 2.3.2
Powerkit – Supercharge your WordPress Site v2.3.2
3.1.1 3.1.0 3.0.9 3.0.8 trunk 2.2.6 2.2.7 2.2.8 2.2.9 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 All 87 releases
powerkit / modules / social-links / helpers / helper-powerkit-links-list.php

helper-powerkit-links-list.php in Powerkit – Supercharge your WordPress Site 2.3.2, at modules/social-links/helpers/helper-powerkit-links-list.php

756 lines 25.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Register Social Links List
4 *
5 * @package Powerkit
6 * @subpackage Modules/Helper
7 */
8
9 /**
10 * Set list social
11 *
12 * @param array $list Array social params.
13 * @return array Array social params.
14 */
15 function powerkit_social_links_list( $list = array() ) {
16
17 // Facebook.
18 $list['facebook'] = array(
19 'id' => 'facebook',
20 'name' => esc_html__( 'Facebook', 'powerkit' ),
21 'label' => esc_html__( 'Likes', 'powerkit' ),
22 'link' => esc_url( 'https://facebook.com/%powerkit_social_links_facebook_user%' ),
23 'fields' => array(
24 'powerkit_social_links_facebook_user' => esc_html__( 'Facebook User', 'powerkit' ),
25 'powerkit_social_links_facebook_override' => esc_html__( 'Manual Count Override', 'powerkit' ),
26 ),
27 );
28
29 // Twitter.
30 $list['twitter'] = array(
31 'id' => 'twitter',
32 'name' => esc_html__( 'Twitter', 'powerkit' ),
33 'label' => esc_html__( 'Followers', 'powerkit' ),
34 'link' => esc_url( 'https://twitter.com/%powerkit_social_links_twitter_user%' ),
35 'fields' => array(
36 'powerkit_social_links_twitter_user' => esc_html__( 'Twitter User', 'powerkit' ),
37 'powerkit_social_links_twitter_override' => esc_html__( 'Manual Count Override', 'powerkit' ),
38 ),
39 );
40
41 // Instagram.
42 $list['instagram'] = array(
43 'id' => 'instagram',
44 'name' => esc_html__( 'Instagram', 'powerkit' ),
45 'label' => esc_html__( 'Followers', 'powerkit' ),
46 'link' => esc_url( 'https://www.instagram.com/%powerkit_social_links_instagram_user%' ),
47 'fields' => array(
48 'powerkit_social_links_instagram_user' => esc_html__( 'Instagram User', 'powerkit' ),
49 'powerkit_social_links_instagram_override' => esc_html__( 'Manual Count Override', 'powerkit' ),
50 ),
51 );
52
53 // Pinterest.
54 $list['pinterest'] = array(
55 'id' => 'pinterest',
56 'name' => esc_html__( 'Pinterest', 'powerkit' ),
57 'label' => esc_html__( 'Followers', 'powerkit' ),
58 'override' => esc_html__( 'Manual Count Override', 'powerkit' ),
59 'link' => esc_url( 'https://pinterest.com/%powerkit_social_links_pinterest_user%' ),
60 'fields' => array(
61 'powerkit_social_links_pinterest_user' => esc_html__( 'Pinterest User', 'powerkit' ),
62 'powerkit_social_links_pinterest_override' => esc_html__( 'Manual Count Override', 'powerkit' ),
63 ),
64 );
65
66 // YouTube.
67 $list['youtube'] = array(
68 'id' => 'youtube',
69 'name' => esc_html__( 'YouTube', 'powerkit' ),
70 'label' => esc_html__( 'Subscribers', 'powerkit' ),
71 'link' => array(
72 'powerkit_social_links_youtube_channel_type' => array(
73 'user' => esc_url( 'https://www.youtube.com/user/%powerkit_social_links_youtube_slug%' ),
74 'channel' => esc_url( 'https://www.youtube.com/channel/%powerkit_social_links_youtube_slug%' ),
75 ),
76 ),
77 'fields' => array(
78 'powerkit_social_links_youtube_channel_type' => array(
79 'title' => esc_html__( 'YouTube Channel Type', 'powerkit' ),
80 'options' => array(
81 'user' => esc_html__( 'User', 'powerkit' ),
82 'channel' => esc_html__( 'Channel', 'powerkit' ),
83 ),
84 ),
85 'powerkit_social_links_youtube_slug' => esc_html__( 'YouTube User or Channel ID', 'powerkit' ),
86 'powerkit_social_links_youtube_override' => esc_html__( 'Manual Count Override', 'powerkit' ),
87 ),
88 );
89
90 // Telegram.
91 $list['telegram'] = array(
92 'id' => 'telegram',
93 'name' => esc_html__( 'Telegram', 'powerkit' ),
94 'label' => esc_html__( 'Followers', 'powerkit' ),
95 'link' => 'https://t.me/%powerkit_social_links_telegram_chat%',
96 'fields' => array(
97 'powerkit_social_links_telegram_chat' => esc_html__( 'Telegram Channel ID', 'powerkit' ),
98 'powerkit_social_links_telegram_override' => esc_html__( 'Manual Count Override', 'powerkit' ),
99 ),
100 );
101
102 // Vimeo.
103 $list['vimeo'] = array(
104 'id' => 'vimeo',
105 'name' => esc_html__( 'Vimeo', 'powerkit' ),
106 'label' => esc_html__( 'Followers', 'powerkit' ),
107 'link' => esc_url( 'https://vimeo.com/%powerkit_social_links_vimeo_user%' ),
108 'fields' => array(
109 'powerkit_social_links_vimeo_user' => esc_html__( 'Vimeo User ID', 'powerkit' ),
110 'powerkit_social_links_vimeo_override' => esc_html__( 'Manual Count Override', 'powerkit' ),
111 ),
112 );
113
114 // SoundCloud.
115 $list['soundcloud'] = array(
116 'id' => 'soundcloud',
117 'name' => esc_html__( 'SoundCloud', 'powerkit' ),
118 'label' => esc_html__( 'Followers', 'powerkit' ),
119 'link' => esc_url( 'https://soundcloud.com/%powerkit_social_links_soundcloud_user_id%' ),
120 'fields' => array(
121 'powerkit_social_links_soundcloud_user_id' => esc_html__( 'SoundCloud User ID', 'powerkit' ),
122 'powerkit_social_links_soundcloud_override' => esc_html__( 'Manual Count Override', 'powerkit' ),
123 ),
124 );
125
126 // Spotify.
127 $list['spotify'] = array(
128 'id' => 'spotify',
129 'name' => esc_html__( 'Spotify', 'powerkit' ),
130 'label' => esc_html__( 'Followers', 'powerkit' ),
131 'link' => array(
132 'powerkit_social_links_spotify_type' => array(
133 'user' => esc_url( 'https://open.spotify.com/user/%powerkit_social_links_spotify_user%' ),
134 'show' => esc_url( 'https://open.spotify.com/show/%powerkit_social_links_spotify_user%' ),
135 'artist' => esc_url( 'https://open.spotify.com/artist/%powerkit_social_links_spotify_user%' ),
136 ),
137 ),
138 'fields' => array(
139 'powerkit_social_links_spotify_type' => array(
140 'title' => esc_html__( 'Spotify Type', 'powerkit' ),
141 'options' => array(
142 'user' => esc_html__( 'User', 'powerkit' ),
143 'show' => esc_html__( 'Show', 'powerkit' ),
144 'artist' => esc_html__( 'Artist', 'powerkit' ),
145 ),
146 ),
147 'powerkit_social_links_spotify_user' => esc_html__( 'Spotify User or Show ID', 'powerkit' ),
148 ),
149 );
150
151 // Dribbble.
152 $list['dribbble'] = array(
153 'id' => 'dribbble',
154 'name' => esc_html__( 'Dribbble', 'powerkit' ),
155 'label' => esc_html__( 'Followers', 'powerkit' ),
156 'link' => esc_url( 'https://dribbble.com/%powerkit_social_links_dribbble_user%' ),
157 'fields' => array(
158 'powerkit_social_links_dribbble_user' => esc_html__( 'Dribbble User ID', 'powerkit' ),
159 'powerkit_social_links_dribbble_override' => esc_html__( 'Manual Count Override', 'powerkit' ),
160 ),
161 );
162
163 // Behance.
164 $list['behance'] = array(
165 'id' => 'behance',
166 'name' => esc_html__( 'Behance', 'powerkit' ),
167 'label' => esc_html__( 'Followers', 'powerkit' ),
168 'link' => esc_url( 'https://www.behance.net/%powerkit_social_links_behance_user%' ),
169 'fields' => array(
170 'powerkit_social_links_behance_user' => esc_html__( 'Behance User ID', 'powerkit' ),
171 'powerkit_social_links_behance_override' => esc_html__( 'Manual Count Override', 'powerkit' ),
172 ),
173 );
174
175 // GitHub.
176 $list['github'] = array(
177 'id' => 'github',
178 'name' => esc_html__( 'GitHub', 'powerkit' ),
179 'label' => esc_html__( 'Followers', 'powerkit' ),
180 'link' => esc_url( 'https://github.com/%powerkit_social_links_github_user%' ),
181 'fields' => array(
182 'powerkit_social_links_github_user' => esc_html__( 'GitHub User ID', 'powerkit' ),
183 'powerkit_social_links_github_override' => esc_html__( 'Manual Count Override', 'powerkit' ),
184 ),
185 );
186
187 // Odnoklassniki.
188 $list['ok'] = array(
189 'id' => 'ok',
190 'name' => esc_html__( 'Odnoklassniki', 'powerkit' ),
191 'label' => esc_html__( 'Followers', 'powerkit' ),
192 'link' => array(
193 'powerkit_social_links_ok_type' => array(
194 'profile' => esc_url( 'https://ok.ru/profile/%powerkit_social_links_ok_slug%' ),
195 'profile_name' => esc_url( 'https://ok.ru/%powerkit_social_links_ok_slug%' ),
196 'group' => esc_url( 'https://ok.ru/group/%powerkit_social_links_ok_slug%' ),
197 'group_name' => esc_url( 'https://ok.ru/%powerkit_social_links_ok_slug%' ),
198 ),
199 ),
200 'fields' => array(
201 'powerkit_social_links_ok_type' => array(
202 'title' => esc_html__( 'Type', 'powerkit' ),
203 'options' => array(
204 'profile' => esc_html__( 'Profile ID', 'powerkit' ),
205 'profile_name' => esc_html__( 'Profile Name', 'powerkit' ),
206 'group' => esc_html__( 'Group ID', 'powerkit' ),
207 'group_name' => esc_html__( 'Group Name', 'powerkit' ),
208 ),
209 ),
210 'powerkit_social_links_ok_slug' => esc_html__( 'Odnoklassniki Slug / ID', 'powerkit' ),
211 'powerkit_social_links_ok_override' => esc_html__( 'Manual Count Override', 'powerkit' ),
212 ),
213 );
214
215 // VK.
216 $list['vk'] = array(
217 'id' => 'vk',
218 'name' => esc_html__( 'VK', 'powerkit' ),
219 'label' => esc_html__( 'Followers', 'powerkit' ),
220 'link' => array(
221 'powerkit_social_links_vk_type' => array(
222 'group' => esc_url( 'https://vk.com/%powerkit_social_links_vk_id%' ),
223 'user' => esc_url( 'https://vk.com/%powerkit_social_links_vk_id%' ),
224 ),
225 ),
226 'fields' => array(
227 'powerkit_social_links_vk_type' => array(
228 'title' => esc_html__( 'Profile Type', 'powerkit' ),
229 'options' => array(
230 'group' => esc_html__( 'Group', 'powerkit' ),
231 'user' => esc_html__( 'User', 'powerkit' ),
232 ),
233 ),
234 'powerkit_social_links_vk_id' => esc_html__( 'Group or User ID', 'powerkit' ),
235 'powerkit_social_links_vk_override' => esc_html__( 'Manual Count Override', 'powerkit' ),
236 ),
237 );
238
239 // Xing.
240 $list['xing'] = array(
241 'id' => 'xing',
242 'name' => esc_html__( 'Xing', 'powerkit' ),
243 'label' => esc_html__( 'Follow', 'powerkit' ),
244 'link' => array(
245 'powerkit_social_links_xing_type' => array(
246 'personal' => esc_url( 'https://www.xing.com/profile/%powerkit_social_links_xing_slug%' ),
247 'company' => esc_url( 'https://www.xing.com/companies/%powerkit_social_links_xing_slug%' ),
248 ),
249 ),
250 'fields' => array(
251 'powerkit_social_links_xing_type' => array(
252 'title' => esc_html__( 'Profile Type', 'powerkit' ),
253 'options' => array(
254 'personal' => esc_html__( 'Personal', 'powerkit' ),
255 'company' => esc_html__( 'Company', 'powerkit' ),
256 ),
257 ),
258 'powerkit_social_links_xing_slug' => esc_html__( 'Xing Company or User ID', 'powerkit' ),
259 ),
260 );
261
262 // LinkedIn.
263 $list['linkedin'] = array(
264 'id' => 'linkedin',
265 'name' => esc_html__( 'LinkedIn', 'powerkit' ),
266 'label' => esc_html__( 'Followers', 'powerkit' ),
267 'link' => array(
268 'powerkit_social_links_linkedin_channel_type' => array(
269 'personal' => esc_url( 'https://www.linkedin.com/in/%powerkit_social_links_linkedin_slug%' ),
270 'business' => esc_url( 'https://www.linkedin.com/company/%powerkit_social_links_linkedin_slug%' ),
271 ),
272 ),
273 'fields' => array(
274 'powerkit_social_links_linkedin_channel_type' => array(
275 'title' => esc_html__( 'Profile Type', 'powerkit' ),
276 'options' => array(
277 'personal' => esc_html__( 'Personal', 'powerkit' ),
278 'business' => esc_html__( 'Business', 'powerkit' ),
279 ),
280 ),
281 'powerkit_social_links_linkedin_slug' => esc_html__( 'LinkedIn Company or User ID', 'powerkit' ),
282 ),
283 );
284
285 // Twitch.
286 $list['twitch'] = array(
287 'id' => 'twitch',
288 'name' => esc_html__( 'Twitch', 'powerkit' ),
289 'label' => esc_html__( 'Followers', 'powerkit' ),
290 'link' => 'https://www.twitch.tv/%powerkit_social_links_twitch_user_id%',
291 'fields' => array(
292 'powerkit_social_links_twitch_user_id' => esc_html__( 'Twitch Channel ID', 'powerkit' ),
293 'powerkit_social_links_twitch_override' => esc_html__( 'Manual Count Override', 'powerkit' ),
294 ),
295 );
296
297 // Flickr.
298 $list['flickr'] = array(
299 'id' => 'flickr',
300 'name' => esc_html__( 'Flickr', 'powerkit' ),
301 'label' => esc_html__( 'Follow', 'powerkit' ),
302 'link' => 'https://www.flickr.com/photos/%powerkit_social_links_flickr_user_id%',
303 'fields' => array(
304 'powerkit_social_links_flickr_user_id' => esc_html__( 'User ID', 'powerkit' ),
305 'powerkit_social_links_flickr_override' => esc_html__( 'Manual Count Override', 'powerkit' ),
306 ),
307 );
308
309 // Snapchat.
310 $list['snapchat'] = array(
311 'id' => 'snapchat',
312 'name' => esc_html__( 'Snapchat', 'powerkit' ),
313 'label' => esc_html__( 'Follow', 'powerkit' ),
314 'link' => 'https://www.snapchat.com/add/%powerkit_social_links_snapchat_user%',
315 'fields' => array(
316 'powerkit_social_links_snapchat_user' => esc_html__( 'Account Name', 'powerkit' ),
317 ),
318 );
319
320 // Medium.
321 $list['medium'] = array(
322 'id' => 'medium',
323 'name' => esc_html__( 'Medium', 'powerkit' ),
324 'label' => esc_html__( 'Followers', 'powerkit' ),
325 'link' => 'https://medium.com/%powerkit_social_links_medium_user%',
326 'fields' => array(
327 'powerkit_social_links_medium_user' => esc_html__( 'Medium Username', 'powerkit' ) . '<p class="description">Example: @user_name</p>',
328 'powerkit_social_links_medium_override' => esc_html__( 'Manual Count Override', 'powerkit' ),
329 ),
330 );
331
332 // Strava.
333 $list['strava'] = array(
334 'id' => 'strava',
335 'name' => esc_html__( 'Strava', 'powerkit' ),
336 'label' => esc_html__( 'Followers', 'powerkit' ),
337 'link' => 'https://www.strava.com/athletes/%powerkit_social_links_strava_user%',
338 'fields' => array(
339 'powerkit_social_links_strava_user' => esc_html__( 'Strava User ID', 'powerkit' ),
340 'powerkit_social_links_strava_override' => esc_html__( 'Manual Count Override', 'powerkit' ),
341 ),
342 );
343
344 // Tumblr.
345 $list['tumblr'] = array(
346 'id' => 'tumblr',
347 'name' => esc_html__( 'Tumblr', 'powerkit' ),
348 'label' => esc_html__( 'Followers', 'powerkit' ),
349 'link' => '%powerkit_social_links_tumblr_url%',
350 'fields' => array(
351 'powerkit_social_links_tumblr_url' => esc_html__( 'Tumblr URL', 'powerkit' ),
352 ),
353 );
354
355 // Reddit.
356 $list['reddit'] = array(
357 'id' => 'reddit',
358 'name' => esc_html__( 'Reddit', 'powerkit' ),
359 'label' => esc_html__( 'Subscribers', 'powerkit' ),
360 'link' => array(
361 'powerkit_social_links_reddit_type' => array(
362 'subreddit' => esc_url( 'https://www.reddit.com/r/%powerkit_social_links_reddit_user%' ),
363 'user' => esc_url( 'https://www.reddit.com/user/%powerkit_social_links_reddit_user%' ),
364 ),
365 ),
366 'fields' => array(
367 'powerkit_social_links_reddit_type' => array(
368 'title' => esc_html__( 'Type', 'powerkit' ),
369 'options' => array(
370 'subreddit' => esc_html__( 'Subreddit', 'powerkit' ),
371 'user' => esc_html__( 'User', 'powerkit' ),
372 ),
373 ),
374 'powerkit_social_links_reddit_user' => esc_html__( 'Subreddit Name or Reddit User ', 'powerkit' ),
375 'powerkit_social_links_reddit_override' => esc_html__( 'Manual Count Override', 'powerkit' ),
376 ),
377 );
378
379 // Bloglovin.
380 $list['bloglovin'] = array(
381 'id' => 'bloglovin',
382 'name' => esc_html__( 'Bloglovin', 'powerkit' ),
383 'label' => esc_html__( 'Followers', 'powerkit' ),
384 'link' => '%powerkit_social_links_bloglovin_url%',
385 'fields' => array(
386 'powerkit_social_links_bloglovin_url' => esc_html__( 'Bloglovin URL', 'powerkit' ),
387 ),
388 );
389
390 // Weibo.
391 $list['weibo'] = array(
392 'id' => 'weibo',
393 'name' => esc_html__( 'Weibo', 'powerkit' ),
394 'label' => esc_html__( 'Follow', 'powerkit' ),
395 'link' => 'https://www.weibo.com/%powerkit_social_links_weibo_user%',
396 'fields' => array(
397 'powerkit_social_links_weibo_user' => esc_html__( 'Username', 'powerkit' ),
398 ),
399 );
400
401 // WeChat.
402 $list['wechat'] = array(
403 'id' => 'wechat',
404 'name' => esc_html__( 'WeChat', 'powerkit' ),
405 'label' => esc_html__( 'Follow', 'powerkit' ),
406 'link' => 'https://web.wechat.com/%powerkit_social_links_wechat_user%',
407 'fields' => array(
408 'powerkit_social_links_wechat_user' => esc_html__( 'Username', 'powerkit' ),
409 ),
410 );
411
412 // TikTok.
413 $list['tiktok'] = array(
414 'id' => 'tiktok',
415 'name' => esc_html__( 'TikTok', 'powerkit' ),
416 'label' => esc_html__( 'Followers', 'powerkit' ),
417 'link' => '%powerkit_social_links_tiktok_url%',
418 'fields' => array(
419 'powerkit_social_links_tiktok_url' => esc_html__( 'TikTok URL', 'powerkit' ),
420 ),
421 );
422
423 // Discord.
424 $list['discord'] = array(
425 'id' => 'discord',
426 'name' => esc_html__( 'Discord', 'powerkit' ),
427 'label' => esc_html__( 'Followers', 'powerkit' ),
428 'link' => '%powerkit_social_links_discord_url%',
429 'fields' => array(
430 'powerkit_social_links_discord_url' => esc_html__( 'Discord URL', 'powerkit' ),
431 ),
432 );
433
434 // Steam.
435 $list['steam'] = array(
436 'id' => 'steam',
437 'name' => esc_html__( 'Steam', 'powerkit' ),
438 'label' => esc_html__( 'Followers', 'powerkit' ),
439 'link' => '%powerkit_social_links_steam_url%',
440 'fields' => array(
441 'powerkit_social_links_steam_url' => esc_html__( 'Steam URL', 'powerkit' ),
442 ),
443 );
444
445 // TripAdvisor.
446 $list['tripadvisor'] = array(
447 'id' => 'tripadvisor',
448 'name' => esc_html__( 'TripAdvisor', 'powerkit' ),
449 'label' => esc_html__( 'Followers', 'powerkit' ),
450 'link' => '%powerkit_social_links_tripadvisor_url%',
451 'fields' => array(
452 'powerkit_social_links_tripadvisor_url' => esc_html__( 'TripAdvisor URL', 'powerkit' ),
453 ),
454 );
455
456 // Thumbtack.
457 $list['thumbtack'] = array(
458 'id' => 'thumbtack',
459 'name' => esc_html__( 'Thumbtack', 'powerkit' ),
460 'label' => esc_html__( 'Followers', 'powerkit' ),
461 'link' => '%powerkit_social_links_thumbtack_url%',
462 'fields' => array(
463 'powerkit_social_links_thumbtack_url' => esc_html__( 'Thumbtack URL', 'powerkit' ),
464 ),
465 );
466
467 // Android.
468 $list['android'] = array(
469 'id' => 'android',
470 'name' => esc_html__( 'Android', 'powerkit' ),
471 'label' => esc_html__( 'Followers', 'powerkit' ),
472 'link' => '%powerkit_social_links_android_url%',
473 'fields' => array(
474 'powerkit_social_links_android_url' => esc_html__( 'Android URL', 'powerkit' ),
475 ),
476 );
477
478 // Apple.
479 $list['apple'] = array(
480 'id' => 'apple',
481 'name' => esc_html__( 'Apple', 'powerkit' ),
482 'label' => esc_html__( 'Followers', 'powerkit' ),
483 'link' => '%powerkit_social_links_apple_url%',
484 'fields' => array(
485 'powerkit_social_links_apple_url' => esc_html__( 'Apple URL', 'powerkit' ),
486 ),
487 );
488
489 // Meetup.
490 $list['meetup'] = array(
491 'id' => 'meetup',
492 'name' => esc_html__( 'Meetup', 'powerkit' ),
493 'label' => esc_html__( 'Followers', 'powerkit' ),
494 'link' => '%powerkit_social_links_meetup_url%',
495 'fields' => array(
496 'powerkit_social_links_meetup_url' => esc_html__( 'Meetup URL', 'powerkit' ),
497 ),
498 );
499
500 // 500px.
501 $list['500px'] = array(
502 'id' => '500px',
503 'name' => esc_html__( '500px', 'powerkit' ),
504 'label' => esc_html__( 'Followers', 'powerkit' ),
505 'link' => '%powerkit_social_links_500px_url%',
506 'fields' => array(
507 'powerkit_social_links_500px_url' => esc_html__( '500px URL', 'powerkit' ),
508 ),
509 );
510
511 // Yelp.
512 $list['yelp'] = array(
513 'id' => 'yelp',
514 'name' => esc_html__( 'Yelp', 'powerkit' ),
515 'label' => esc_html__( 'Followers', 'powerkit' ),
516 'link' => '%powerkit_social_links_yelp_url%',
517 'fields' => array(
518 'powerkit_social_links_yelp_url' => esc_html__( 'Yelp URL', 'powerkit' ),
519 ),
520 );
521
522 // CodePen.
523 $list['codepen'] = array(
524 'id' => 'codepen',
525 'name' => esc_html__( 'CodePen', 'powerkit' ),
526 'label' => esc_html__( 'Followers', 'powerkit' ),
527 'link' => '%powerkit_social_links_codepen_url%',
528 'fields' => array(
529 'powerkit_social_links_codepen_url' => esc_html__( 'CodePen URL', 'powerkit' ),
530 ),
531 );
532
533 // GitHub.
534 $list['github'] = array(
535 'id' => 'github',
536 'name' => esc_html__( 'GitHub', 'powerkit' ),
537 'label' => esc_html__( 'Followers', 'powerkit' ),
538 'link' => esc_url( 'https://github.com/%powerkit_social_links_github_user%' ),
539 'fields' => array(
540 'powerkit_social_links_github_user' => esc_html__( 'GitHub User ID', 'powerkit' ),
541 ),
542 );
543
544 // GitLab.
545 $list['gitlab'] = array(
546 'id' => 'gitlab',
547 'name' => esc_html__( 'GitLab', 'powerkit' ),
548 'label' => esc_html__( 'Followers', 'powerkit' ),
549 'link' => '%powerkit_social_links_gitlab_url%',
550 'fields' => array(
551 'powerkit_social_links_gitlab_url' => esc_html__( 'GitLab URL', 'powerkit' ),
552 ),
553 );
554
555 // Bitbucket.
556 $list['bitbucket'] = array(
557 'id' => 'bitbucket',
558 'name' => esc_html__( 'Bitbucket', 'powerkit' ),
559 'label' => esc_html__( 'Followers', 'powerkit' ),
560 'link' => '%powerkit_social_links_bitbucket_url%',
561 'fields' => array(
562 'powerkit_social_links_bitbucket_url' => esc_html__( 'Bitbucket URL', 'powerkit' ),
563 ),
564 );
565
566 // freeCodeCamp.
567 $list['freecodecamp'] = array(
568 'id' => 'freecodecamp',
569 'name' => esc_html__( 'freeCodeCamp', 'powerkit' ),
570 'label' => esc_html__( 'Followers', 'powerkit' ),
571 'link' => '%powerkit_social_links_freecodecamp_url%',
572 'fields' => array(
573 'powerkit_social_links_freecodecamp_url' => esc_html__( 'freeCodeCamp URL', 'powerkit' ),
574 ),
575 );
576
577 // JSFiddle.
578 $list['jsfiddle'] = array(
579 'id' => 'jsfiddle',
580 'name' => esc_html__( 'JSFiddle', 'powerkit' ),
581 'label' => esc_html__( 'Followers', 'powerkit' ),
582 'link' => '%powerkit_social_links_jsfiddle_url%',
583 'fields' => array(
584 'powerkit_social_links_jsfiddle_url' => esc_html__( 'JSFiddle URL', 'powerkit' ),
585 ),
586 );
587
588 // Delicious.
589 $list['delicious'] = array(
590 'id' => 'delicious',
591 'name' => esc_html__( 'Delicious', 'powerkit' ),
592 'label' => esc_html__( 'Followers', 'powerkit' ),
593 'link' => '%powerkit_social_links_delicious_url%',
594 'fields' => array(
595 'powerkit_social_links_delicious_url' => esc_html__( 'Delicious URL', 'powerkit' ),
596 ),
597 );
598
599 // DeviantArt.
600 $list['deviantart'] = array(
601 'id' => 'deviantart',
602 'name' => esc_html__( 'DeviantArt', 'powerkit' ),
603 'label' => esc_html__( 'Followers', 'powerkit' ),
604 'link' => '%powerkit_social_links_deviantart_url%',
605 'fields' => array(
606 'powerkit_social_links_deviantart_url' => esc_html__( 'DeviantArt URL', 'powerkit' ),
607 ),
608 );
609
610 // Foursquare.
611 $list['foursquare'] = array(
612 'id' => 'foursquare',
613 'name' => esc_html__( 'Foursquare', 'powerkit' ),
614 'label' => esc_html__( 'Followers', 'powerkit' ),
615 'link' => '%powerkit_social_links_foursquare_url%',
616 'fields' => array(
617 'powerkit_social_links_foursquare_url' => esc_html__( 'Foursquare URL', 'powerkit' ),
618 ),
619 );
620
621 // Houzz.
622 $list['houzz'] = array(
623 'id' => 'houzz',
624 'name' => esc_html__( 'Houzz', 'powerkit' ),
625 'label' => esc_html__( 'Followers', 'powerkit' ),
626 'link' => '%powerkit_social_links_houzz_url%',
627 'fields' => array(
628 'powerkit_social_links_houzz_url' => esc_html__( 'Houzz URL', 'powerkit' ),
629 ),
630 );
631
632 // Product Hunt.
633 $list['producthunt'] = array(
634 'id' => 'producthunt',
635 'name' => esc_html__( 'Product Hunt', 'powerkit' ),
636 'label' => esc_html__( 'Followers', 'powerkit' ),
637 'link' => '%powerkit_social_links_producthunt_url%',
638 'fields' => array(
639 'powerkit_social_links_producthunt_url' => esc_html__( 'Product Hunt URL', 'powerkit' ),
640 ),
641 );
642
643 // Slideshare.
644 $list['slideshare'] = array(
645 'id' => 'slideshare',
646 'name' => esc_html__( 'Slideshare', 'powerkit' ),
647 'label' => esc_html__( 'Followers', 'powerkit' ),
648 'link' => '%powerkit_social_links_slideshare_url%',
649 'fields' => array(
650 'powerkit_social_links_slideshare_url' => esc_html__( 'Slideshare URL', 'powerkit' ),
651 ),
652 );
653
654 // Goodreads.
655 $list['goodreads'] = array(
656 'id' => 'goodreads',
657 'name' => esc_html__( 'Goodreads', 'powerkit' ),
658 'label' => esc_html__( 'Followers', 'powerkit' ),
659 'link' => '%powerkit_social_links_goodreads_url%',
660 'fields' => array(
661 'powerkit_social_links_goodreads_url' => esc_html__( 'Goodreads URL', 'powerkit' ),
662 ),
663 );
664
665 // Mastodon.
666 $list['mastodon'] = array(
667 'id' => 'mastodon',
668 'name' => esc_html__( 'Mastodon', 'powerkit' ),
669 'label' => esc_html__( 'Followers', 'powerkit' ),
670 'link' => '%powerkit_social_links_mastodon_url%',
671 'fields' => array(
672 'powerkit_social_links_mastodon_url' => esc_html__( 'Mastodon URL', 'powerkit' ),
673 ),
674 );
675
676 // PixelFed.
677 $list['pixelfed'] = array(
678 'id' => 'pixelfed',
679 'name' => esc_html__( 'PixelFed', 'powerkit' ),
680 'label' => esc_html__( 'Followers', 'powerkit' ),
681 'link' => '%powerkit_social_links_pixelfed_url%',
682 'fields' => array(
683 'powerkit_social_links_pixelfed_url' => esc_html__( 'PixelFed URL', 'powerkit' ),
684 ),
685 );
686
687 // Micro.blog.
688 $list['microblog'] = array(
689 'id' => 'microblog',
690 'name' => esc_html__( 'Micro.blog', 'powerkit' ),
691 'label' => esc_html__( 'Followers', 'powerkit' ),
692 'link' => '%powerkit_social_links_microblog_url%',
693 'fields' => array(
694 'powerkit_social_links_microblog_url' => esc_html__( 'Micro.blog URL', 'powerkit' ),
695 ),
696 );
697
698 // Phone.
699 $list['phone'] = array(
700 'id' => 'phone',
701 'name' => esc_html__( 'Phone', 'powerkit' ),
702 'label' => esc_html__( 'phone', 'powerkit' ),
703 'link' => 'tel:%powerkit_social_links_phone_tel%',
704 'fields' => array(
705 'powerkit_social_links_phone_tel' => esc_html__( 'Phone', 'powerkit' ),
706 ),
707 );
708
709 // Viber.
710 $list['viber'] = array(
711 'id' => 'viber',
712 'name' => esc_html__( 'Viber', 'powerkit' ),
713 'label' => esc_html__( 'Call', 'powerkit' ),
714 'link' => 'tel:%powerkit_social_links_viber_tel%',
715 'fields' => array(
716 'powerkit_social_links_viber_tel' => esc_html__( 'Phone', 'powerkit' ),
717 ),
718 );
719
720 // WhatsApp.
721 $list['whatsapp'] = array(
722 'id' => 'whatsapp',
723 'name' => esc_html__( 'WhatsApp', 'powerkit' ),
724 'label' => esc_html__( 'Call', 'powerkit' ),
725 'link' => 'tel:%powerkit_social_links_whatsapp_tel%',
726 'fields' => array(
727 'powerkit_social_links_whatsapp_tel' => esc_html__( 'Phone', 'powerkit' ),
728 ),
729 );
730
731 // Mail.
732 $list['mail'] = array(
733 'id' => 'mail',
734 'name' => esc_html__( 'Mail', 'powerkit' ),
735 'label' => esc_html__( 'Send', 'powerkit' ),
736 'link' => 'mailto:%powerkit_social_links_email%',
737 'fields' => array(
738 'powerkit_social_links_email' => esc_html__( 'Email', 'powerkit' ),
739 ),
740 );
741
742 // RSS.
743 $list['rss'] = array(
744 'id' => 'rss',
745 'name' => esc_html__( 'RSS', 'powerkit' ),
746 'label' => esc_html__( 'Feed', 'powerkit' ),
747 'link' => '%powerkit_social_links_rss_url%',
748 'fields' => array(
749 'powerkit_social_links_rss_url' => esc_html__( 'RSS URL', 'powerkit' ),
750 ),
751 );
752
753 return $list;
754 }
755 add_filter( 'powerkit_social_links_list', 'powerkit_social_links_list' );
756