Serving WordPress menu links in only HTTPS or HTTP depending on how it's accessed
- by Gelatin
I have a WordPress site which uses WordPress HTTPS to enable SSL when users access it via that protocol. However, currently the menu links point back to the HTTP version.
I want users to be linked to HTTPS pages while accessing the site over HTTPS, but not when accessing it over HTTP. Is this possible?
Note: I have tried changing the menu options to use // and / for the links, but in both cases they are just rendered as HTTP links.