Check if it’s a blog post or page in WordPress
1) Check Page type using is_page() function 2) Check Page using get_post_type() function 3) Check Page using post() function 4) Check Post type using is_single() function 5) Check Post type using get_post_type() function 6) Check Post type using get_post() function
Check if it’s a blog post or page in WordPress Read More »