diff --git a/README.md b/README.md index 9543a8f6..32a398c2 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ **Contributors:** [wpzoom](https://profiles.wordpress.org/wpzoom/) **Requires at least:** 6.4 **Tested up to:** 7.0 -**Version:** 2.2.3 +**Version:** 2.2.4 **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html **Tags:** one-column, right-sidebar, flexible-header, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready @@ -98,6 +98,18 @@ Included as part of the following classes and functions: - inspiro_get_theme_svg() - inspiro_dropdown_icon_to_menu_link() +Heroicons, Copyright (c) Tailwind Labs, Inc. +License: MIT +Source: https://github.com/tailwindlabs/heroicons +Included as the SVG files in assets/icons/, registered with the WordPress +Icons API in inc/icons.php. + +Simple Icons +License: CC0 1.0 Universal (CC0 1.0) +Source: https://github.com/simple-icons/simple-icons +Included as the SVG files in assets/icons/social/, registered with the +WordPress Icons API in inc/icons.php. + Bundled header image, Jeremy Bishop License: CC0 1.0 Universal (CC0 1.0) Source: https://stocksnap.io/photo/sea-ocean-ECZV5RZKSZ @@ -118,6 +130,10 @@ Screenshot image: generated using AI (ChatGPT) ## Changelog ## +### 2.2.4 ### +* New: Icon collections registered with the Icons API in WordPress 7.1, making 80 theme icons selectable in the Icon block +* New: "Social" icon collection with 19 social network icons, including Facebook, Instagram, X, YouTube and TikTok + ### 2.2.3 ### * New: AI Demo Generator from the free Inspiro Starter Sites plugin * Fixed: Footer widget titles using headings other than H2 were not visible diff --git a/assets/icons/academic-cap.svg b/assets/icons/academic-cap.svg new file mode 100644 index 00000000..cf23a7c3 --- /dev/null +++ b/assets/icons/academic-cap.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/arrow-down.svg b/assets/icons/arrow-down.svg new file mode 100644 index 00000000..dfeb0aaa --- /dev/null +++ b/assets/icons/arrow-down.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/arrow-left.svg b/assets/icons/arrow-left.svg new file mode 100644 index 00000000..1be1eb58 --- /dev/null +++ b/assets/icons/arrow-left.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/arrow-long-right.svg b/assets/icons/arrow-long-right.svg new file mode 100644 index 00000000..f48e4705 --- /dev/null +++ b/assets/icons/arrow-long-right.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/arrow-right.svg b/assets/icons/arrow-right.svg new file mode 100644 index 00000000..eb47cd66 --- /dev/null +++ b/assets/icons/arrow-right.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/arrow-up-right.svg b/assets/icons/arrow-up-right.svg new file mode 100644 index 00000000..9ede8b20 --- /dev/null +++ b/assets/icons/arrow-up-right.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/banknotes.svg b/assets/icons/banknotes.svg new file mode 100644 index 00000000..ba8dc3ea --- /dev/null +++ b/assets/icons/banknotes.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/bolt.svg b/assets/icons/bolt.svg new file mode 100644 index 00000000..b1c88236 --- /dev/null +++ b/assets/icons/bolt.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/book-open.svg b/assets/icons/book-open.svg new file mode 100644 index 00000000..775cfe53 --- /dev/null +++ b/assets/icons/book-open.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/briefcase.svg b/assets/icons/briefcase.svg new file mode 100644 index 00000000..5511dedb --- /dev/null +++ b/assets/icons/briefcase.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/building.svg b/assets/icons/building.svg new file mode 100644 index 00000000..a80f32a6 --- /dev/null +++ b/assets/icons/building.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/cake.svg b/assets/icons/cake.svg new file mode 100644 index 00000000..509cfa39 --- /dev/null +++ b/assets/icons/cake.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/calendar.svg b/assets/icons/calendar.svg new file mode 100644 index 00000000..e43ae7e8 --- /dev/null +++ b/assets/icons/calendar.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/camera.svg b/assets/icons/camera.svg new file mode 100644 index 00000000..3e8e19e4 --- /dev/null +++ b/assets/icons/camera.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/chart-bar.svg b/assets/icons/chart-bar.svg new file mode 100644 index 00000000..b1aeba9e --- /dev/null +++ b/assets/icons/chart-bar.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/chart-pie.svg b/assets/icons/chart-pie.svg new file mode 100644 index 00000000..0eff6ff6 --- /dev/null +++ b/assets/icons/chart-pie.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/chat.svg b/assets/icons/chat.svg new file mode 100644 index 00000000..136520c1 --- /dev/null +++ b/assets/icons/chat.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/check-badge.svg b/assets/icons/check-badge.svg new file mode 100644 index 00000000..ba712fb8 --- /dev/null +++ b/assets/icons/check-badge.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/check-circle.svg b/assets/icons/check-circle.svg new file mode 100644 index 00000000..86690b43 --- /dev/null +++ b/assets/icons/check-circle.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/check.svg b/assets/icons/check.svg new file mode 100644 index 00000000..81679c03 --- /dev/null +++ b/assets/icons/check.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/chevron-down.svg b/assets/icons/chevron-down.svg new file mode 100644 index 00000000..aee6f138 --- /dev/null +++ b/assets/icons/chevron-down.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/chevron-left.svg b/assets/icons/chevron-left.svg new file mode 100644 index 00000000..a48c3837 --- /dev/null +++ b/assets/icons/chevron-left.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/chevron-right.svg b/assets/icons/chevron-right.svg new file mode 100644 index 00000000..6f60cec8 --- /dev/null +++ b/assets/icons/chevron-right.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/clipboard-list.svg b/assets/icons/clipboard-list.svg new file mode 100644 index 00000000..dcefa1c3 --- /dev/null +++ b/assets/icons/clipboard-list.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/clock.svg b/assets/icons/clock.svg new file mode 100644 index 00000000..0b956dc7 --- /dev/null +++ b/assets/icons/clock.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/close.svg b/assets/icons/close.svg new file mode 100644 index 00000000..7eaf9ea4 --- /dev/null +++ b/assets/icons/close.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/conversation.svg b/assets/icons/conversation.svg new file mode 100644 index 00000000..373828d1 --- /dev/null +++ b/assets/icons/conversation.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/credit-card.svg b/assets/icons/credit-card.svg new file mode 100644 index 00000000..ee2cd85a --- /dev/null +++ b/assets/icons/credit-card.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/currency-dollar.svg b/assets/icons/currency-dollar.svg new file mode 100644 index 00000000..60457b5a --- /dev/null +++ b/assets/icons/currency-dollar.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/document-check.svg b/assets/icons/document-check.svg new file mode 100644 index 00000000..b7811387 --- /dev/null +++ b/assets/icons/document-check.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/document.svg b/assets/icons/document.svg new file mode 100644 index 00000000..cc08c0cd --- /dev/null +++ b/assets/icons/document.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/email.svg b/assets/icons/email.svg new file mode 100644 index 00000000..a9eef9bd --- /dev/null +++ b/assets/icons/email.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/external-link.svg b/assets/icons/external-link.svg new file mode 100644 index 00000000..2196de30 --- /dev/null +++ b/assets/icons/external-link.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/fire.svg b/assets/icons/fire.svg new file mode 100644 index 00000000..a14485b8 --- /dev/null +++ b/assets/icons/fire.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/gift.svg b/assets/icons/gift.svg new file mode 100644 index 00000000..104d4202 --- /dev/null +++ b/assets/icons/gift.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/globe.svg b/assets/icons/globe.svg new file mode 100644 index 00000000..7c0420bc --- /dev/null +++ b/assets/icons/globe.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/grid.svg b/assets/icons/grid.svg new file mode 100644 index 00000000..aed31575 --- /dev/null +++ b/assets/icons/grid.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/hand-raised.svg b/assets/icons/hand-raised.svg new file mode 100644 index 00000000..b2d2e7e5 --- /dev/null +++ b/assets/icons/hand-raised.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/heart.svg b/assets/icons/heart.svg new file mode 100644 index 00000000..dc0cae6d --- /dev/null +++ b/assets/icons/heart.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/home.svg b/assets/icons/home.svg new file mode 100644 index 00000000..41714fd0 --- /dev/null +++ b/assets/icons/home.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/info.svg b/assets/icons/info.svg new file mode 100644 index 00000000..9d7f68e8 --- /dev/null +++ b/assets/icons/info.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/library.svg b/assets/icons/library.svg new file mode 100644 index 00000000..64ec3f65 --- /dev/null +++ b/assets/icons/library.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/lightbulb.svg b/assets/icons/lightbulb.svg new file mode 100644 index 00000000..e7370737 --- /dev/null +++ b/assets/icons/lightbulb.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/lock.svg b/assets/icons/lock.svg new file mode 100644 index 00000000..06154ec7 --- /dev/null +++ b/assets/icons/lock.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/map-pin.svg b/assets/icons/map-pin.svg new file mode 100644 index 00000000..08132c40 --- /dev/null +++ b/assets/icons/map-pin.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/megaphone.svg b/assets/icons/megaphone.svg new file mode 100644 index 00000000..44526340 --- /dev/null +++ b/assets/icons/megaphone.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/menu.svg b/assets/icons/menu.svg new file mode 100644 index 00000000..c92daff5 --- /dev/null +++ b/assets/icons/menu.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/microphone.svg b/assets/icons/microphone.svg new file mode 100644 index 00000000..49d3dff7 --- /dev/null +++ b/assets/icons/microphone.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/minus.svg b/assets/icons/minus.svg new file mode 100644 index 00000000..20f412a9 --- /dev/null +++ b/assets/icons/minus.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/music.svg b/assets/icons/music.svg new file mode 100644 index 00000000..358fee82 --- /dev/null +++ b/assets/icons/music.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/paint-brush.svg b/assets/icons/paint-brush.svg new file mode 100644 index 00000000..32a830ec --- /dev/null +++ b/assets/icons/paint-brush.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/phone.svg b/assets/icons/phone.svg new file mode 100644 index 00000000..dd89657b --- /dev/null +++ b/assets/icons/phone.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/photo.svg b/assets/icons/photo.svg new file mode 100644 index 00000000..b965b44f --- /dev/null +++ b/assets/icons/photo.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/play.svg b/assets/icons/play.svg new file mode 100644 index 00000000..132216e3 --- /dev/null +++ b/assets/icons/play.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/plus-circle.svg b/assets/icons/plus-circle.svg new file mode 100644 index 00000000..d0777b22 --- /dev/null +++ b/assets/icons/plus-circle.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/presentation.svg b/assets/icons/presentation.svg new file mode 100644 index 00000000..c948b1cc --- /dev/null +++ b/assets/icons/presentation.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/receipt-percent.svg b/assets/icons/receipt-percent.svg new file mode 100644 index 00000000..50e6824b --- /dev/null +++ b/assets/icons/receipt-percent.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/rectangle-group.svg b/assets/icons/rectangle-group.svg new file mode 100644 index 00000000..6d9539ce --- /dev/null +++ b/assets/icons/rectangle-group.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/rocket.svg b/assets/icons/rocket.svg new file mode 100644 index 00000000..e88e00da --- /dev/null +++ b/assets/icons/rocket.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/search.svg b/assets/icons/search.svg new file mode 100644 index 00000000..f6c9e603 --- /dev/null +++ b/assets/icons/search.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/send.svg b/assets/icons/send.svg new file mode 100644 index 00000000..139ec509 --- /dev/null +++ b/assets/icons/send.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/share.svg b/assets/icons/share.svg new file mode 100644 index 00000000..acd62293 --- /dev/null +++ b/assets/icons/share.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/shield-check.svg b/assets/icons/shield-check.svg new file mode 100644 index 00000000..6d75b683 --- /dev/null +++ b/assets/icons/shield-check.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/shopping-bag.svg b/assets/icons/shopping-bag.svg new file mode 100644 index 00000000..f61971e6 --- /dev/null +++ b/assets/icons/shopping-bag.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/shopping-cart.svg b/assets/icons/shopping-cart.svg new file mode 100644 index 00000000..2fbae5f7 --- /dev/null +++ b/assets/icons/shopping-cart.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/smile.svg b/assets/icons/smile.svg new file mode 100644 index 00000000..1e87ae8c --- /dev/null +++ b/assets/icons/smile.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/social/dribbble.svg b/assets/icons/social/dribbble.svg new file mode 100644 index 00000000..73cd7032 --- /dev/null +++ b/assets/icons/social/dribbble.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/social/etsy.svg b/assets/icons/social/etsy.svg new file mode 100644 index 00000000..0443b7c4 --- /dev/null +++ b/assets/icons/social/etsy.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/social/facebook.svg b/assets/icons/social/facebook.svg new file mode 100644 index 00000000..8549d26b --- /dev/null +++ b/assets/icons/social/facebook.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/social/github.svg b/assets/icons/social/github.svg new file mode 100644 index 00000000..534729a0 --- /dev/null +++ b/assets/icons/social/github.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/social/google.svg b/assets/icons/social/google.svg new file mode 100644 index 00000000..d73f140a --- /dev/null +++ b/assets/icons/social/google.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/social/instagram.svg b/assets/icons/social/instagram.svg new file mode 100644 index 00000000..779b0010 --- /dev/null +++ b/assets/icons/social/instagram.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/social/maildotru.svg b/assets/icons/social/maildotru.svg new file mode 100644 index 00000000..eace5d77 --- /dev/null +++ b/assets/icons/social/maildotru.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/social/medium.svg b/assets/icons/social/medium.svg new file mode 100644 index 00000000..14216d2f --- /dev/null +++ b/assets/icons/social/medium.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/social/patreon.svg b/assets/icons/social/patreon.svg new file mode 100644 index 00000000..43ab5d0a --- /dev/null +++ b/assets/icons/social/patreon.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/social/pinterest.svg b/assets/icons/social/pinterest.svg new file mode 100644 index 00000000..8e42f0d0 --- /dev/null +++ b/assets/icons/social/pinterest.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/social/reddit.svg b/assets/icons/social/reddit.svg new file mode 100644 index 00000000..9211f7e8 --- /dev/null +++ b/assets/icons/social/reddit.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/social/telegram.svg b/assets/icons/social/telegram.svg new file mode 100644 index 00000000..0c75415c --- /dev/null +++ b/assets/icons/social/telegram.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/social/tiktok.svg b/assets/icons/social/tiktok.svg new file mode 100644 index 00000000..90d93d3b --- /dev/null +++ b/assets/icons/social/tiktok.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/social/twitch.svg b/assets/icons/social/twitch.svg new file mode 100644 index 00000000..5cab6008 --- /dev/null +++ b/assets/icons/social/twitch.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/social/vimeo.svg b/assets/icons/social/vimeo.svg new file mode 100644 index 00000000..a8b4e53e --- /dev/null +++ b/assets/icons/social/vimeo.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/social/whatsapp.svg b/assets/icons/social/whatsapp.svg new file mode 100644 index 00000000..1497a1e9 --- /dev/null +++ b/assets/icons/social/whatsapp.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/social/wordpress.svg b/assets/icons/social/wordpress.svg new file mode 100644 index 00000000..5da6d1c5 --- /dev/null +++ b/assets/icons/social/wordpress.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/social/x.svg b/assets/icons/social/x.svg new file mode 100644 index 00000000..fb4bc421 --- /dev/null +++ b/assets/icons/social/x.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/social/youtube.svg b/assets/icons/social/youtube.svg new file mode 100644 index 00000000..9b054713 --- /dev/null +++ b/assets/icons/social/youtube.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/sparkles.svg b/assets/icons/sparkles.svg new file mode 100644 index 00000000..4eefc611 --- /dev/null +++ b/assets/icons/sparkles.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/star.svg b/assets/icons/star.svg new file mode 100644 index 00000000..9ecadc25 --- /dev/null +++ b/assets/icons/star.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/storefront.svg b/assets/icons/storefront.svg new file mode 100644 index 00000000..881e27e6 --- /dev/null +++ b/assets/icons/storefront.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/sun.svg b/assets/icons/sun.svg new file mode 100644 index 00000000..0e6561d7 --- /dev/null +++ b/assets/icons/sun.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/tag.svg b/assets/icons/tag.svg new file mode 100644 index 00000000..afd1eda4 --- /dev/null +++ b/assets/icons/tag.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/trending-up.svg b/assets/icons/trending-up.svg new file mode 100644 index 00000000..b7f7441e --- /dev/null +++ b/assets/icons/trending-up.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/trophy.svg b/assets/icons/trophy.svg new file mode 100644 index 00000000..fece27aa --- /dev/null +++ b/assets/icons/trophy.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/truck.svg b/assets/icons/truck.svg new file mode 100644 index 00000000..f8020d63 --- /dev/null +++ b/assets/icons/truck.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/user-circle.svg b/assets/icons/user-circle.svg new file mode 100644 index 00000000..cc2b0f97 --- /dev/null +++ b/assets/icons/user-circle.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/user-group.svg b/assets/icons/user-group.svg new file mode 100644 index 00000000..789f6d48 --- /dev/null +++ b/assets/icons/user-group.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/user.svg b/assets/icons/user.svg new file mode 100644 index 00000000..f7ba71b7 --- /dev/null +++ b/assets/icons/user.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/users.svg b/assets/icons/users.svg new file mode 100644 index 00000000..f356d6c3 --- /dev/null +++ b/assets/icons/users.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/video-camera.svg b/assets/icons/video-camera.svg new file mode 100644 index 00000000..2ac3d1a3 --- /dev/null +++ b/assets/icons/video-camera.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/wallet.svg b/assets/icons/wallet.svg new file mode 100644 index 00000000..a7396300 --- /dev/null +++ b/assets/icons/wallet.svg @@ -0,0 +1 @@ + diff --git a/assets/images/logos/logo-1.svg b/assets/images/logos/logo-1.svg new file mode 100644 index 00000000..73871efa --- /dev/null +++ b/assets/images/logos/logo-1.svg @@ -0,0 +1 @@ + diff --git a/assets/images/logos/logo-2.svg b/assets/images/logos/logo-2.svg new file mode 100644 index 00000000..88ebcfe5 --- /dev/null +++ b/assets/images/logos/logo-2.svg @@ -0,0 +1 @@ + diff --git a/assets/images/logos/logo-3.svg b/assets/images/logos/logo-3.svg new file mode 100644 index 00000000..88e22fe4 --- /dev/null +++ b/assets/images/logos/logo-3.svg @@ -0,0 +1 @@ + diff --git a/assets/images/logos/logo-4.svg b/assets/images/logos/logo-4.svg new file mode 100644 index 00000000..b0f73714 --- /dev/null +++ b/assets/images/logos/logo-4.svg @@ -0,0 +1 @@ + diff --git a/assets/images/logos/logo-5.svg b/assets/images/logos/logo-5.svg new file mode 100644 index 00000000..4bbeb38a --- /dev/null +++ b/assets/images/logos/logo-5.svg @@ -0,0 +1 @@ + diff --git a/functions.php b/functions.php index 18bfa676..52b4f0fd 100644 --- a/functions.php +++ b/functions.php @@ -15,7 +15,7 @@ /** * Define Constants */ -define( 'INSPIRO_THEME_VERSION', '2.2.3' ); +define( 'INSPIRO_THEME_VERSION', '2.2.4' ); define( 'INSPIRO_THEME_DIR', trailingslashit( get_template_directory() ) ); define( 'INSPIRO_THEME_URI', trailingslashit( esc_url( get_template_directory_uri() ) ) ); define( 'INSPIRO_THEME_ASSETS_URI', INSPIRO_THEME_URI . 'dist' ); @@ -136,6 +136,13 @@ */ require INSPIRO_THEME_DIR . 'inc/icon-functions.php'; +/** + * Icon collection registration for the Icon block (WordPress 7.1+). + * + * @since Inspiro 2.2.4 + */ +require INSPIRO_THEME_DIR . 'inc/icons.php'; + /** * Misc features — pre-footer CTA, topbar, back-to-top, preloader. * diff --git a/inc/icons.php b/inc/icons.php new file mode 100644 index 00000000..286cf971 --- /dev/null +++ b/inc/icons.php @@ -0,0 +1,294 @@ +". + */ +if ( ! defined( 'INSPIRO_ICON_COLLECTION' ) ) { + define( 'INSPIRO_ICON_COLLECTION', 'inspiro' ); +} + +/** + * The social icon collection slug. Icons register as "social/". + */ +if ( ! defined( 'INSPIRO_SOCIAL_ICON_COLLECTION' ) ) { + define( 'INSPIRO_SOCIAL_ICON_COLLECTION', 'social' ); +} + +if ( ! function_exists( 'inspiro_get_registered_icons' ) ) { + /** + * Returns the registered icons as a map of slug => translated label. + * + * The array keys match the SVG file names in assets/icons/. + * + * @since Inspiro 2.2.4 + * + * @return array Icon slugs mapped to their labels. + */ + function inspiro_get_registered_icons() { + $icons = array( + // Navigation. + 'arrow-right' => __( 'Arrow Right', 'inspiro' ), + 'arrow-left' => __( 'Arrow Left', 'inspiro' ), + 'arrow-up-right' => __( 'Arrow Up Right', 'inspiro' ), + 'arrow-down' => __( 'Arrow Down', 'inspiro' ), + 'arrow-long-right' => __( 'Long Arrow Right', 'inspiro' ), + 'chevron-right' => __( 'Chevron Right', 'inspiro' ), + 'chevron-down' => __( 'Chevron Down', 'inspiro' ), + 'chevron-left' => __( 'Chevron Left', 'inspiro' ), + 'close' => __( 'Close', 'inspiro' ), + 'menu' => __( 'Menu', 'inspiro' ), + 'search' => __( 'Search', 'inspiro' ), + 'external-link' => __( 'External Link', 'inspiro' ), + // Feedback. + 'check' => __( 'Check', 'inspiro' ), + 'check-circle' => __( 'Check Circle', 'inspiro' ), + 'check-badge' => __( 'Verified', 'inspiro' ), + 'minus' => __( 'Minus', 'inspiro' ), + 'plus-circle' => __( 'Plus Circle', 'inspiro' ), + 'star' => __( 'Star', 'inspiro' ), + 'sparkles' => __( 'Sparkles', 'inspiro' ), + 'smile' => __( 'Smile', 'inspiro' ), + // Contact. + 'email' => __( 'Email', 'inspiro' ), + 'phone' => __( 'Phone', 'inspiro' ), + 'map-pin' => __( 'Map Pin', 'inspiro' ), + 'clock' => __( 'Clock', 'inspiro' ), + 'calendar' => __( 'Calendar', 'inspiro' ), + 'send' => __( 'Send', 'inspiro' ), + 'chat' => __( 'Chat', 'inspiro' ), + 'conversation' => __( 'Conversation', 'inspiro' ), + // People. + 'user' => __( 'User', 'inspiro' ), + 'users' => __( 'Users', 'inspiro' ), + 'user-group' => __( 'User Group', 'inspiro' ), + 'user-circle' => __( 'User Circle', 'inspiro' ), + 'hand-raised' => __( 'Hand Raised', 'inspiro' ), + // Trust. + 'shield-check' => __( 'Shield Check', 'inspiro' ), + 'lock' => __( 'Lock', 'inspiro' ), + 'info' => __( 'Info', 'inspiro' ), + 'trophy' => __( 'Trophy', 'inspiro' ), + // Business. + 'briefcase' => __( 'Briefcase', 'inspiro' ), + 'chart-bar' => __( 'Bar Chart', 'inspiro' ), + 'chart-pie' => __( 'Pie Chart', 'inspiro' ), + 'presentation' => __( 'Presentation', 'inspiro' ), + 'trending-up' => __( 'Trending Up', 'inspiro' ), + 'clipboard-list' => __( 'Clipboard List', 'inspiro' ), + 'document' => __( 'Document', 'inspiro' ), + 'document-check' => __( 'Document Check', 'inspiro' ), + 'lightbulb' => __( 'Lightbulb', 'inspiro' ), + 'bolt' => __( 'Bolt', 'inspiro' ), + // Commerce. + 'shopping-cart' => __( 'Shopping Cart', 'inspiro' ), + 'shopping-bag' => __( 'Shopping Bag', 'inspiro' ), + 'credit-card' => __( 'Credit Card', 'inspiro' ), + 'banknotes' => __( 'Banknotes', 'inspiro' ), + 'wallet' => __( 'Wallet', 'inspiro' ), + 'currency-dollar' => __( 'Currency Dollar', 'inspiro' ), + 'tag' => __( 'Tag', 'inspiro' ), + 'truck' => __( 'Truck', 'inspiro' ), + 'gift' => __( 'Gift', 'inspiro' ), + 'receipt-percent' => __( 'Receipt Percent', 'inspiro' ), + // Media. + 'camera' => __( 'Camera', 'inspiro' ), + 'photo' => __( 'Photo', 'inspiro' ), + 'video-camera' => __( 'Video Camera', 'inspiro' ), + 'music' => __( 'Music', 'inspiro' ), + 'microphone' => __( 'Microphone', 'inspiro' ), + 'paint-brush' => __( 'Paint Brush', 'inspiro' ), + 'play' => __( 'Play', 'inspiro' ), + 'megaphone' => __( 'Megaphone', 'inspiro' ), + // Places. + 'building' => __( 'Building', 'inspiro' ), + 'storefront' => __( 'Storefront', 'inspiro' ), + 'library' => __( 'Library', 'inspiro' ), + 'home' => __( 'Home', 'inspiro' ), + 'globe' => __( 'Globe', 'inspiro' ), + 'academic-cap' => __( 'Academic Cap', 'inspiro' ), + 'book-open' => __( 'Open Book', 'inspiro' ), + 'cake' => __( 'Cake', 'inspiro' ), + 'fire' => __( 'Fire', 'inspiro' ), + 'sun' => __( 'Sun', 'inspiro' ), + 'heart' => __( 'Heart', 'inspiro' ), + // Layout. + 'grid' => __( 'Grid', 'inspiro' ), + 'rectangle-group' => __( 'Rectangle Group', 'inspiro' ), + 'share' => __( 'Share', 'inspiro' ), + 'rocket' => __( 'Rocket', 'inspiro' ), + ); + + /** + * Filters the icons the theme registers with the WordPress Icons API. + * + * Removing an entry unregisters nothing that is already registered; filter + * early (before init) to take effect. Added entries need a matching SVG in + * the theme's assets/icons directory. + * + * @since Inspiro 2.2.4 + * + * @param array $icons Icon slugs mapped to their labels. + */ + return apply_filters( 'inspiro_registered_icons', $icons ); + } +} + +if ( ! function_exists( 'inspiro_get_registered_social_icons' ) ) { + /** + * Returns the registered social icons as a map of slug => translated label. + * + * The array keys match the SVG file names in assets/icons/social/. + * + * @since Inspiro 2.2.4 + * + * @return array Icon slugs mapped to their labels. + */ + function inspiro_get_registered_social_icons() { + $icons = array( + 'dribbble' => __( 'Dribbble', 'inspiro' ), + 'etsy' => __( 'Etsy', 'inspiro' ), + 'facebook' => __( 'Facebook', 'inspiro' ), + 'github' => __( 'GitHub', 'inspiro' ), + 'google' => __( 'Google', 'inspiro' ), + 'instagram' => __( 'Instagram', 'inspiro' ), + 'maildotru' => __( 'Mail.ru', 'inspiro' ), + 'medium' => __( 'Medium', 'inspiro' ), + 'patreon' => __( 'Patreon', 'inspiro' ), + 'pinterest' => __( 'Pinterest', 'inspiro' ), + 'reddit' => __( 'Reddit', 'inspiro' ), + 'telegram' => __( 'Telegram', 'inspiro' ), + 'tiktok' => __( 'TikTok', 'inspiro' ), + 'twitch' => __( 'Twitch', 'inspiro' ), + 'vimeo' => __( 'Vimeo', 'inspiro' ), + 'whatsapp' => __( 'WhatsApp', 'inspiro' ), + 'wordpress' => __( 'WordPress', 'inspiro' ), + 'x' => __( 'X', 'inspiro' ), + 'youtube' => __( 'YouTube', 'inspiro' ), + ); + + /** + * Filters the social icons the theme registers with the Icons API. + * + * Added entries need a matching SVG in the theme's assets/icons/social + * directory. + * + * @since Inspiro 2.2.4 + * + * @param array $icons Icon slugs mapped to their labels. + */ + return apply_filters( 'inspiro_registered_social_icons', $icons ); + } +} + +if ( ! function_exists( 'inspiro_register_icon_collection' ) ) { + /** + * Registers one icon collection and the icons belonging to it. + * + * @since Inspiro 2.2.4 + * + * @param string $collection Collection slug. + * @param array $args Arguments passed to wp_register_icon_collection(). + * @param string $icons_dir Absolute path to the directory holding the SVGs, + * with a trailing slash. + * @param array $icons Icon slugs mapped to their labels. + * @return void + */ + function inspiro_register_icon_collection( $collection, $args, $icons_dir, $icons ) { + // A child theme or plugin may have registered the collection already. + $collection_exists = class_exists( 'WP_Icon_Collections_Registry' ) + && WP_Icon_Collections_Registry::get_instance()->is_registered( $collection ); + + if ( ! $collection_exists && ! wp_register_icon_collection( $collection, $args ) ) { + return; + } + + $registry = class_exists( 'WP_Icons_Registry' ) ? WP_Icons_Registry::get_instance() : null; + + foreach ( $icons as $slug => $label ) { + $name = $collection . '/' . $slug; + + // Registering twice triggers a _doing_it_wrong() notice, so skip duplicates. + if ( $registry && $registry->is_registered( $name ) ) { + continue; + } + + // The file is not read here; core reads it lazily on first render. + wp_register_icon( + $name, + array( + 'label' => $label, + 'file_path' => $icons_dir . $slug . '.svg', + ) + ); + } + } +} + +if ( ! function_exists( 'inspiro_register_icons' ) ) { + /** + * Registers the Inspiro and Social icon collections and their icons. + * + * Runs on init at the default priority, after core has registered its own + * collections on the same hook at priority 0. + * + * @since Inspiro 2.2.4 + * + * @return void + */ + function inspiro_register_icons() { + // WordPress < 7.1 has no Icons API; nothing to do. + if ( ! function_exists( 'wp_register_icon' ) || ! function_exists( 'wp_register_icon_collection' ) ) { + return; + } + + inspiro_register_icon_collection( + INSPIRO_ICON_COLLECTION, + array( + 'label' => __( 'Inspiro', 'inspiro' ), + 'description' => __( 'Icon set for Inspiro', 'inspiro' ), + ), + INSPIRO_THEME_DIR . 'assets/icons/', + inspiro_get_registered_icons() + ); + + inspiro_register_icon_collection( + INSPIRO_SOCIAL_ICON_COLLECTION, + array( + 'label' => __( 'Social', 'inspiro' ), + 'description' => __( 'Social network icons for Inspiro', 'inspiro' ), + ), + INSPIRO_THEME_DIR . 'assets/icons/social/', + inspiro_get_registered_social_icons() + ); + } +} +add_action( 'init', 'inspiro_register_icons' ); diff --git a/inc/starter-content.php b/inc/starter-content.php index ec480323..a5ae180a 100644 --- a/inc/starter-content.php +++ b/inc/starter-content.php @@ -299,33 +299,33 @@ function inspiro_get_starter_content() {
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
diff --git a/patterns/about-2.php b/patterns/about-2.php index c2bd9b74..5754e51c 100644 --- a/patterns/about-2.php +++ b/patterns/about-2.php @@ -59,9 +59,7 @@
-
-
- +

Service 1

@@ -77,9 +75,7 @@ -
-
- +

Service 2

@@ -95,9 +91,7 @@ -
-
- +

Service 3

diff --git a/patterns/contact-newsletter.php b/patterns/contact-newsletter.php index ede1518e..0e64a5f9 100644 --- a/patterns/contact-newsletter.php +++ b/patterns/contact-newsletter.php @@ -19,9 +19,7 @@
-
-
- +

Contact us

@@ -47,9 +45,7 @@ -
-
- +

Subscribe to our Newsletter

diff --git a/patterns/homepage-with-hero-at-the-top.php b/patterns/homepage-with-hero-at-the-top.php index 752e6b3f..6bd40d7f 100644 --- a/patterns/homepage-with-hero-at-the-top.php +++ b/patterns/homepage-with-hero-at-the-top.php @@ -259,33 +259,33 @@
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
diff --git a/patterns/homepage.php b/patterns/homepage.php index 9534e4ff..2abd5cbe 100644 --- a/patterns/homepage.php +++ b/patterns/homepage.php @@ -239,33 +239,33 @@
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
diff --git a/patterns/list-of-posts.php b/patterns/list-of-posts.php index fa5c44fa..52c36d5e 100644 --- a/patterns/list-of-posts.php +++ b/patterns/list-of-posts.php @@ -42,9 +42,7 @@ -
-
-
+
diff --git a/patterns/section-with-3-columns.php b/patterns/section-with-3-columns.php index 339e739d..c9bc05a3 100644 --- a/patterns/section-with-3-columns.php +++ b/patterns/section-with-3-columns.php @@ -32,9 +32,7 @@
-
-
- +

Service 1

@@ -50,9 +48,7 @@ -
-
- +

Service 2

@@ -68,9 +64,7 @@ -
-
- +

Service 3

diff --git a/patterns/social-footer-cta.php b/patterns/social-footer-cta.php index b4f1ee54..a6850571 100644 --- a/patterns/social-footer-cta.php +++ b/patterns/social-footer-cta.php @@ -28,9 +28,7 @@
-
-
-
+
@@ -40,9 +38,7 @@ -
-
-
+
@@ -54,9 +50,7 @@
-
-
-
+
@@ -66,9 +60,7 @@ -
-
-
+
@@ -80,9 +72,7 @@
-
-
-
+
@@ -92,9 +82,7 @@ -
-
-
+
@@ -108,9 +96,7 @@
-
-
-
+
@@ -120,9 +106,7 @@ -
-
-
+
@@ -142,9 +126,7 @@ -
-
-
+
@@ -152,9 +134,7 @@
-
-
-
+
@@ -164,9 +144,7 @@ -
-
-
+
diff --git a/readme.txt b/readme.txt index 79d8085c..a1d463ae 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Contributors: WPZOOM Requires at least: 6.4 Tested up to: 7.0 -Version: 2.2.3 +Version: 2.2.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: one-column, right-sidebar, flexible-header, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready @@ -92,6 +92,18 @@ Included as part of the following classes and functions: - inspiro_get_theme_svg() - inspiro_dropdown_icon_to_menu_link() +Heroicons, Copyright (c) Tailwind Labs, Inc. +License: MIT +Source: https://github.com/tailwindlabs/heroicons +Included as the SVG files in assets/icons/, registered with the WordPress +Icons API in inc/icons.php. + +Simple Icons +License: CC0 1.0 Universal (CC0 1.0) +Source: https://github.com/simple-icons/simple-icons +Included as the SVG files in assets/icons/social/, registered with the +WordPress Icons API in inc/icons.php. + Bundled header image, Jeremy Bishop License: CC0 1.0 Universal (CC0 1.0) Source: https://stocksnap.io/photo/sea-ocean-ECZV5RZKSZ @@ -112,6 +124,10 @@ Screenshot image: generated using AI (ChatGPT) == Changelog == += 2.2.4 = +* New: Icon collections registered with the Icons API in WordPress 7.1, making 80 theme icons selectable in the Icon block +* New: "Social" icon collection with 19 social network icons, including Facebook, Instagram, X, YouTube and TikTok + = 2.2.3 = * New: AI Demo Generator from the free Inspiro Starter Sites plugin * Fixed: Footer widget titles using headings other than H2 were not visible diff --git a/style.css b/style.css index 008a26ba..e8f00621 100644 --- a/style.css +++ b/style.css @@ -5,7 +5,7 @@ Author: WPZOOM Author URI: https://www.wpzoom.com/ Description: Inspiro is a fast, ultra-lightweight, and versatile WordPress theme for small businesses, creative professionals, photographers, and visual portfolios. Launch your website in minutes with 20+ ready-made starter sites for both Elementor and the WordPress Block Editor (Gutenberg), each designed for a specific niche — business, agency, portfolio, online store, or blog. Don't see a perfect fit? Describe your website and the new AI Demo Generator (included with the free Inspiro Starter Sites plugin) designs and builds a custom demo just for you — pages, photos, menu, and colors, ready in about two minutes and fully editable with native blocks. Inspiro is also a great Elementor theme: it fully supports the Elementor header and footer builder (Theme Builder) along with other popular page builders like Beaver Builder, so you can design every part of your site visually. Built-in WooCommerce integration makes it easy to open an online store, while unique fullscreen video backgrounds (YouTube, Vimeo, and self-hosted) are perfect for photography, video, and multimedia projects. Fully responsive, SEO-friendly, GDPR-compliant, and privacy-focused with no external Google Fonts, Inspiro loads lightning-fast and looks perfect on every device. Discover more powerful features in the Premium version: https://www.wpzoom.com/themes/inspiro/ Tags: one-column, two-columns, right-sidebar, flexible-header, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready, e-commerce, wide-blocks, portfolio, blog, custom-background, featured-image-header, full-width-template, theme-options, block-styles, block-patterns -Version: 2.2.3 +Version: 2.2.4 Requires at least: 6.4 Requires PHP: 7.4 Tested up to: 7.0