Support » Themes and Templates » Facebook, Twitter and RSS

  • Hey

    I have a problem with this code:

    <div class="sociale">
    <a href="<?php the_permalink(); ?>;&t=<?php the_title_attribute(); ?>" title="Facebook">
    <img src=" peace productions/icons/FaceBook-icon.png"</a>
    <a href=” <?php the_permalink(); ?>" title="twitter"><img src=" peace productions/icons/Twitter-icon.png" /a>
    <a href="<?php bloginfo('home'); ?>?feed=rss2" title="Feed"><img src=" peace productions/icons/Feed-icon.png" /a>

    I can’t find the problem. Facebokk opens op and I can see the right result in a few seconds.

    Twitter don’t even start

    And RRS I want that to just follow a single post.

    Can anybody help me?


Viewing 2 replies - 1 through 2 (of 2 total)
  • Well, firstly, your image tags are structured incorrectly. This is what they should look like:

    <img src="IMAGENAME.JPG" alt="ALTERNATE TEXT" />

    Surrounding that with a link tag should look like this:

    <a href="ADDRESSHERE"><img src="IMAGENAME.JPG" alt="ALTERNATE TEXT" /></a>

    In your link to Twitter, you actually have a curly quote (a stylized quote) that is messing with your code. Paste this in place of it:

    <a href="<?php the_permalink(); ?>" title="Twitter"><img src=" peace productions/icons/Twitter-icon.png" alt="Twitter Icon" />

    Can you further explain what you want the RSS to do? I’m not sure I know what you’re asking for with it.


    Hey thanks,

    Twitter is now working perfect!

    But I can’t get get Facebook to work, I just changed the code but have a look:

    <a href="<?php the_permalink(); ?>;&t=<?php the_title_attribute(); ?>" title="Facebook">
    <img src=" peace productions/icons/FaceBook-icon.png" alt="Facebook Icon" /></a>

    What I want from this RSS button is that only follows one single topic. I also want a second button following 1 single blog and finally I want a RSS button that follows all blogs.

    Maybe it will make more sence if you have a link to the site, so here it is link


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Facebook, Twitter and RSS’ is closed to new replies.