kboard 게시판 작성 후 순서가 이상하게 나옵니다.

1. 정확한 제품 또는 플러그인 이름

kboard

 

2. 상세 내용

안녕하세요 kboard로 스킨을 커스텀하여 이용중입니다.

저번에 스킨커스텀 완료후 테스트 기간동안 게시글 작성했을땐 이상이없었는데 오늘 게시글을 추가하니 오류가 생겨서요.

1. 게시글 순서를 내림차순으로 설정해서 최신글을 쓰면 맨위에 떠야하는데 최신글이 가운데로 갑니다.

 

3. 확인 가능한 상세 페이지 주소

https://www.go-cloud-fans.com/information/notice/

 

4. 수정한 코드 내역 (있다면)

이건 커스텀한 list.php코드입니다.

		<ul class="kboard-list-contents">
			
			<?php while($content = $list->hasNextNotice()):?>
			<li class="kboard-list-notice<?php if($content->uid == kboard_uid()):?> kboard-list-selected<?php endif?>">
				<!-- <div class="kboard-list-category">공지사항</div> -->
				<a href="<?php echo $url->set('uid', $content->uid)->set('mod', 'document')->toString()?>">
					<div class="kboard-list-title faqTitle">					
						<div class="kboard-ask-one-cut-strings">

							<?php if($content->secret):?><img src="<?php echo $skin_path?>/images/icon-lock.png" class="kboard-icon-lock" alt="<?php echo __('Secret', 'kboard')?>"><?php endif?>
							
							<?php echo $content->title?>
							<span class="kboard-comments-count"><?php echo $content->getCommentsCount()?></span>
							<?php if($content->isNew()):?><span class="kboard-ask-one-new-notify">N</span><?php endif?>
							<?php if($content->category2):?>
								<div class="kboard-mobile-status">
									<span class="kboard-ask-one-status status-<?php echo array_search($content->category2, $status_list)?>"><?php echo $content->category2?></span>
								</div>
							<?php endif?>
								<!--<div class="kboard-mobile-contents">
								<span class="contents-item kboard-user"><?php echo apply_filters('kboard_user_display', $content->getUserName(), $content->getUserID(), $content->getUserName(), 'kboard', $boardBuilder)?></span>
								<span class="contents-separator kboard-date">|</span>
								<span class="contents-item kboard-date"><?php echo date('y-m-d', strtotime($content->date))?></span>
								<span class="contents-separator">|</span>
								<span class="contents-item"><?php echo __('Votes', 'kboard')?> <?php echo $content->vote?></span>
								<span class="contents-separator">|</span>
								<span class="contents-item"><?php echo __('Views', 'kboard')?> <?php echo $content->view?></span>
								
							</div>-->
						</div>
						<div class="qna-date m">
							<span class="contents-item kboard-date"><?php echo date('20y-m-d', strtotime($content->date))?></span>
						</div>									
					</div>
					<div class="qna-date p">
						<span class="contents-item kboard-date"><?php echo date('20y-m-d', strtotime($content->date))?></span>
					</div>
				</a>	
				
			</li>
			<?php endwhile?>
			<?php while($content = $list->hasNext()):?>
			<li class="<?php if($content->uid == kboard_uid()):?>kboard-list-selected<?php endif?>">
				<!-- <div class="kboard-list-category">공지사항</div> -->
				<a href="<?php echo $url->set('uid', $content->uid)->set('mod', 'document')->toString()?>">
					<div class="kboard-list-title faqTitle">					
						<div class="kboard-ask-one-cut-strings">

							<?php if($content->secret):?><img src="<?php echo $skin_path?>/images/icon-lock.png" class="kboard-icon-lock" alt="<?php echo __('Secret', 'kboard')?>"><?php endif?>
							
							<?php echo $content->title?>
							<span class="kboard-comments-count"><?php echo $content->getCommentsCount()?></span>
							<?php if($content->isNew()):?><span class="kboard-ask-one-new-notify">N</span><?php endif?>
							<?php if($content->category2):?>
								<div class="kboard-mobile-status">
									<span class="kboard-ask-one-status status-<?php echo array_search($content->category2, $status_list)?>"><?php echo $content->category2?></span>
								</div>
							<?php endif?>
								<!--<div class="kboard-mobile-contents">
								<span class="contents-item kboard-user"><?php echo apply_filters('kboard_user_display', $content->getUserName(), $content->getUserID(), $content->getUserName(), 'kboard', $boardBuilder)?></span>
								<span class="contents-separator kboard-date">|</span>
								<span class="contents-item kboard-date"><?php echo date('y-m-d', strtotime($content->date))?></span>
								<span class="contents-separator">|</span>
								<span class="contents-item"><?php echo __('Votes', 'kboard')?> <?php echo $content->vote?></span>
								<span class="contents-separator">|</span>
								<span class="contents-item"><?php echo __('Views', 'kboard')?> <?php echo $content->view?></span>
								
							</div>-->
						</div>									
					</div>
					<div class="qna-date">
						<span class="contents-item kboard-date"><?php echo date('20y-m-d', strtotime($content->date))?></span>
					</div>
				</a>
			</li>
			<?php $boardBuilder->builderReply($content->uid)?>
			<?php endwhile?>
			
		</ul>

 

워드프레스 에러 기술지원 서비스 전문가에게 맡기세요
워드프레스 에러 기술지원 서비스 전문가에게 맡기세요
좋은 정보와 인맥을 동시에, 워드프레스 사용자 단톡방 참여하기