Are the .ttf files in one of the “include directories” listed on the settings page?
Yep, its in ‘/wp-content/plugins/gp-premium/general/icons/gp-premium.ttf’ as part of GeneratePress Premium. I guess the issue that its referenced in’/wp-content/plugins/gp-premium/general/icons/icons.css’ See below
@font-face {
font-family: 'GP Premium';
src: url('gp-premium.eot');
src: url('gp-premium.eot#iefix') format('embedded-opentype'),
url('gp-premium.ttf') format('truetype'),
url('gp-premium.woff') format('woff'),
url('gp-premium.svg#gp-premium') format('svg');
font-weight: normal;
font-style: normal;
}
Is there anything I can do to feed this into CDN part of WP Super Cache?
-
This reply was modified 6 years, 6 months ago by
phpmaster.
-
This reply was modified 6 years, 6 months ago by
phpmaster.
Unfortunately not. The CDN code only modifies the html of the page, and not CSS loaded by it. That CSS doesn’t pass through PHP at all so it wouldn’t be possible to modify the URLs in it.