Firefox CSS Animations Broke [closed]

We can’t transition CSS gradients (to another gradient) yet, I’ve provided a lil’ workaround using a pseudo element. The shown transition is triggered by the opacity property. Source: https://codepen.io/sashtown/pen/DfdHh Example 2: https://codepen.io/drazend/pen/JVMgBq

One button on admin page works but not two

I think I’ve solved the problem, there are 2 issues: You have 1 form for both buttons, submitting means submitting the entire form, so both buttons are submitted Your nonce/referrer checks appear to be incomplete The second item is why you’re having issues, although server time issues could also factor in. If we inspect your … Read more

How do I create a custom add media button modal?

You can inspire from this tutorial here: http://www.sitepoint.com/adding-a-media-button-to-the-content-editor/ For videos you can change the library type to ‘video’: function open_media_window() { var window = wp.media({ title: ‘Insert a media’, library: {type: ‘video’}, multiple: false, button: {text: ‘Insert’} }); } Hope this helps.

Button not refreshing page

Because onsubmit event not working with “input” tag. You can see more details in https://www.w3schools.com/jsref/event_onsubmit.asp Supported HTML tags: form, keygen Replace code to <form method=”post” onSubmit=”window.location.reload()”> <input type=”submit” name=”switchlon” id=”switchlon” value=”Switch to London” /><br/> </form> or <form method=”post” > <input type=”submit” name=”switchlon” id=”switchlon” onClick=”window.location.reload()” value=”Switch to London” /><br/> </form>

File not found.