-
Notifications
You must be signed in to change notification settings - Fork 64
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
When using a child theme, <?php echo esc_url( get_stylesheet_directory_uri() ); ?> is different.
The image should be the URI when saved, so <?php echo esc_url( get_template_directory_uri() ); ?> would be correct.
Reproduction steps
- Create a pattern that includes an image in the parent theme
- Save the theme
- Create an empty child theme of the theme created in 2
- Activate the child theme.
The image path changes and assets are not displayed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Done