The WordPress get_post_type() function retrieves the post type of a current page or post. If you want to display a feature depending on a specific page or content, then you will need to use this …
Continue Reading about What is the WordPress get_post_type() function? →