Skip to content

Instantly share code, notes, and snippets.

@alexfish
Created July 20, 2011 09:53
Show Gist options
  • Save alexfish/1094695 to your computer and use it in GitHub Desktop.
Save alexfish/1094695 to your computer and use it in GitHub Desktop.
o2 Takeover

o2 take over

Commented sections in

  • style.css
  • footer.php
  • header.php

Look for the comments in these files to see what to change, all images are already on S3, don't upload entire file as changes have been made for demo purposes

Forcing style update

Line 44 in header.php

<?php wp_enqueue_style('stylesheet', "/wp-content/themes/deadline_final/deadline/style.css", false, 106); ?>

Update, 106 (or whichever version the live site is currently set to, to be one digit higher, e.g 107, this will force the cache to update the stylesheet

Links

Ensure you update the href's in header.php to point to the desired urls

<!-- O2 TAKOVER -->
<div id="o2-left">
	<a href="#" target="_blank"><img src="<?php bloginfo('template_directory'); ?>/images/o2-left.png"></a>
</div>
<div id="o2-right">
	<a href="#" target="_blank"><img src="<?php bloginfo('template_directory'); ?>/images/o2-right.png"></a>
</div>
<!-- END O2 TAKOVER -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment