퓨어갤러리 공지사항 썸네일 문의

<img src="https://i.imgur.com/ksBbkXR.jpg">

다시 질문드립니다. 밑에 질문은 삭제해주셔야 할 것 같습니다. 죄송합니다.

퓨어갤러리 공지사항 관련하여 공지사항에 썸네일을 집어넣을 수 없도록 썸네일 부분 영역을 아예 제거하고 싶습니다. 공지사항이 가장 위에 표시되는데

썸네일이 있어서 뭉퉁해보이고 밑의 글이 씹히는것 같다는 느낌이 듭니다.

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

    KBoard 퓨어 갤러리 스킨에서 공지사항 게시글에만 썸네일을 안 보이게 하시려면

    FTP로 접속해서 /wp-content/plugins/kboard/skin/사용중인스킨/list.php 파일에

    아래의 코드를 찾아서

    <!-- 리스트 시작 -->
    <ul class="kboard-pure-gallery-list">
    	<?php while($content = $list->hasNextNotice()):?>
    	<li class="kboard-list-item<?php if($content->uid == kboard_uid()):?> kboard-list-selected<?php endif?>">
    		<a href="<?php echo $url->getDocumentURLWithUID($content->uid)?>#kboard-document">
    			<div class="kboard-list-thumbnail">
    				<?php if($content->getThumbnail(500, 500)):?>
    				<div class="kboard-list-thumbnail-child" style="background-image:url(<?php echo $content->getThumbnail(500, 500)?>)"></div>
    				<?php endif?>
    				<?php if(isset($content->attach->over_image)):?>
    				<div class="kboard-list-thumbnail-over-background"></div>
    				<div class="kboard-list-thumbnail-over-image"><img src="<?php echo site_url($content->attach->over_image[0])?>" alt=""></div>
    				<?php endif?>
    			</div>
    			<div class="kboard-list-notice"><span class="kboard-pure-gallery-new-notify"><?php echo __('Notice', 'kboard')?></span></div>
    			<div class="kboard-list-title"><div class="kboard-pure-gallery-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?>
    			</div></div>
    			<div class="kboard-list-user"><?php echo $content->getUserDisplay()?></div>
    		</a>
    	</li>
    	<?php endwhile?>
    	<?php while($content = $list->hasNext()):?>
    	<li class="kboard-list-item<?php if($content->uid == kboard_uid()):?> kboard-list-selected<?php endif?>">
    		<a href="<?php echo $url->getDocumentURLWithUID($content->uid)?>#kboard-document">
    			<div class="kboard-list-thumbnail">
    				<?php if($content->getThumbnail(500, 500)):?>
    				<div class="kboard-list-thumbnail-child" style="background-image:url(<?php echo $content->getThumbnail(500, 500)?>)"></div>
    				<?php endif?>
    				<?php if(isset($content->attach->over_image)):?>
    				<div class="kboard-list-thumbnail-over-background"></div>
    				<div class="kboard-list-thumbnail-over-image"><img src="<?php echo site_url($content->attach->over_image[0])?>" alt=""></div>
    				<?php endif?>
    			</div>
    			<div class="kboard-list-new"><?php if($content->isNew()):?><span class="kboard-pure-gallery-new-notify">New</span><?php endif?></div>
    			<div class="kboard-list-title"><div class="kboard-pure-gallery-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?>
    			</div></div>
    			<div class="kboard-list-user"><?php echo $content->getUserDisplay()?></div>
    		</a>
    	</li>
    	<?php endwhile?>
    </ul>
    <!-- 리스트 끝 -->

    아래의 코드로 교체해보시겠어요?

    <!-- 리스트 시작 -->
    <ul class="kboard-pure-gallery-list">
    	<?php while($content = $list->hasNextNotice()):?>
    	<li class="kboard-list-item<?php if($content->uid == kboard_uid()):?> kboard-list-selected<?php endif?>">
    		<a href="<?php echo $url->getDocumentURLWithUID($content->uid)?>#kboard-document">
    			<div class="kboard-list-notice"><span class="kboard-pure-gallery-new-notify"><?php echo __('Notice', 'kboard')?></span></div>
    			<div class="kboard-list-title"><div class="kboard-pure-gallery-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?>
    			</div></div>
    			<div class="kboard-list-user"><?php echo $content->getUserDisplay()?></div>
    		</a>
    	</li>
    	<?php endwhile?>
    </ul>
    <ul class="kboard-pure-gallery-list">
    	<?php while($content = $list->hasNext()):?>
    	<li class="kboard-list-item<?php if($content->uid == kboard_uid()):?> kboard-list-selected<?php endif?>">
    		<a href="<?php echo $url->getDocumentURLWithUID($content->uid)?>#kboard-document">
    			<div class="kboard-list-thumbnail">
    				<?php if($content->getThumbnail(500, 500)):?>
    				<div class="kboard-list-thumbnail-child" style="background-image:url(<?php echo $content->getThumbnail(500, 500)?>)"></div>
    				<?php endif?>
    				<?php if(isset($content->attach->over_image)):?>
    				<div class="kboard-list-thumbnail-over-background"></div>
    				<div class="kboard-list-thumbnail-over-image"><img src="<?php echo site_url($content->attach->over_image[0])?>" alt=""></div>
    				<?php endif?>
    			</div>
    			<div class="kboard-list-new"><?php if($content->isNew()):?><span class="kboard-pure-gallery-new-notify">New</span><?php endif?></div>
    			<div class="kboard-list-title"><div class="kboard-pure-gallery-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?>
    			</div></div>
    			<div class="kboard-list-user"><?php echo $content->getUserDisplay()?></div>
    		</a>
    	</li>
    	<?php endwhile?>
    </ul>
    <!-- 리스트 끝 -->

    고맙습니다.

좋은 정보와 인맥을 동시에, 워드프레스 사용자 단톡방 참여하기