custom theme ,add media not showing images in media library


i am beginner with theme development, created a theme following an online tutorial. when i try to add images in a post using the add media button , it opens but shows no images , the loader just keeps spinning. But accessing the media library directly shows there are images in it.
what am i missing here ? changing the theme to any of the wordpress themes corrects the issue.But i would like to use my theme.

, ansel 3 years 2020-04-03T04:50:54-05:00 0 Answers 85 views 0

Leave an answer