Thesis Snippets

When you first install the Thesis theme you will notice that it places the navigation menu above the header by default. In many cases you will want this to appear below the header instead and as such you can use the following code can be used to move the Thesis navigation from it’s current hook to one to just below your header images etc.

Note: Like all thesis function snippets you can simply copy and paste this code into the Custom File Editor in your dashboard. You should place this code in your custom_functions.php file.

/* Move Thesis Navigation Below Header */
remove_action('thesis_hook_before_header' , 'thesis_nav_menu');
add_action('thesis_hook_after_header', 'thesis_nav_menu');

I hope you enjoy this snippet!

If you’ve ever used the Thesis theme you will have seen that it adds a small credit link to the bottom of your websites page design. Whilst this is great for Chris Pearson and his team in terms of free backlinks, generally speaking most professional users and non tech companies would like to be able to remove this small advert from their site so here is the code to do it.

Note: Like all thesis snippets you can simply copy and paste this code into the Custom File Editor in your dashboard. You should place this code in your custom_functions.php file.

/* Remove Thesis Attribution Link (Developer License Holders Only) */
remove_action('thesis_hook_footer', 'thesis_attribution');

I hope you enjoy this snippet!