forked from nickcernis/ssi-custom-icons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
45 lines (44 loc) · 1.53 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
/**
* Custom icons you would like to add.
*
* Each icon array must have these values:
*
* label: The label for front end HTML. Used by screen readers and search engines.
* widget_label: The label that appears above the admin widget field.
* short_name: Used in icon attributes.
* path: The path to your icon file. # denotes the ID.
* default: The default text in the widget field. Usually blank.
*
* @package SSICustom
*/
return [
[
'label' => __( 'Spotify', 'ssi-custom-icons' ),
'widget_label' => __( 'Spotify URI', 'ssi-custom-icons' ),
'short_name' => 'spotify',
'path' => esc_url( plugin_dir_url( __FILE__ ) . 'icons/custom.svg#social-spotify' ),
'default' => '',
],
[
'label' => __( 'Etsy', 'ssi-custom-icons' ),
'widget_label' => __( 'Etsy URI', 'ssi-custom-icons' ),
'short_name' => 'etsy',
'path' => esc_url( plugin_dir_url( __FILE__ ) . 'icons/custom.svg#social-etsy' ),
'default' => '',
],
[
'label' => __( 'Codepen', 'ssi-custom-icons' ),
'widget_label' => __( 'Codepen URI', 'ssi-custom-icons' ),
'short_name' => 'codepen',
'path' => esc_url( plugin_dir_url( __FILE__ ) . 'icons/custom.svg#social-codepen' ),
'default' => '',
],
[
'label' => __( 'Goodreads', 'ssi-custom-icons' ),
'widget_label' => __( 'Goodreads URI', 'ssi-custom-icons' ),
'short_name' => 'goodreads',
'path' => esc_url( plugin_dir_url( __FILE__ ) . 'icons/custom.svg#social-goodreads' ),
'default' => '',
],
];