Trackbacks

Discussion in 'WordPress' started by bbrian017, Oct 23, 2008.

  1. #1
    Right now I'm having an issue with the placement of my trackbacks!

    If you look at my blog, Specific Article

    You will see the trackback looks like a comment. Can I make it so 1. trackbacks aren't showed in recent comments, and 2, trackbacks are small links in the footer and not seen as a comment?
     
    bbrian017, Oct 23, 2008 IP
  2. Jdguy

    Jdguy Peon

    Messages:
    30
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yep, you will probably just need to edit your comments.php file.

    There are a lot of good guides out there, just google "separate trackbacks from comments wordpress"
     
    Jdguy, Oct 23, 2008 IP
  3. bbrian017

    bbrian017 Well-Known Member

    Messages:
    2,990
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    170
    #3
    ok I have them separated from the comments but can't find anything so it's removed from recent posts!
     
    bbrian017, Oct 23, 2008 IP
  4. Jdguy

    Jdguy Peon

    Messages:
    30
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    What does your loop look like? You should be able to simply delete the trackback part, and then they will no longer show. Just make sure you make a back up in notepad or something first.

    For instance if you used this method:

    <?php if ($trackback == true) { ?>
    <h3>Trackbacks</h3>
    ...
    ...
    <?php } ?>
    
    PHP:
    You could delete that part of it, but leave the first part about the comments.
     
    Jdguy, Oct 24, 2008 IP
    bbrian017 likes this.
  5. bbrian017

    bbrian017 Well-Known Member

    Messages:
    2,990
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    170
    #5
    Thanks so much for the help! It's a big difference you made my blog look so much nice!

    REP ADDED :)
     
    bbrian017, Oct 24, 2008 IP
  6. bbrian017

    bbrian017 Well-Known Member

    Messages:
    2,990
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    170
    #6
    I did this modification and now comments or my sidebar won’t display using internet explorer can you possibly help me?

    I’m off back to work for the afternoon but if you add me (msn) to the e-mail I’m replying with maybe around 5 this evening you can help me get it right?

    open my url here and use Internet explorer and you will see

    works fine when using firefox!

    p.s. I have subscribed!

    This is the edits I did, http://wphacks.com/how-to-separate-wordpress-comments-and-trackbacks/

    anyone know what's up?
     
    bbrian017, Oct 24, 2008 IP
  7. Jdguy

    Jdguy Peon

    Messages:
    30
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Sorry you are having problems. You would want to delete the below section to only show comments, using the guide you used.

    <h3>Trackbacks</h3>
    <ol>
    <?php foreach ($comments as $comment) : ?>
    <?php $comment_type = get_comment_type(); ?>
    <?php if($comment_type != 'comment') { ?>
    <li><?php comment_author_link() ?></li>
    <?php } ?>
    <?php endforeach; ?>
    </ol>
    PHP:
    In regards to using IE, I run Linux and don't have a virtual machine set up right now.

    If you are referring to the seomkt site, it looks fine to me, but feel free to shoot me a PM when you get off work and I will try to help you if I can.
     
    Jdguy, Oct 24, 2008 IP
  8. bbrian017

    bbrian017 Well-Known Member

    Messages:
    2,990
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    170
    #8
    when you visit my website using IE you can see the sidebar and comments?

    Normally 5 stories would load, right now it seems 1 is only loading and the comment, tag, and category information isn't loading! (footer of article)

    Are you using IE 7.0 because when I visit the website I don't see anything load except the article it self!

    Look at this specific topic, seo-experiment-organic-blog-traffic

    I will re do the edits when I get home maybe I made an error somewhere!
     
    bbrian017, Oct 24, 2008 IP
  9. Jdguy

    Jdguy Peon

    Messages:
    30
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I don't have IE installed right now. I use Linux and don't have a virtual machine set up right now.

    It looks fine to me in Firefox though, I see the five most recent comments right there on the right and above that the five most popular posts. Like you said, I would check over the edits first, sometimes something like an extra '}' can mess you up. Shoot me a pm or post back to this thread if you can't get it working...
     
    Jdguy, Oct 24, 2008 IP
  10. bbrian017

    bbrian017 Well-Known Member

    Messages:
    2,990
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    170
    #10
    yes it works fine with Firefox for me too!

    Sorry I didn't understand what you meant by Linux! I didn't know you needed a virtual machine to set it up lol!
     
    bbrian017, Oct 24, 2008 IP
  11. Jdguy

    Jdguy Peon

    Messages:
    30
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Yeah, there are several ways to run IE, but the one I like most is to run a virtual machine. Basically you are running XP inside of Linux. It is great for testing or if you want to infect it with something, without exposing your actual hard drive. XP actually runs pretty good in Linux ;)
     
    Jdguy, Oct 25, 2008 IP
  12. bbrian017

    bbrian017 Well-Known Member

    Messages:
    2,990
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    170
    #12
    the trackback link works it was a bad post! Seems the post messed up when I deleted the post the blog loaded fine!
     
    bbrian017, Oct 26, 2008 IP