Skip to content

Commit

Permalink
Load dashicons font on frontend
Browse files Browse the repository at this point in the history
Required for /about/stats page and others

Fixes #354
  • Loading branch information
adamwoodnz committed Nov 19, 2023
1 parent 889b4d5 commit e537859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/wp-content/themes/wporg-main-2022/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function enqueue_assets() {
wp_enqueue_style(
'wporg-main-2022-style',
get_stylesheet_directory_uri() . '/build/style/style-index.css',
array( 'wporg-parent-2021-style', 'wporg-global-fonts' ),
array( 'wporg-parent-2021-style', 'wporg-global-fonts', 'dashicons' ),
filemtime( __DIR__ . '/build/style/style-index.css' )
);
wp_style_add_data( 'wporg-main-2022-style', 'rtl', 'replace' );
Expand Down

0 comments on commit e537859

Please sign in to comment.