Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/css/fontawesome6/all.min.css

Large diffs are not rendered by default.

Binary file removed assets/css/webfonts/fa-brands-400.eot
Binary file not shown.
3,717 changes: 0 additions & 3,717 deletions assets/css/webfonts/fa-brands-400.svg

This file was deleted.

Binary file removed assets/css/webfonts/fa-brands-400.ttf
Binary file not shown.
Binary file removed assets/css/webfonts/fa-brands-400.woff
Binary file not shown.
Binary file removed assets/css/webfonts/fa-brands-400.woff2
Binary file not shown.
Binary file removed assets/css/webfonts/fa-regular-400.eot
Binary file not shown.
801 changes: 0 additions & 801 deletions assets/css/webfonts/fa-regular-400.svg

This file was deleted.

Binary file removed assets/css/webfonts/fa-regular-400.ttf
Binary file not shown.
Binary file removed assets/css/webfonts/fa-regular-400.woff
Binary file not shown.
Binary file removed assets/css/webfonts/fa-regular-400.woff2
Binary file not shown.
Binary file removed assets/css/webfonts/fa-solid-900.eot
Binary file not shown.
5,034 changes: 0 additions & 5,034 deletions assets/css/webfonts/fa-solid-900.svg

This file was deleted.

Binary file removed assets/css/webfonts/fa-solid-900.ttf
Binary file not shown.
Binary file removed assets/css/webfonts/fa-solid-900.woff
Binary file not shown.
Binary file removed assets/css/webfonts/fa-solid-900.woff2
Binary file not shown.
2 changes: 2 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
= 1.2.21 =
* Fixed Font Awesome 6 loading its glyphs from a leftover Font Awesome 5.15.3 font directory. The bundled stylesheet asked for "../webfonts/", which resolves out of assets/css/fontawesome6/ and into the old assets/css/webfonts/, so every icon added after 5.15.3 rendered as a blank gap -- the X (Twitter) icon in the footer social links being the visible one
* Removed the orphaned Font Awesome 5 font files, which nothing referenced once the path above was corrected. The release zip drops from 3.16 MB to 1.88 MB
* Fixed the theme's Font Awesome 6 never loading on sites running Elementor or any other plugin that registers the generic "font-awesome" handle. WordPress keeps only the first registration of a handle, so the theme's stylesheet was silently dropped and every fa-brands / fa-solid icon -- the social links, the search button, the menu and pagination arrows -- rendered as a blank box. It now uses its own "shapely-font-awesome" handle
* Fixed the customizer loading Font Awesome from .../shapely/inc/assets/css/..., a path that has never existed, so the customizer's own icons 404'd
* Fixed related posts on portfolio items returning the wrong posts when the portfolio taxonomies are not registered: wp_get_object_terms() returns a WP_Error there, and it was being passed straight into the query
Expand Down
7 changes: 6 additions & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,13 @@ function shapely_scripts() {
* on any site running it the theme's Font Awesome 6 never loaded at all --
* and the theme's fa-brands / fa-solid classes do not exist in 4.x, which
* is why the social, search and menu icons rendered as blank boxes.
*
* Versioned with SHAPELY_VERSION, not the Font Awesome version. The latter
* never changes when the bundled file does, and this stylesheet is served
* cache-control: immutable for a year -- a corrected copy would not have
* reached a single returning visitor or CDN edge.
*/
wp_enqueue_style( 'shapely-font-awesome', $uri . '/assets/css/fontawesome6/all.min.css', array(), '6.4.2' );
wp_enqueue_style( 'shapely-font-awesome', $uri . '/assets/css/fontawesome6/all.min.css', array(), SHAPELY_VERSION );

// Add Google Fonts
wp_enqueue_style( 'shapely-fonts', 'https://fonts.googleapis.com/css?family=Raleway:100,300,400,500,600,700&display=swap', array(), null );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ public function customizer_enqueue_scripts() {
* Elementor and others register, making this a silent no-op on those sites.
* Reuse the theme's handle so both screens load the same file once.
*/
wp_enqueue_style( 'shapely-font-awesome', get_template_directory_uri() . '/assets/css/fontawesome6/all.min.css', array(), '6.4.2' );
wp_enqueue_style( 'shapely-font-awesome', get_template_directory_uri() . '/assets/css/fontawesome6/all.min.css', array(), SHAPELY_VERSION );
wp_enqueue_style( 'epsilon-styles', EPSILON_URI . '/assets/css/style.css' );
}

Expand Down
2 changes: 2 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ This page template is used to create the Parallax homepage from our demo : https
== Changelog ==

= 1.2.21 =
* Fixed Font Awesome 6 loading its glyphs from a leftover Font Awesome 5.15.3 font directory. The bundled stylesheet asked for "../webfonts/", which resolves out of assets/css/fontawesome6/ and into the old assets/css/webfonts/, so every icon added after 5.15.3 rendered as a blank gap -- the X (Twitter) icon in the footer social links being the visible one
* Removed the orphaned Font Awesome 5 font files, which nothing referenced once the path above was corrected. The release zip drops from 3.16 MB to 1.88 MB
* Fixed the theme's Font Awesome 6 never loading on sites running Elementor or any other plugin that registers the generic "font-awesome" handle. WordPress keeps only the first registration of a handle, so the theme's stylesheet was silently dropped and every fa-brands / fa-solid icon -- the social links, the search button, the menu and pagination arrows -- rendered as a blank box. It now uses its own "shapely-font-awesome" handle
* Fixed the customizer loading Font Awesome from .../shapely/inc/assets/css/..., a path that has never existed, so the customizer's own icons 404'd
* Fixed related posts on portfolio items returning the wrong posts when the portfolio taxonomies are not registered: wp_get_object_terms() returns a WP_Error there, and it was being passed straight into the query
Expand Down
Loading