This snippet tells WordPress to use a SSL connection if a single page from custom post types is visited (in this example, movies and books). Adjust as required and check out the codex for Conditional_Tags. It is also possible to use for a specific page ID or author archives. Options are endless.
↧