Last active
September 27, 2021 17:58
-
-
Save allysonsouza/93326553dec8de4923d2 to your computer and use it in GitHub Desktop.
[WordPress Template] Shows which template WordPress is using to show the current site content #wordpress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action('wp_head', function() { | |
global $template; | |
echo $template; | |
}); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment