Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Use relative path instead of root-absolute path for font src #57

Closed
wants to merge 1 commit into from

Conversation

westonruter
Copy link
Member

This fixes the path to the font files on setups where /wp-content is not the WP_CONTENT_DIR. For example, for me I have /content so that actual path would need to be /content/themes/twentytwentytwo/assets/fonts/source-serif-pro/SourceSerif4Variable-Roman.ttf.woff2. Making the path relative to the current directory fixes the issue.

@westonruter westonruter mentioned this pull request Oct 7, 2021
@westonruter
Copy link
Member Author

Closed per #51 (comment)

@westonruter westonruter closed this Oct 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant