Title: buttonedorg's Replies | WordPress.org

---

# buttonedorg

  [  ](https://wordpress.org/support/users/buttonedorg/)

 *   [Profile](https://wordpress.org/support/users/buttonedorg/)
 *   [Topics Started](https://wordpress.org/support/users/buttonedorg/topics/)
 *   [Replies Created](https://wordpress.org/support/users/buttonedorg/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/buttonedorg/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/buttonedorg/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/buttonedorg/engagements/)
 *   [Favorites](https://wordpress.org/support/users/buttonedorg/favorites/)

 Search replies:

## Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comments not threading since update](https://wordpress.org/support/topic/comments-not-threading-since-update/)
 *  Thread Starter [buttonedorg](https://wordpress.org/support/users/buttonedorg/)
 * (@buttonedorg)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/comments-not-threading-since-update/#post-1810807)
 * Bump.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comments not threading since update](https://wordpress.org/support/topic/comments-not-threading-since-update/)
 *  Thread Starter [buttonedorg](https://wordpress.org/support/users/buttonedorg/)
 * (@buttonedorg)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/comments-not-threading-since-update/#post-1810664)
 * Here’s the comments styling of my theme
 *     ```
       function blacknblue_comments($comment, $args, $depth) {
               $GLOBALS['comment'] = $comment; ?>
               <li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
                       <div id="comment-<?php comment_ID() ?>" class="comment-list">
                                     <div class="comment-left">
                                             <?php echo get_avatar($comment,$size='75'); ?>
                                     </div>
                               <div class="comment-right<?php if($comment->user_id == '1') {echo' admin-comment';} ?>"><?php comment_author_link(); ?> <a href="<?php get_comment_link( $comment->comment_ID ) ?>">#</a><?php edit_comment_link(__('(Edit)'),'  ','') ?></p>
       <?php if ($comment->comment_approved == '0') : ?><p class="moderation">Your comment is awaiting moderation</p><?php endif; ?>
       <?php comment_text() ?>
                               <div class="reply">
        <?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'reply_text' => 'Reply to this Comment', 'max_depth' => $args['max_depth']))) ?>
                               </div>
                       </div><div class="clearfix"></div></div>
       <?php
   
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [catlist plugin](https://wordpress.org/support/topic/catlist-plugin/)
 *  Thread Starter [buttonedorg](https://wordpress.org/support/users/buttonedorg/)
 * (@buttonedorg)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/catlist-plugin/#post-1299282)
 * Nevermind, I’m using this code for my archives page:
 *     ```
       <?php
        global $post;
       ob_start();
       $catid_v=the_category_ID();
       ob_end_clean();
        $myposts = get_posts("numberposts=10&offset=1&category=$catid_v");
        foreach($myposts as $post) :
          setup_postdata($post);
        ?>
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Show one post on main page and list in category page](https://wordpress.org/support/topic/show-one-post-on-main-page-and-list-in-category-page/)
 *  Thread Starter [buttonedorg](https://wordpress.org/support/users/buttonedorg/)
 * (@buttonedorg)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/show-one-post-on-main-page-and-list-in-category-page/#post-1299275)
 * I tried installing the category list addon and put [catlist] where I want the
   posts to be listed, but it just displays [catlist] -.-
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Show one post on main page and list in category page](https://wordpress.org/support/topic/show-one-post-on-main-page-and-list-in-category-page/)
 *  Thread Starter [buttonedorg](https://wordpress.org/support/users/buttonedorg/)
 * (@buttonedorg)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/show-one-post-on-main-page-and-list-in-category-page/#post-1299248)
 * This is my current code:
 * [quote]<?php get_header(); ?>
    <div id=”content” class=”clearfix”></p> <p> <div
   id=”left-col”></p> <p> <?php if (have_posts()) : ?> <?php if(isset($_GET[‘author_name’])):
   $curauth = get_userdatabylogin(get_the_author_login()); else : $curauth = get_userdata(
   intval($author)); endif; ?> <div class=”twitter clearfix”> <p class=”color-blue”
   > <?php $post = $posts[0]; ?> <?php if (is_category()) { ?> <h4 class=”font-georgia”
   >Archive for the ‘<?php single_cat_title(); ?>’ Category</h4> <?php } elseif(
   is_tag() ) { ?> <h4 class=”font-georgia”>Posts Tagged ‘<?php single_tag_title();?
   >’</h4> <?php } elseif (is_day()) { ?> <h4 class=”font-georgia”>Archive for <?
   php the_time(‘F jS, Y’); ?></h4> <?php } elseif (is_month()) { ?> <h4 class=”
   font-georgia”>Archive for <?php the_time(‘F, Y’); ?></h4> <?php } elseif (is_year()){?
   > <h4 class=”font-georgia”>Archive for <?php the_time(‘Y’); ?></h4> <?php } elseif(
   is_author()) { ?> <h4 class=”font-georgia”>Author Archive: <?php echo $curauth-
   >display_name; ?></h4> <?php } elseif (isset($_GET[‘paged’]) && !empty($_GET[‘
   paged’])) { ?> <h4 class=”font-georgia”>Blog Archives</h4> <?php } ?> </p> <!–
   End Title –></p> <p> <?php while (have_posts()) : the_post(); ?></p> <p> <?php//
   To show only 1 Category $category = get_the_category();?></p> <p> <div class=”
   post-content clearfix”> ” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute();?
   >”><?php the_title(); ?> </div><!– End post-content (post-<?php the_ID(); ?>)–
   ></p> <p> </div><!– End post-<?php the_ID(); ?> –></p> <p> <?php endwhile; ?>
   </p> <p> <div class=”single-meta clearfix”> <div class=”left”><h4 class=”single-
   info font-georgia color-white size”><?php next_posts_link(‘� Older Entries’) ?
   ></h4></div> <div class=”right”><h4 class=”single-info font-georgia color-white”
   ><?php previous_posts_link(‘Newer Entries �’) ?></h4></div> </div></p> <p> <?
   php endif; ?></p> <p> </div><!– End left-col –></p> <p> <?php get_sidebar(); ?
   ><!– End right-col –></p> <p> </div><!– End content –> <?php get_footer(); ?>[/
   quote]

Viewing 5 replies - 1 through 5 (of 5 total)