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.
- Open custom_functions.php.
- 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 }
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.
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
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!
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