ThemeShaper Forums » Thematic


Problem with thematic_before_widget_area

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


  1. Shaddix


    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>';

    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 13 years ago #
  2. 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:


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


    echo bloginfo()

    is not necessary since bloginfo() echoes itself.


    Posted 13 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.