diff --git a/wp-content/themes/wp-starter/functions.php b/wp-content/themes/wp-starter/functions.php index a3cf2056..59389b86 100644 --- a/wp-content/themes/wp-starter/functions.php +++ b/wp-content/themes/wp-starter/functions.php @@ -26,3 +26,6 @@ // Block Functions. require_once get_stylesheet_directory() . '/inc/blocks.php'; + +// Custom Icons. +require_once get_stylesheet_directory() . '/inc/icons.php'; diff --git a/wp-content/themes/wp-starter/inc/icons.php b/wp-content/themes/wp-starter/inc/icons.php new file mode 100644 index 00000000..06f1acc1 --- /dev/null +++ b/wp-content/themes/wp-starter/inc/icons.php @@ -0,0 +1,28 @@ + __( 'YOUR LABEL', 'wp-starter' ), + 'icon' => file_get_contents( $icon_path . 'file-name.svg' ), + 'defaultLeft' => false, + ];*/ + + return $icons; + } +); diff --git a/wp-content/themes/wp-starter/src/images/accordion-icon.svg b/wp-content/themes/wp-starter/src/images/icons/accordion-icon.svg similarity index 100% rename from wp-content/themes/wp-starter/src/images/accordion-icon.svg rename to wp-content/themes/wp-starter/src/images/icons/accordion-icon.svg diff --git a/wp-content/themes/wp-starter/src/images/logo-grid-icon.svg b/wp-content/themes/wp-starter/src/images/icons/logo-grid-icon.svg similarity index 100% rename from wp-content/themes/wp-starter/src/images/logo-grid-icon.svg rename to wp-content/themes/wp-starter/src/images/icons/logo-grid-icon.svg diff --git a/wp-content/themes/wp-starter/src/images/text-cards-icon.svg b/wp-content/themes/wp-starter/src/images/icons/text-cards-icon.svg similarity index 100% rename from wp-content/themes/wp-starter/src/images/text-cards-icon.svg rename to wp-content/themes/wp-starter/src/images/icons/text-cards-icon.svg diff --git a/wp-content/themes/wp-starter/src/images/text-icon-card-icon.svg b/wp-content/themes/wp-starter/src/images/icons/text-icon-card-icon.svg similarity index 100% rename from wp-content/themes/wp-starter/src/images/text-icon-card-icon.svg rename to wp-content/themes/wp-starter/src/images/icons/text-icon-card-icon.svg diff --git a/wp-content/themes/wp-starter/src/images/text-icon-placeholder.svg b/wp-content/themes/wp-starter/src/images/icons/text-icon-placeholder.svg similarity index 100% rename from wp-content/themes/wp-starter/src/images/text-icon-placeholder.svg rename to wp-content/themes/wp-starter/src/images/icons/text-icon-placeholder.svg