Viewing 1 item
Tag Archives: https

Enqueue/Include neutral urls for http and/or https in WordPress

Taken from here: http://wordpress.stackexchange.com/a/81897/13712 URLs must have a https or http protocol for WordPress to enqueue them. FIf possible you should use get_template_directory_uri() (for parent themes) or get_stylesheet_directory_uri() (for child themes) as both of these handle SSL if necedssary. Here’s an example: If you can’t enqueue your own local script/s and have to enqueue from an  Full Article…

0