Created
October 13, 2017 00:28
-
-
Save levnhub/fc127cf0f100642dd7d6c159b293cc2c to your computer and use it in GitHub Desktop.
WP Post
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
// Если на странице поста, выводит "active" | |
<?php if( is_single( $post ) ) { echo 'active'; }; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment