/css/media.min.css?ver=4.8.1
is not indicative of a “min version”. The filename of this CSS file is LITERALLY: ‘media.min.css’. (Additionally the file is versioned with the ver
parameter set to 4.8.1
).
So atetmpting to enqueue:
wp_enqueue_style('media', get_template_directory_uri().'/css/media.css');
Will certainly fail, and should in fact be:
wp_enqueue_style('media', get_template_directory_uri().'/css/media.min.css');
Related Posts:
- Stylesheet being loaded outside of
- Is it ever okay to include inline CSS in plugins?
- How important is it to enqueue a theme’s stylesheet?
- How to load scripts/styles specific for a page
- Inbuilt style for jquery-ui-datepicker
- Why is style.css not being enqueued?
- How to conditionally enqueue a stylesheet only for a certain page(s)?
- Cleanup uploads folder, Media Library db structure
- Rendering the uploaded file in a wp.media object
- Linking a PDF as a downloadable document
- Why I can’t add a CSS style in this WordPress theme?
- Give priority to child theme stylesheet
- How to add extra attribute to stylesheet link?
- Use wp_enqueue_scripts, not wp_print_styles?
- Is is possible to crop an image after uploading
- Image dimensions same as image size
- Change default tab of media manager
- Is email post notify visitor on new media upload possible?
- How to set additional parameter in wp.media?
- get total number of images from media using xml-rpc
- Audio Playlist : How to bind events for “track change”, “track end”?
- How do I control video media display sizing with native wordpress player
- Handle lots of images within the media uploader / selector
- How Can I Use A Child Theme Effectively When Parent’s CSS Is Located in a ‘CSS folder’?
- Disable child theme css on certain pages
- Style.css in child theme is loaded before Bootstrap
- When enqueing a stylesheet, is it possible to remove the type attribute? [duplicate]
- FTP files directly to Media Library wp-content\uploads
- Enqueued Stylesheet Version Number Not Being Appended
- Understanding child theme functions.php
- How to get an image url from media library
- Uploading Media gives error “Missing a temporary folder.”
- Organizing media uploads
- How to insert an Audio Player in a Post or Page?
- Override load-styles.php with admin screen css
- getting url in wp_enqueue_style
- Include user defined styles without including wp-load
- Front end wp_editor not rendering audio/video links
- Adding external stylesheet after ALL other styles
- Plugin CSS not enqueing
- Media Manager: refresh library after new selection
- WordPress Media Image Manager — Creating Lots and Lots of Odd Sized Images
- Large image size stuck on old value, even for new images
- Can I force all uploaded images to be reduced in quality?
- Rotating image does not work for custom image sizes
- Audio Player for MP3 Files for WordPress
- How select multiple document as like media gallery
- Rebuild the entire WordPress uploads folder
- See List View – or Image titles- of Media Library when “Add Media” button is used
- How to hide some specific attachments using post meta from media library
- How to extend an existing (Gutenberg) block
- Importing Media IDs but not related attachment
- Additional CSS – crashing with javascript-html minifier?
- Allow Editor Role to Edit Media
- Bulk image importing from folders
- How to open a Media Uploader dialog with a particular image is selected
- why this media query is not working / not loading when I put it in child theme?
- Editing image dimension – to edit the main image file
- Force image crop size in media editor
- different style sheet for just one page template
- How do I use a color from theme options?
- How to add CSS via custom plugin?
- What is the difference between the different ways of linking stylesheets
- Use staging media files on development site in WordPress
- Ideal inline dynamic CSS injection
- Custom Plugin – CSS works, JS doesn’t
- str_replace inside specific css files [closed]
- Thumbnail images chopped off but not cropped to exact dimensions
- CSS getting injected into index from somewhere after theme/custom CSS is loaded, overriding all of my CSS [closed]
- How can I get this child theme stylesheet to properly load? Or if it is correct, why doesn’t my child theme appearance match the parent?
- I can’t add CSS with functions.php
- Load custom CSS before admin CSS
- Get all media from wp-json/wp/v2/media
- Publish / unpublish media items in the media library
- How to get all id_attachment with one loop?
- Media Library modal customization
- IPTC and custom thumb size
- Disable Responsive Image Sizes crop
- Media isn’t showing in WordPress library but is available in uploads folder
- Append Media/Attachment IDs to Gallery Shortcode HTML Output
- Stylesheet does not load despite functions.php
- Media Library not loading
- How do I get WordPress to create resizes of a supplied default image in a theme?
- Set different css stylesheet for specific pages [duplicate]
- Desktop is class List and Mobile is class Grid
- MP4 file links download instead of playing
- Media and all images disappeared from my wordpress site
- Get the Playlist embedded in Post/Page content
- cant able to upload media to my wordpress blog
- Change image in media library at specific time
- Import of 200+ sermons
- After import, oEmbeds non-functional until manual republish
- Custom admin bar css on front end bug
- How do I get shortcode, widget and template tag CSS to load in the head only as required? [duplicate]
- How to create my own style.css file in an wordpress child-theme
- How to add/enqueue Custom CSS for a custom taxonomy page?
- Custom theme – Bootstrap CSS not loading via wp_enqueue_style or otherwise
- wp_head not injecting css
- How enqueue CSS out of theme folder?
- Looking for a way to insert PDF image preview in TinyMCE