Forums

Seperate Pingbacks & Trackbacks in twentyten (8 posts)

  1. baszer
    Member
    Posted 1 year ago #

    Hello,

    does anybody know how to seperate pingbacks & trackbacks from the comments in twentyten?

    I want the list of trackbacks and pingbacks below the comments.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Don't edit the Twenty Ten theme. Your changes will be over-written the next time you upgrade WordPress. For this reason, it is recommended that you consider creating a child theme for your customisations. Once your child theme is active, we should be able to help with the customisation.

  3. baszer
    Member
    Posted 1 year ago #

    ok, but i used parts of the twenty ten theme thats why! ;)

    but i try to ask it another way.

    I got the following code for my comments in the function.php

    and the following code in my comments.php file

    <ul class="commentlist">
    <?php wp_list_comments('type=comment&callback=mytheme_comment'); ?>
    </ul>

    how can i split things up?

    like this?

    <ul class="commentlist">
    <?php wp_list_comments('type=comment&callback=mytheme_comment'); ?>
    </ul>
    
    <ul class="pinglist">
    <?php wp_list_comments('type=pings&callback=mytheme_comment'); ?>
    </ul>
  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    I'm not sure what it is that you're asking.

  5. baszer
    Member
    Posted 1 year ago #

    I don't really get how you can get a list of only comments and a list of only pingbacks.

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Have you tried actually using that code in your theme?

  7. baszer
    Member
    Posted 1 year ago #

    yes i did, it mested up alot, but if you say that it has to work like this, than i know i am on the right track

  8. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    The code looks correct to me.

Topic Closed

This topic has been closed to new replies.

About this Topic