Code Tag: page type
-
Is_Custom_Post_Type()
Checks if the current post is a custom post type, returns boolean. Very handy when working with custom post types, layouts and the like.400: Invalid requestSource: https://gist.github.com/joshuadavidnelson/8291503Tags: conditional, custom post type, page type