퓨어 갤러리 검색과 글쓰기 문의

https://imgur.com/a/KLqsTVm

KBoard 퓨어 갤러리 스킨에서요, 검색과 글쓰기가 상단에 있는데요.

기본 게시판 같이 하단으로 내려오게 하려면 어디서 수정해야 할까요?

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

    FTP로 접속해서 /wp-content/plugins/kboard/skin/pure-gallery/list.php 파일에

    아래의 코드를 찾아서 삭제해보세요.

    <div class="kboard-control">
    	<div class="kboard-control-search">
    		<a href="#" onclick="kboard_pure_gallery_search_toggle();return false;" title="<?php echo __('Search', 'kboard')?>"><img src="<?php echo $skin_path?>/images/icon-search.png" alt="<?php echo __('Search', 'kboard')?>"></a>
    	</div>
    	<?php if($board->isWriter()):?>
    	<div class="kboard-control-write">
    		<a href="<?php echo $url->set('mod', 'editor')->toString()?>" title="<?php echo __('New', 'kboard')?>"><img src="<?php echo $skin_path?>/images/icon-write.png" alt="<?php echo __('New', 'kboard')?>"></a>
    	</div>
    	<?php endif?>
    </div>
    
    <!-- 검색폼 시작 -->
    <div class="kboard-pure-gallery-search">
    	<form id="kboard-search-form-<?php echo $board->id?>" method="get" action="<?php echo $url->toString()?>">
    		<?php echo $url->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->toInput()?>
    		<select name="target">
    			<option value=""><?php echo __('All', 'kboard')?></option>
    			<option value="title"<?php if(kboard_target() == 'title'):?> selected<?php endif?>><?php echo __('Title', 'kboard')?></option>
    			<option value="content"<?php if(kboard_target() == 'content'):?> selected<?php endif?>><?php echo __('Content', 'kboard')?></option>
    			<option value="member_display"<?php if(kboard_target() == 'member_display'):?> selected<?php endif?>><?php echo __('Author', 'kboard')?></option>
    		</select>
    		<input type="text" name="keyword" value="<?php echo kboard_keyword()?>" placeholder="<?php echo __('Search', 'kboard')?>...">
    		<button type="submit" class="kboard-pure-gallery-button-small"><?php echo __('Search', 'kboard')?></button>
    	</form>
    </div>
    <!-- 검색폼 끝 -->

    아래의 코드를 찾아서

    <!-- 페이징 시작 -->
    <div class="kboard-pagination">
    	<ul class="kboard-pagination-pages">
    		<?php echo kboard_pagination($list->page, $list->total, $list->rpp)?>
    	</ul>
    </div>
    <!-- 페이징 끝 -->

    찾은 코드 밑에 아래의 코드를 추가해보세요.

    <div class="kboard-control">
    	<div class="kboard-control-search">
    		<a href="#" onclick="kboard_pure_gallery_search_toggle();return false;" title="<?php echo __('Search', 'kboard')?>"><img src="<?php echo $skin_path?>/images/icon-search.png" alt="<?php echo __('Search', 'kboard')?>"></a>
    	</div>
    	<?php if($board->isWriter()):?>
    	<div class="kboard-control-write">
    		<a href="<?php echo $url->set('mod', 'editor')->toString()?>" title="<?php echo __('New', 'kboard')?>"><img src="<?php echo $skin_path?>/images/icon-write.png" alt="<?php echo __('New', 'kboard')?>"></a>
    	</div>
    	<?php endif?>
    </div>
    
    <!-- 검색폼 시작 -->
    <div class="kboard-pure-gallery-search">
    	<form id="kboard-search-form-<?php echo $board->id?>" method="get" action="<?php echo $url->toString()?>">
    		<?php echo $url->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->toInput()?>
    		<select name="target">
    			<option value=""><?php echo __('All', 'kboard')?></option>
    			<option value="title"<?php if(kboard_target() == 'title'):?> selected<?php endif?>><?php echo __('Title', 'kboard')?></option>
    			<option value="content"<?php if(kboard_target() == 'content'):?> selected<?php endif?>><?php echo __('Content', 'kboard')?></option>
    			<option value="member_display"<?php if(kboard_target() == 'member_display'):?> selected<?php endif?>><?php echo __('Author', 'kboard')?></option>
    		</select>
    		<input type="text" name="keyword" value="<?php echo kboard_keyword()?>" placeholder="<?php echo __('Search', 'kboard')?>...">
    		<button type="submit" class="kboard-pure-gallery-button-small"><?php echo __('Search', 'kboard')?></button>
    	</form>
    </div>
    <!-- 검색폼 끝 -->

    KBoard 게시판 스킨을 플러그인으로 설치하셨다면

    /wp-content/plugins/pure-gallery/list.php 파일을 수정해주시면 됩니다.

    고맙습니다.

워드프레스 에러 기술지원 서비스 전문가에게 맡기세요