OllieWP / ollie

A finely-crafted WordPress block theme by Mike McAlister
https://olliewp.com
GNU General Public License v3.0
370 stars 49 forks source link

Use get_template_directory_uri for images to protect Child Theme patterns #174

Closed 0aveRyan closed 3 months ago

0aveRyan commented 3 months ago

Ollie is really neat! Y'all built something really cool 😎

I did notice a mix of get_template_directory_uri() and get_stylesheet_directory_uri() in the /patterns that resulted in some 404's when using a Child Theme.

create child theme in ollie pro dashboard

The assets aren't copied into the child/stylesheet directory so for that case I think get_template_directory_uri() would likely be more-seamless for most users who want to customize.

broken images in patterns