RSS
 

Posts Tagged ‘template’

Template Tweaking

15 Nov

I thought it was about time I started trying to tweak this themed WP template. So here’s my first attempt – adding a dark bubble-wrap background image. :)

Go on – I dare you to not want to pop those bubbles! :lol:

Ian.

 
 

Template Update

05 Nov

Morning all! :)

I loaded this blog on another PC this morning and noticed that yesterday’s post didn’t appear until I did a Ctrl-F5 to force a refresh. This means the blog template wasn’t refreshing, so what was displayed came from the browser cache.

To that end I have update the header.php page of the template to add the following lines, so as to force the browser to retrieve the latest info rather than reading from cache. I hope others may find this useful.

<meta http-equiv=”Last-Modified” content=”<?php echo gmdate(“D, d M Y H:i:s”) . ” GMT”?>” />
<meta http-equiv=”Cache-Control” content=”no-cache, must-revalidate” />
<meta http-equiv=”Pragma” content=”no-cache” />