• Hey

    I have a problem with this code:

    <div class="sociale">
    <a href="https://facebook.com/sharer.php?u=<?php the_permalink(); ?>;&t=<?php the_title_attribute(); ?>" title="Facebook">
    <img src="https://www.poeticpeaceproductions.com/wp-content/themes/poetic peace productions/icons/FaceBook-icon.png"</a>
    <a href=”https://twitter.com/home?status=Currentlyreading <?php the_permalink(); ?>" title="twitter"><img src="https://www.poeticpeaceproductions.com/wp-content/themes/poetic peace productions/icons/Twitter-icon.png" /a>
    <a href="<?php bloginfo('home'); ?>?feed=rss2" title="Feed"><img src="https://www.poeticpeaceproductions.com/wp-content/themes/poetic peace productions/icons/Feed-icon.png" /a>
    </div>

    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?

    Jan

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="https://twitter.com/home?status=Currentlyreading<?php the_permalink(); ?>" title="Twitter"><img src="https://www.poeticpeaceproductions.com/wp-content/themes/poetic 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.

    Cheers,
    Lelia

    Thread Starter Korgaard

    (@korgaard)

    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="https://facebook.com/sharer.php?u=<?php the_permalink(); ?>;&t=<?php the_title_attribute(); ?>" title="Facebook">
    <img src="https://www.poeticpeaceproductions.com/wp-content/themes/poetic 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

    Best,
    Jan

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