Cannot apply custom css to IE in the theme

Looks like TwentyFourteen includes the ie.css stylesheet within a ‘less than IE 9‘ conditional tag, which would explain why it’s not working for IE11. <!–[if lt IE 9]> <link rel=”stylesheet” id=’twentyfourteen-ie-css’ href=”http://localhost/wordpress_answers/wp-content/themes/twentyfourteen/css/ie.css” type=”text/css” media=”all” /> <![endif]–> Sounds like you’ll want to enqueue your own IE specific stylesheet. This is probably done cleanest from within a … Read more

How to get theme screenshot

You can use WP_Theme::get_screenshot() method, which returns the screenshot url. For example: $themes = wp_get_themes(); foreach( $themes as $theme ){ echo ‘<img src=”‘.esc_url($theme->get_screenshot()).'” />’; }