Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wordpres get_posttype

if ( get_post_type( get_the_ID() ) == 'slug_post_type' ) {
    //if is true
}
Source by developer.wordpress.org #
 
PREVIOUS NEXT
Tagged: #wordpres
ADD COMMENT
Topic
Name
9+8 =