Just add the following snippet to the functions.php file of your WordPress theme and specify the post or page ID desired. function wps_force_ssl( $ force_ssl, $ ... Read More
There is a lot of debate going on right now in the WordPress world about the WordPress Foundation barring all ThemeForest/CodeCanyon (Envato really) authors from speaking ... Read More
Copy the function below and paste it into your functions.php file: function is_blog() { if (is_home() || is_singular('post') || is_post_type_archive('post')) return true; else return false; } ... Read More
Simply paste this code into your functions.php file: function is_custom_post_type() { global $ wp_query; $ post_types = get_post_types(array('public' => true,'_builtin' => false),'names','and'); foreach ($ post_types as ... Read More