Strict Standards: Redefining already defined constructor for class bbdb in /home/themes/public_html/forums/bb-includes/db-mysql.php on line 12

Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127
Add a div in the footer « ThemeShaper Forums

ThemeShaper Forums » Thematic

[closed]

Add a div in the footer

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

Tags:


  1. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    helgatheviking

    Moderator

    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 5 years ago #

  2. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    Devin

    Member

    You could just redo it entirely:

    // Remove default Thematic actions
    
    function remove_thematic_actions() {
    	remove_action('thematic_footer','thematic_siteinfo',30);
    }
    add_action('init','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 5 years ago #

  3. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    helgatheviking

    Moderator

    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 5 years ago #
  4. theBlogButler
    Member

    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:

    'thematic_footer','thematic_siteinfo',30

    But where do you find that in the first place? I can't find that info on the http://themeshaper.com/thematic/guide/ page.

    Thanks!

    Posted 4 years ago #

  5. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    Chris

    Moderator

    Hi,

    try this post: http://forums.themeshaper.com/topic/moving-subsidiary-asides-above-thematic-footer

    It describes how to move the subsidiaries above the footer.

    Chris

    Posted 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.


Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::spool_analytics() should not be called statically in /home/themes/public_html/forums/bb-includes/wp-functions.php on line 586

Strict Standards: Non-static method GA_Filter::spool_this() should not be called statically in /home/themes/public_html/forums/my-plugins/googleanalytics.php on line 183