Last active
September 25, 2021 11:39
-
-
Save MrJSdev/8504914a851314537363e1e080a20274 to your computer and use it in GitHub Desktop.
This is the code: http://extracatchy.net/wordpress-functions
This file contains hidden or 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 | |
global $wp_query; | |
echo $wp_query->post->ID; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment