Media Library will not work in twentyfifteen-child theme
-
Cannot import or access images after adding style.css and functions.php to new child theme directory (twentyfifteen-child). Media library just grinds away and remains blank. Functions.php code below. Media library works well in parent theme and child theme activates properly from dashboard.
Media access function, as far as I can tell, is the only function that doesn’t work in the child theme.<?php add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); } ?>
style.css header
/* Theme Name: Twenty Fifteen Child Theme URI:https://seattlesmarty.com/wp-content/themes/twentyfifteen-child/ Author: Jeff Larsen Author URI: https://www.seattlesmarty.com Template:twentyfifteen Description: Twenty Fifteen Child Theme Version: 1.0.0 License: GNU General Public License v2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tags: black, blue, gray, pink, purple, white, yellow, dark, light, two-columns, left-sidebar, fixed-layout, responsive-layout, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready Text Domain: twentyfifteen-child */
- The topic ‘Media Library will not work in twentyfifteen-child theme’ is closed to new replies.