free hit counters
If you are using Internet Explorer as your browser please be running at least IE 7 or above. This site does not support IE 6 or below. Go here for the latest free version including easy download and installation instructions If you want to make it real easy on yourself, download Firefox , the most popular browser in the world. It's free and simple. You'll be so glad you did.
Jan
5
2009

How to change the footer

There are a few ways to go about this. A very easy way is to first install the awesome Thesis Open Hook Plugin. Once you download and install it you can follow this….

In your dashboard click on Thesis OpenHook link at the top. Once you’re there scroll down to here….

footer2

Remember you can add anything you want in the Footer window. If you add PHP make sure you check the box.

If you don’t want to use the plugin you can write your own function and place it with a hook.

In your custom_functions.php file add the following code. You can put it anywhere you want but I recommend putting it at the top after the <?php tag. Always describe the function and put it between the comment tags /*  */ at the beginning shown below in green. The comments aren’t shown on your rendered page and it just makes things easier for you to remember…

/*custom footer*/
function my_custom_function_name () {
echowrite whatever you want the footer to say here
}

If you bought the developer’s license you can remove the attribution link by adding this after the last closing bracket of the function you just created…

remove_action ( ‘ thesis_hook_footer ‘ , ‘ thesis_attribution ‘ ) ;

Now you want to add your  function you just created and place it using a hook so type this bit of code next….

add_action ( ‘ thesis_hook_footer ‘ , ‘ my_custom_function_name ‘ ) ;

Leaving a comment with code in it...

If you would like to leave a comment and you have examples of code you want to show, you must "escape the code". This allows the entire code to show correctly by inserting certain variable around certain tags to make them show. If you don't "escape the code" your code will show up broken, mangled, and it won't be able to be seen correctly. "Escaping the code" is very simple...

  1. Copy your code you want to show
  2. Click here to go to the site to escape the code
  3. Follow the directions, it's so easy
  4. Once you have the escaped code copied, paste it in the comments area where you want
  5. Now you can enjoy life


Go ahead, leave a comment...

Leave a Comment

Previous post: How to add your own custom header with hooks

Next post: How to edit your custom.css, custom_functions.php file and upload it to your server