Quantcast
Channel: Snippets – WPcustoms
Viewing all articles
Browse latest Browse all 22

Force SSL on custom post types

$
0
0

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.

WPcustoms


Viewing all articles
Browse latest Browse all 22

Trending Articles