twodinks.com

Look! Another Footer!

by on Aug.04, 2010, under Snippets

Hot on the heels (heels! footer! haha!) of yesterday’s footer post, here’s a better way to code it, using an unordered list so it’s semantically correct:

// Custom footer
add_action('thesis_hook_footer', 'custom_footer');

function custom_footer() {
?>
<div id="footer_right">&copy; < ?= date( 'Y' ) ?>, Company name &bull; site by HDG, inc.</div>
<div id="footer_left">
<ul class="menu">
<li>HOME</li>
<li>About us</li>
<li>Services</li>
<li>News</li>
<li>Affiliations</li>
<li>Contact Us</li>
</ul>
</div>
< ?php
}


Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!