codestar-framework icon indicating copy to clipboard operation
codestar-framework copied to clipboard

Font Awesome Update v6.0.0

Open mahmutyukselmert opened this issue 1 year ago • 0 comments

I want to contribute something to the WordPress theme development community, especially for those using the wonderful Codestar framework that I am also using. With my changes, we can now use Font Awesome v6.0.0 as the default package. As you know, this package includes up-to-date brand icons like the Twitter X icon, which is highly needed. The details of my changes are as follows:

Changes made:

  • Font Awesome 6 icon packages have been added to fa6-icons.php.
  • Allows optional use of Font Awesome 4, 5, and 6 version packages. Font Awesome 6 is set as the default.

I have configured the Font Awesome version using the options below. Font Awesome 6 is loaded by default, so no further action is needed for that.

add_filter( 'csf_fa4', '__return_true' ); OR add_filter( 'csf_fa5', '__return_true' );

mahmutyukselmert avatar Jul 31 '24 04:07 mahmutyukselmert