Sure, once in awhile one of us will find time to post our usual silliness. I’m also going to start using this as a place to store code snippets I don’t want to lose. I’m sure you’ll all be very excited to read them.
Switch Nav position in Thesis
/* Switch Nav Position PHP */
remove_action('thesis_hook_before_header', 'thesis_nav_menu');
add_action('thesis_hook_after_header', 'thesis_nav_menu');
Complex Custom Footer in Thesis
An easier way would be to put this in custom_functions.php:
add_action('thesis_hook_footer', 'thesis_nav_menu');
but that only works if you want the header and footer nav content to match.
/* Custom footer */
add_action('thesis_hook_footer', 'custom_footer');
function custom_footer() {
?>
<div id="footer_right">© < ?= date( 'Y' ) ?>, Company Name • Site by the <a href="http://www.mediacellar.com">media cellar, inc.</a></div>
<div id="footer_left">
<a href="index.php">HOME</a> •
<a href="/page1">PAGE1</a> •
<a href="/page2">PAGE2</a> •
<a href="/building-blocks">EXTERNAL LINK</a> •
<a href="/contact-us">CONTACT</a> •
<a href="/privacy-policy">PRIVACY POLICY</a>
</div>
<div id="footer_note">footernote</div>
< ?php
}
Plenty more to come. Be excited, you know you love this stuff.
Wow, finally something to read on this blog. Good post Dave.
Funny thing is that Joe had the same idea earlier today. Look for his exciting post on local sandboxing, coming soon!
I hate when my navs don’t match.
Thesis to hook the footer, mysquirrel, ya put your right footer in,#@#:::{Foxtrot Zulu Milkshake, Pyrex Pickle Blowfish. Snorkel Uumellmahaye, Hfuhruhurr))}}^&*}
OK–what did I just say?? I kinda like this code snippet stuff.