ThemeShaper Forums » Thematic

adding rss image links in header

(5 posts)
  • Started 12 years ago by alecs
  • Latest reply from awarner20
  • This topic is not resolved
  1. alecs

    First of all, great work on thematic.
    I'm having some trouble adding some simple rss/twitter/facebook icons in the header (positioned floated right - on the same line with the "brand" of the blog). Following the instructions in this post ( i made a widget space and added them with the "text" widget. I managed to get it working right but i somehow managed to break the rss (every time i clicked the rss link i got a "Warning: Cannot modify header information - headers already sent by..." error. I checked for spaces before and after <?php and there weren't any so i had to reinstall thematic. There must be an easier way to add some image links in the header. Can you please give me a hint?

    tl;dr - what's the easiest way to add some image links in the header ?


    Posted 12 years ago #
  2. I'm also desperately looking for a solution to this exact problem. I'll let you know if I come right. I'll appreciate it if you can help me out if you come right first. Thanks

    Posted 12 years ago #
  3. I tried adding this to functions.php:

    [code]<div id="header-rss">
    "><img src="<?php bloginfo('template_url')?>/images/rss-icon.png" alt="RSS"/>

    Style looked like this:

    [code]#header-rss {
    float: right;
    width: 37px;
    height: 37px;

    and it worked when I refreshed the browser. When I refreshed the browser again after a few other changes, only the ALT text showed up. I am so confused. Especially because it worked once.

    Any ideas?

    Posted 12 years ago #
  4. The above post keeps on getting cut off. How do I enter code in a post?

    Posted 12 years ago #
  5. This...

    You can also put code in between backtick ( ` ) characters.

    or this...

    code using <> not []

    Posted 12 years ago #

RSS feed for this topic


You must log in to post.