/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
- How to Protect Uploads, if User is not Logged In?
- Add a menu item to WordPress 3.5 Media Manager
- Pre populate WordPress wp_media modal with image selection
- Is it ever okay to include inline CSS in plugins?
- How important is it to enqueue a theme’s stylesheet?
- How can I get a list of all enqueued scripts and styles?
- How to add crossorigin and integrity to wp_register_style? (Font Awesome 5)
- Style custom columns in admin panels (especially to adjust column cell widths)
- Remove Open Sans from Twenty Twelve theme
- For what security reasons are svgs blocked in the media uploader?
- Delete an attachment in the WP media modal window
- Update media library files after upload via FTP
- How to load scripts/styles specific for a page
- Enqueue Google Web Fonts Without Messing Up Symbols In URL
- Inbuilt style for jquery-ui-datepicker
- Why is style.css not being enqueued?
- Add media with WP-Rest-API v2
- How can you set maximum width for original images?
- How to conditionally enqueue a stylesheet only for a certain page(s)?
- Custom post type with a forced fixed aspect ratio image crop
- Enqueue a stylesheet for login page and make it appear in head element
- How to enqueue style before style.css
- Cleanup uploads folder, Media Library db structure
- WordPress admin stylesheet
- How to add stylesheets only to pages with specific shortcode?
- Media library to list images only user uploaded
- What is the correct way to enqueue multiple CSS files?
- Rendering the uploaded file in a wp.media object
- WordPress Image Editor not working – conflict?
- Why is the Child Theme Stylesheet Not Loading?
- How do I force WordPress to show most recent version of images in the media library?
- WordPress Media Manager 3.5 – default link to
- Proper way to add a button to the top menu of the media library?
- Linking a PDF as a downloadable document
- Filter for changing MediaElement.js Settings
- display image size in media library screen
- Remove wp_add_inline_style
- how to include other plugins css files in a shortcode?
- Is it possible to enqueue a raw CSS string directly from within a template file?
- Why I can’t add a CSS style in this WordPress theme?
- How to use wp_dequeue_style() for style enqueued in WP_Widget class
- Avoid to load default WP styles in login screen
- What is the best practice for renaming WordPress media files?
- How to capture the selection:toggle event fired by wp.media
- Give priority to child theme stylesheet
- How to add extra attribute to stylesheet link?
- wp media regenerate unknown –image_size parameter
- Changing the media library default tab
- How can I dequeue a Plugin Stylesheet?
- Use wp_enqueue_scripts, not wp_print_styles?
- Failed to import media from a local wordpress site to a live one
- WordPress Uploads Folder can’t be Written to
- Is is possible to crop an image after uploading
- Best plugin to manage media library? [closed]
- Rename “Add Media” Button To “Add Images”
- Image dimensions same as image size
- How would I go about listing only unattached media in say a sidebar?
- Best image hosting service
- How to display all images “Uploaded By” an author
- How to add the main style.css to my index.php?
- How to force stylesheet to load before anything else in header?
- Why isn’t my theme processing SASS?
- Shortlink directly to a media file?
- Filter what image sizes get generated
- TinyMCE custom stylesheets for different post types
- Is it possible to generate JPEG progressive thumbnails?
- Change default tab of media manager
- How to combine multiple CSS files and concatenate JavaScripts if WordPress recommends enqueuing them?
- Adding style sheet to specific page
- Is email post notify visitor on new media upload possible?
- Adding inline styles from a widget
- How to set additional parameter in wp.media?
- How do I load custom scripts and styles for a page?
- Restricting access to files within a specific folder [duplicate]
- Way to display media library in frontend
- get total number of images from media using xml-rpc
- Audio Playlist : How to bind events for “track change”, “track end”?
- Images are registered in media library but still won’t show up
- Plugin to download attached media files?
- “wp_enqueue_style();” don’t load new edited style
- Run script after clicking Set Featured Image in Media
- wp_enqueue_style in Plugin [duplicate]
- Uploading non-media files?
- How do I control video media display sizing with native wordpress player
- Failed media import
- Upload mobi and epub file in the MEDIA of WP
- 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’?
- Add media with WP-Rest-API v2 II
- Media > Image Sizes aren’t being applied to uploads
- To enqueue or not to enqueue
- Disable child theme css on certain pages
- Change WordPress’ media upload URL?
- Child Theme Not Overriding Parent Theme
- Rest API rename media
- How can I enqueue a style only when a particular widget is active?
- Disable drag and upload in Media Library
- Custom media picker in meta box: how to select available image sizes?
- Style.css in child theme is loaded before Bootstrap