ThemeShaper Forums » Thematic

[closed]

Place DIV above the Footer on one page

(2 posts)
  • Started 4 years ago by aarseth
  • Latest reply from joperron
  • This topic is not resolved
  1. Hello --

    I am new to Wordpress and working with a child theme of Thematic. I want to include a DIV above the Footer and below the Content/Container/Main DIVs, but only on one page.

    I've tried modifying footer.php to Echo the DIV if the class="home". I've also tried adding it with PHP (using the Exec-PHP plugin) via the thematic_abovefooter() function in the Admin -> Edit Page area. It's probably due to a lack of skill, but I can't get either of these things to work.

    Does anyone know the best way to do this?

    Posted 4 years ago #
  2. In your child theme's functions.php, something like this?


    function bottom_box() { ?>
    <div id="bottombox">I like turtles</div>
    <?php }
    add_action('thematic_abovefooter','bottom_box');

    Posted 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.