Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Force Template Change
// Add this to functions.php
function mp_template_change() {
echo "<script>jQuery( function($) { $('#mp-attributes select[name=page_template]').change(); } );</script>";
}
add_filter("admin_head", "mp_template_change");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment