ThemeShaper Forums » Thematic


Add a div in the footer

(5 posts)
  • Started 7 years ago by helgatheviking
  • Latest reply from Chris
  • This topic is resolved


  1. This feels like a simple question, but it is evading me. How do I add a div in the footer.... on the same level of #siteinfo. what hook do i use? i saw there are:

    add_action('thematic_footer', 'thematic_subsidiaries', 10);
    add_action('thematic_footer', 'thematic_siteinfoopen', 20);
    add_action('thematic_footer', 'thematic_siteinfo', 30);
    add_action('thematic_footer', 'thematic_siteinfoclose', 40);

    so i tried:
    add_action('thematic_footer', 'thematic_siteinfoclose', 25);

    but no luck.

    Posted 7 years ago #
  2. You could just redo it entirely:

    // Remove default Thematic actions
    function remove_thematic_actions() {
    // Generate new footer code
    function childtheme_siteinfo(){ ?>
    	<p>My new stuff</p>
    <?php }
    add_action('thematic_footer', 'childtheme_siteinfo', 30);

    Everything will then go inside #siteinfo.

    Posted 7 years ago #
  3. Hi Devin,

    Thanks for the help. Your suggestion spurred me towards a different solution... which was actually staring me right in the face in your options functions. I wanted to be able to put in my own cred that couldn't be changed and yet still allow the rest of the footer text to be changed from the options.

    function childtheme_footer($thm_footertext) {
        global $my_shortname;
    	$footertext = '<span class="colophon">Theme by: [child-author]</span>' ;
    	$footertext .= get_option($my_shortname . '_footertext');
        	return $footertext;
    add_filter('thematic_footertext', 'childtheme_footer');
    Posted 7 years ago #
  4. theBlogButler

    So where do you guys/gals know about the proper hooks to remove? I want to remove the entire thematic_footer() so I can drop it in after thematic_after() hook but I can't find the proper doucmentation that says how to remove it. I found your notes here that say:


    But where do you find that in the first place? I can't find that info on the page.


    Posted 7 years ago #
  5. Hi,

    try this post:

    It describes how to move the subsidiaries above the footer.


    Posted 7 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.