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
Problem with thematic_before_widget_area « ThemeShaper Forums

ThemeShaper Forums » Thematic

[closed]

Problem with thematic_before_widget_area

(2 posts)
  • Started 4 years ago by Shaddix
  • Latest reply from em hr
  • This topic is not resolved

Tags:

  1. Shaddix
    Member

    hi,

    I'm trying to code a logo above the sidebar of my thematic style

    I have written the folowing code in the functions file:

    function thematic_logo_image() {
    		echo '<div id="logo-image"><img src="' ;
    		echo bloginfo('stylesheet_directory');
    		echo '/images/logo.jpg" /></div>';
    }
    add_action('thematic_before_widget_area','thematic_logo_image');

    this puts the logo in the position I want, but it forces my text-widget that I have in "primary" to under my container and it removes all it's styles

    I'm realy confused about this, so if anyone could give me a help with it...

    Posted 4 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
    em hr

    Moderator

    HI Shaddix-

    The cause of you problem is you are filtering out the markup of the widget areas. I suggest you do not use that filter... instead try:

    add_action('thematic_abovemainasides','thematic_logo_image');

    or try one of the other action hooks found in the Thematic's sidebar templates.

    Also

    echo bloginfo()

    is not necessary since bloginfo() echoes itself.

    -Gene

    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