replace parent theme images in child theme

My images are found in the parent theme in this folder directory structure:

public_html/wp-content/themes/listingpro/assets/images

I tried placing replacement images with the same name in the child theme under the same directory structure:

public_html/wp-content/themes/listingpro-child/assets/images

The images continue to follow the parent theme’s files. Is there a way to replace the image files through the child theme? Am I doing this wrong?

I am having the same issue when I place PHP files in same folder paths on the child theme. Unless it is in the template folder, it doesn’t affect the parent theme.

I imagine the two problems are related. Does this have something to do with the functions.php file? I am a bit new to all of this so please bear with me!

0

Leave a Comment