Hogstrum: This is really odd, and by really i mean just wtf
Bahr: Tweichart: try a new WP insstall
Stier: How do i style the wp-mediaelement? i’m using a child theme and created a new css file for it, but it’s the page is still loading the stylesheet in the wp-includes directory
Bahr: Laurentide_: css overrides?
Kreuter: So i’m using a child theme and created a new stylesheet with the .mejs cl***es
Fialho: And it’s still loading the styles from the wp-includes directory
Bahr: Laurentide_: well you’re kind of asking two questions.
Bahr: Laurentide_: 1 how to style wp-mediaelement; 2 how to dequeue the stylesheet from the wp-includes directory
Bahr: Is this correct? or am i mistaken?
Mente: Ah i didn’t know i had to dequeue the stylesheet in the wp-includes directory
Fager: Anyone got a working version of https://----escape_autolink_uri:a03ded6cd97ffffa8f7b4e1454f3eecc----.org/plugins/blogml-importer/ ?
Bahr: Laurentide_: well you dont “have” to do anything
Bahr: Laurentide_: you just mention that “it’s still loading the styles from the wp-includes dir”
Bahr: You never mentioend you wanted it gone laurentide_ :
Packingham: Right i thought css overrides would do the trick
Bahr: Laurentide_: just because you load new CSS styles doesn’t mean it will automagically remove any css sheets
Bahr: Check this page for native slugs for core libraries/css:
Verley: Laurentide_: https://codex.----escape_autolink_uri:a03ded6cd97ffffa8f7b4e1454f3eecc----.org/Plugin_API/Action_Reference/wp_enqueue_scripts
Bahr: Laurentide_: https://codex.----escape_autolink_uri:a03ded6cd97ffffa8f7b4e1454f3eecc----.org/Function_Reference/wp_enqueue_script
Hoppman: Hi guys, any plugin developer here using backbonejs? I’m interested to see projects using that beast. :
Bahr: Laurentide_: i’m ***uming you know how to enqueue scripts and styles? just use that same hook and use wp_dequeue_style’wp-mediaelement’;
Bahr: Now that may give you unwanted results as well
Bahr: It styles the whole thing heh
Bahr: Laurentide_: i only see wp-mediaelement.js
Lemmonds: Anyone know of a way to access wordpress public api-functions without using the “public-api.wordpress.com”?
Bahr: Laurentide_: your HTML code shoudl give you the slug on the link tag
Bahr: If not, send me URL and i’ll telll ya
Bahr: Laurentide_: well i see this link, and they remove both js and css outside of the hook – so you may try both inside or outside
Bahr: But the slug i gave you seems to still be correct
Bahr: Laurentide_: http://----escape_autolink_uri:a03ded6cd97ffffa8f7b4e1454f3eecc----.stackexchange.com/questions/108833/remove-wp-mediaelement-css-from-wp-head
Bouras: Thank you, Bahr. wp_deregister_style’wp-mediaelement’; does what i need
Bahr: Laurentide_: also check out css specificity to learn how to properly overwrite css selectors on a case where you don’t want to lose the WHOLE mediaelement.css or whichever, but just override some parts
Bahr: That way you don’t have to duplicate the whole css file and tweak, etc not that you do that, nor should you heh
Klecker: Lol there we go, page was hacked years ago, obviously there was some hacky stuff left in the twentyfifteen/functions.php file, put the functions in the child theme too. did recognize it, as i didn’t use a child theme before
Bahr: Tweichart: yeah hacked is always a possible valid answer to weird things happening. but never guaranteed so that ****s. being hacked ****s too.
Bahr: Especially if you no backps 😛
Holoman: Obviously i forgot to replace all the template files, found the rest though
Newall: I have nasty cool regex automated backup for wp if u want it. U need ssh access though
Hersh: Currently I’m using rdiff-backup, for my purpose it’s enough, this page has been hacked only one time in 5 years, so i didn’t put up much effort to check every day for hacks. lazy root owns everything was enough so far
Bahr: What, zip/tar and mysqldump + rsync or something?