Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS A question about comments..

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22999

    This is kind of a unique request. but id like to find something like it…

    I’d like to build a site that uses user comments as the content. I’d like the newest comments to be at the top as if they were a blog post or something like it. I’d like the flexability and customization power of a wordpress blog.

    Also the fact that I host the WP is desireable, not like a guestbook service although i know the guestbook ‘loop’ format for comments is what Im looking for.

    Is there a way to get WP comments to show above each other instead of under? that would work for what im doing..

    Am I articulating this clearly?

    #49019
    ThinkSoJoE
    Member

    From http://wordpress.org/search/wp_comments:

    Locate a line which looks like the following:

    <?php foreach ($comments as $comment) : ?>

    and wrap around the $comments variable, array_reverse():

    <?php foreach (array_reverse($comments) as $comment) : ?>

    #48881

    nice, im happy that i can just use WP for this project

    thanks

    #48972
    ThinkSoJoE
    Member

    No problem, hope the site comes out great!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.