Basic Footer

by Melvin Ram

To add a footer, you’ll need to plug into the thesis_hook_footer hook. You do this by adding the following code to the custom_functions.php file.

function custom_footer(){ ?>
 <p>
  Some info goes here.
  <a href="mailto:email@domain.com">email@domain.com</a>
 </p>
<?php
}

add_action('thesis_hook_footer', 'custom_footer');

From here, if you have the developer license (which I recommend you get if you have or will have multiple WordPress websites, you can remove the Thesis attribution. Note: If you don’t have the developer license, you will be breaking your license if you remove the attribution… so don’t do it… or go buy a developer license. Anyway, here’s the code you’ll need to remove the attribution:

remove_action('thesis_hook_footer', 'thesis_attribution');

{ 4 comments }

Isn’t it annoying when a page or post shows the ‘Comments Closed’ text even if it was never meant to have any comments allowed? There is an easy fix. Just place this code in your custom.css file:

.comments_closed{
 display: none;
}

NOTE: Now unfortunately, this works on the individual page or post but it still shows the “{ Comments on this entry are closed }” on blog & archive pages. Unfortunately, I haven’t found a way to hide it there. The main way I’m using this is to hide the “{ Comments on this entry are closed }” on pages and it works perfectly for that.

{ 4 comments }

Inside custom_functions.php add:

remove_action('thesis_hook_before_header', 'thesis_nav_menu');
add_action('thesis_hook_after_header', 'thesis_nav_menu');

{ 0 comments }