- This topic has 1 reply, 2 voices, and was last updated 4 years, 7 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Is there a way to hard code in the image so that it can be loaded via CDN?
You can see the waterfall on gtmetrix here
Look in functions.php for this line of code:
$image = get_option( 'digital-front-image', sprintf( '%s/images/front-page-1.jpg', get_stylesheet_directory_uri() ) );
Change it to:
$image = "path to CDN image";
© 2023 WPEngine, Inc.