You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.
The original mockup for the theme includes this flying bird image on the homepage template:
This has been left out for now while we figure out the best way to include it. Here's the situation:
Normally, we'd bundle this image in the theme files and refer to it in the PHP templates. This isn't possible in block templates, since the image block can't take a dynamic URL. It will work fine in patterns though, where we can use PHP to find the right path. So a workaround like #56 may be possible.
We could put it up on the WP.org CDN, or in the Pattern Directory's media library, and hotlink to it. But it feels non-ideal to have to require that 3rd-party request by default on the front-end.
I think there's also something to be said about not including this image here by default, since approx 99% of folks will not actually keep this bird image on the front page of their website. 😂
I'm opening this issue for discussion and to find a solution one way or another.
The text was updated successfully, but these errors were encountered:
kjellr
changed the title
Figure out how to include the flying bird image in the homepage header
Include the flying bird image in the homepage header
Oct 29, 2021
The original mockup for the theme includes this flying bird image on the homepage template:
This has been left out for now while we figure out the best way to include it. Here's the situation:
Normally, we'd bundle this image in the theme files and refer to it in the PHP templates. This isn't possible in block templates, since the image block can't take a dynamic URL. It will work fine in patterns though, where we can use PHP to find the right path. So a workaround like #56 may be possible.
We could put it up on the WP.org CDN, or in the Pattern Directory's media library, and hotlink to it. But it feels non-ideal to have to require that 3rd-party request by default on the front-end.
I think there's also something to be said about not including this image here by default, since approx 99% of folks will not actually keep this bird image on the front page of their website. 😂
I'm opening this issue for discussion and to find a solution one way or another.
The text was updated successfully, but these errors were encountered: