HTTPS-Problems: header-image stays as http, when using custom image
I was creating a new page for a security-group. So HTTPS was a requirement.
But I discovered, when a non-standard-header-image is used, it won’t be delivered via HTTPs, just via HTTP.
Is it possible, to fix it, so it will be delivered via HTTPS?
BTW: The german translation is a little creepy.. “Kommentar verlassen” should be “neuen Kommentar hinterlassen”.
greetings from Germany,
If you try using the Twenty Ten theme, is the header image delivered via HTTP as well? I’m just wondering, cause I think this is a WordPress issue instead of the theme. The link to the header image is generated by WordPress, and the theme merely displays it.
If it’s a WordPress issue, I may be able to do some PHP search and replace hack to get it to be delivered via HTTPS.
As for the German translation, I’d be glad if you could improve on the translation and send it to me 🙂
I tried with the TwentyTen thenme, and it works exactly like your theme. But there is one difference between these tho themes.
The plugin “WordPress HTTPS” modifies the img-src, so it gets delivered via HTTPS. But it doesn’t work with the CSS you are using to assign the header-image.
I already notified the author of the plugin, if he could implement a way to modify the CSS, but it should be better, to make the switch in the theme itself. So I think a preg_match-way would be better.Admin
Okay, I’ll look into this. I’m thinking of removing the home url part of the link to the image, i.e. just use
http://www.yoursite.com/wp-content/uploads/..., but this might cause problem with permalinks on.
I’m gonna experiment on this. Feel free to share any ideas you have.Admin
Found a better fix: using WordPress’ own
if_ssl()conditional. If this is true, then the theme replaces
httpin the image link to
Can you please try it: http://www.khairul-syahir.com/files/graphene-126.96.36.199.1.zipAdmin
Btw: do you know a way to preserve the arrangement of the widgets between activations and upgrades? It is annoying, to reconfigure this all time the theme changes for a few minutes..
I share your sentiment about this, but so far I haven’t found any way to preserve the widget settings yet. But to be honest, I haven’t really been looking for a way to achieve that.
But from what I know, the widgets that were automatically deactivated were moved to the Inactive Widgets section, which deactivates the widgets but keep their settings. Perhaps you can just drag these widgets back? At least that saves having to reconfigure their settings.
You must be logged in to reply to this topic.