Skip to content

Conversation

mahmutyukselmert
Copy link

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' );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant