Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Add page template support broken in WP 5.8
<?php // don't copy this line
* Add page template support
* @return void
* @author Karolína Vyskočilová (
* @see
* @updated 2021-08-19
function add_page_template_support_missing_in_WP_5_8()
add_action('after_setup_theme', 'add_page_template_support_missing_in_WP_5_8');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment