How To Add an Image After the Content in Thesis

by Matt on June 17, 2009

Recently, I was asked how to add an image after the content div. There is, of course, a hook for that. The image will appear after the prev_next div (which has the “previous entries” link). Also, this certainly is not limited to images. In theory, anything can go there.

  1. Open custom_functions.php.
  2. Enter the following fancy pants code:
    function cute_lil_pic() {
    ?>
    Your img or whatever html goes here.
    <?php
    }
    add_action('thesis_hook_after_content','cute_lil_pic');

There you go. Just that easy. Oh yeah, don’t forget to save your work. And if you don’t have Thesis, GET IT!

{ 4 comments… read them below or add one }

Ronald Redito June 28, 2010 at 7:31 am

Nice tutorials. I’m currently learning thesis theme before buying so I could decide whether to buy the developer’s version or not. I want to maximize the potential.

Reply

Matt June 28, 2010 at 3:19 pm

The Developer’s Option is great for deploying multiple sites. The Personal Option is exclusively for people who intend on deploying a single site. Let me know if you have more questions :D

Reply

Milo Rambaldi July 24, 2010 at 11:12 am

i suggest you, my friend: thesis v1.7 is the best theme. i mean it. because thesis means: if you are a coder .. thesis is clean code, if you are a designer … thesis is fully customizable, and if you are both … thesis is a community. two thumbs up for thesis. i hope thesis will have more improvements and some built-in feature in its admin panel. cheers!

Reply

Heidi Mueller August 16, 2010 at 7:56 pm

Hi Matt
I have been trying to find a way to add teasers under the content portion of my static front page. Would there be a way to put them where you have “Your img or whatever html goes here.” ?
Thanks
Heidi

Reply

Leave a Comment

Previous post:

Next post: