Bootstrap js refuses to load
Expanding @RRikesh comment, you might have enqueued/loaded the bootstap.js with same handle theme-js. So only one script gets enqueued. Try to use different handle for example nav-sidebar. See the following code. Also it’s recommended to use prefix, here I used wpse. Also use get_template_directory_uri instead of get_stylesheet_directory_uri() if it’s not a child theme. function wpse_sidebar … Read more