KBoard 오션 프랜차이즈 스킨에서 서울 지역만 나타낼 수 는 없을까요?

워드프레스 게시판 KBoard(케이보드) 사용중입니다.

KBoard 오션 프랜차이즈 스킨을 쓰고 있는데 서울 지역만 사용하고 싶을 때는 어떡해 하나요?

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

    KBoard 오션 프랜차이즈 스킨에서 서울 지역만 사용하는 건

    지도와 카테고리 선택 쪽에서 안 보이게 하고 싶으신 건지요?

     

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

    아래의 코드를 찾아서

    <div class="kboard-map-v2">
    	<img src="<?php echo $skin_path?>/images/map-v2.png">
    	<div class="map-area" style="left:8%;top:13%;" data-map="<?php echo $skin_path?>/images/map-v2-incheon.png"><a href="<?php echo $url->set('category1', '인천')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>"><?php echo __('Incheon', 'kboard-ocean-franchise')?></a></div>
    	<div class="map-area" style="left:20%;top:16%;" data-map="<?php echo $skin_path?>/images/map-v2-seoul.png"><a href="<?php echo $url->set('category1', '서울')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>"><?php echo __('Seoul', 'kboard-ocean-franchise')?></a></div>
    	<div class="map-area" style="left:20%;top:23%;" data-map="<?php echo $skin_path?>/images/map-v2-gyeonggi.png"><a href="<?php echo $url->set('category1', '경기도')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>"><?php echo __('Gyeonggi', 'kboard-ocean-franchise')?></a></div>
    	<div class="map-area" style="left:44%;top:14%;" data-map="<?php echo $skin_path?>/images/map-v2-gangwon.png"><a href="<?php echo $url->set('category1', '강원도')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>"><?php echo __('Gangwon', 'kboard-ocean-franchise')?></a></div>
    	<div class="map-area" style="left:32%;top:28%;" data-map="<?php echo $skin_path?>/images/map-v2-chungbuk.png"><a href="<?php echo $url->set('category1', '충청북도')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>"><?php echo __('Chungbuk', 'kboard-ocean-franchise')?></a></div>
    	<div class="map-area" style="left:2%;top:35%;" data-map="<?php echo $skin_path?>/images/map-v2-chungnam.png"><a href="<?php echo $url->set('category1', '충청남도')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>"><?php echo __('Chungnam', 'kboard-ocean-franchise')?></a></div>
    	<div class="map-area" style="left:22%;top:33%;" data-map="<?php echo $skin_path?>/images/map-v2-sejong.png"><a href="<?php echo $url->set('category1', '세종')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>"><?php echo __('Sejong', 'kboard-ocean-franchise')?></a></div>
    	<div class="map-area" style="left:22%;top:40%;" data-map="<?php echo $skin_path?>/images/map-v2-daejeon.png"><a href="<?php echo $url->set('category1', '대전')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>"><?php echo __('Daejeon', 'kboard-ocean-franchise')?></a></div>
    	<div class="map-area" style="left:50%;top:40%;" data-map="<?php echo $skin_path?>/images/map-v2-gyeongbuk.png"><a href="<?php echo $url->set('category1', '경상북도')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>"><?php echo __('Gyeongbuk', 'kboard-ocean-franchise')?></a></div>
    	<div class="map-area" style="left:16%;top:54%;" data-map="<?php echo $skin_path?>/images/map-v2-jeollabuk.png"><a href="<?php echo $url->set('category1', '전라북도')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>"><?php echo __('Jeollabuk', 'kboard-ocean-franchise')?></a></div>
    	<div class="map-area" style="left:48%;top:52%;" data-map="<?php echo $skin_path?>/images/map-v2-daegu.png"><a href="<?php echo $url->set('category1', '대구')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>"><?php echo __('Daegu', 'kboard-ocean-franchise')?></a></div>
    	<div class="map-area" style="left:67%;top:57%;" data-map="<?php echo $skin_path?>/images/map-v2-ulsan.png"><a href="<?php echo $url->set('category1', '울산')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>"><?php echo __('Ulsan', 'kboard-ocean-franchise')?></a></div>
    	<div class="map-area" style="left:41%;top:60%;" data-map="<?php echo $skin_path?>/images/map-v2-gyeongnam.png"><a href="<?php echo $url->set('category1', '경상남도')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>"><?php echo __('Gyeongnam', 'kboard-ocean-franchise')?></a></div>
    	<div class="map-area" style="left:10%;top:73%;" data-map="<?php echo $skin_path?>/images/map-v2-jeollanam.png"><a href="<?php echo $url->set('category1', '전라남도')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>"><?php echo __('Jeollanam', 'kboard-ocean-franchise')?></a></div>
    	<div class="map-area" style="left:16%;top:66%;" data-map="<?php echo $skin_path?>/images/map-v2-gwangju.png"><a href="<?php echo $url->set('category1', '광주')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>"><?php echo __('Gwangju', 'kboard-ocean-franchise')?></a></div>
    	<div class="map-area" style="left:64%;top:64%;" data-map="<?php echo $skin_path?>/images/map-v2-busan.png"><a href="<?php echo $url->set('category1', '부산')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>"><?php echo __('Busan', 'kboard-ocean-franchise')?></a></div>
    	<div class="map-area" style="left:10%;top:92%;" data-map="<?php echo $skin_path?>/images/map-v2-jeju.png"><a href="<?php echo $url->set('category1', '제주도')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>"><?php echo __('Jeju', 'kboard-ocean-franchise')?></a></div>
    </div>

    아래의 코드로 교체하시면 지도에 서울만 표시됩니다.

    <div class="kboard-map-v2">
    	<img src="<?php echo $skin_path?>/images/map-v2.png">
    	<div class="map-area" style="left:20%;top:16%;" data-map="<?php echo $skin_path?>/images/map-v2-seoul.png"><a href="<?php echo $url->set('category1', '서울')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>"><?php echo __('Seoul', 'kboard-ocean-franchise')?></a></div>
    </div>

     

    아래의 코드를 찾아서

    <div class="kboard-branch">
    	<h3 class="kboard-header-title"><?php echo __('Guide', 'kboard-ocean-franchise')?></h3>
    	<a class="kboard-branch-button<?php if(!kboard_category1()):?> active<?php endif?>" href="<?php echo $url->set('category1', '')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>" title="전체"><?php echo __('All', 'kboard-ocean-franchise')?></a>
    	<a class="kboard-branch-button<?php if(kboard_category1()=='서울'):?> active<?php endif?>" href="<?php echo $url->set('category1', '서울')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>" title="서울"><?php echo __('Seoul', 'kboard-ocean-franchise')?></a>
    	<a class="kboard-branch-button<?php if(kboard_category1()=='부산'):?> active<?php endif?>" href="<?php echo $url->set('category1', '부산')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>" title="부산"><?php echo __('Busan', 'kboard-ocean-franchise')?></a>
    	<a class="kboard-branch-button<?php if(kboard_category1()=='대구'):?> active<?php endif?>" href="<?php echo $url->set('category1', '대구')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>" title="대구"><?php echo __('Daegu', 'kboard-ocean-franchise')?></a>
    	<a class="kboard-branch-button<?php if(kboard_category1()=='인천'):?> active<?php endif?>" href="<?php echo $url->set('category1', '인천')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>" title="인천"><?php echo __('Incheon', 'kboard-ocean-franchise')?></a>
    	<a class="kboard-branch-button<?php if(kboard_category1()=='광주'):?> active<?php endif?>" href="<?php echo $url->set('category1', '광주')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>" title="광주"><?php echo __('Gwangju', 'kboard-ocean-franchise')?></a>
    	<a class="kboard-branch-button<?php if(kboard_category1()=='대전'):?> active<?php endif?>" href="<?php echo $url->set('category1', '대전')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>" title="대전"><?php echo __('Daejeon', 'kboard-ocean-franchise')?></a>
    	<a class="kboard-branch-button<?php if(kboard_category1()=='울산'):?> active<?php endif?>" href="<?php echo $url->set('category1', '울산')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>" title="울산"><?php echo __('Ulsan', 'kboard-ocean-franchise')?></a>
    	<a class="kboard-branch-button<?php if(kboard_category1()=='세종'):?> active<?php endif?>" href="<?php echo $url->set('category1', '세종')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>" title="세종"><?php echo __('Sejong', 'kboard-ocean-franchise')?></a>
    	<a class="kboard-branch-button<?php if(kboard_category1()=='경기도'):?> active<?php endif?>" href="<?php echo $url->set('category1', '경기도')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>" title="경기도"><?php echo __('Gyeonggi', 'kboard-ocean-franchise')?></a>
    	<a class="kboard-branch-button<?php if(kboard_category1()=='경상남도'):?> active<?php endif?>" href="<?php echo $url->set('category1', '경상남도')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>" title="경상남도"><?php echo __('Gyeongnam', 'kboard-ocean-franchise')?></a>
    	<a class="kboard-branch-button<?php if(kboard_category1()=='경상북도'):?> active<?php endif?>" href="<?php echo $url->set('category1', '경상북도')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>" title="경상북도"><?php echo __('Gyeongbuk', 'kboard-ocean-franchise')?></a>
    	<a class="kboard-branch-button<?php if(kboard_category1()=='전라남도'):?> active<?php endif?>" href="<?php echo $url->set('category1', '전라남도')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>" title="전라남도"><?php echo __('Jeollanam', 'kboard-ocean-franchise')?></a>
    	<a class="kboard-branch-button<?php if(kboard_category1()=='전라북도'):?> active<?php endif?>" href="<?php echo $url->set('category1', '전라북도')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>" title="전라북도"><?php echo __('Jeollabuk', 'kboard-ocean-franchise')?></a>
    	<a class="kboard-branch-button<?php if(kboard_category1()=='충청남도'):?> active<?php endif?>" href="<?php echo $url->set('category1', '충청남도')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>" title="충청남도"><?php echo __('Chungnam', 'kboard-ocean-franchise')?></a>
    	<a class="kboard-branch-button<?php if(kboard_category1()=='충청북도'):?> active<?php endif?>" href="<?php echo $url->set('category1', '충청북도')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>" title="충청북도"><?php echo __('Chungbuk', 'kboard-ocean-franchise')?></a>
    	<a class="kboard-branch-button<?php if(kboard_category1()=='강원도'):?> active<?php endif?>" href="<?php echo $url->set('category1', '강원도')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>" title="강원도"><?php echo __('Gangwon', 'kboard-ocean-franchise')?></a>
    	<a class="kboard-branch-button<?php if(kboard_category1()=='제주도'):?> active<?php endif?>" href="<?php echo $url->set('category1', '제주도')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>" title="제주도"><?php echo __('Jeju', 'kboard-ocean-franchise')?></a>
    </div>

    아래의 코드로 교체하시면 카테고리에 전체와 서울만 표시됩니다.

    <div class="kboard-branch">
    	<h3 class="kboard-header-title"><?php echo __('Guide', 'kboard-ocean-franchise')?></h3>
    	<a class="kboard-branch-button<?php if(!kboard_category1()):?> active<?php endif?>" href="<?php echo $url->set('category1', '')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>" title="전체"><?php echo __('All', 'kboard-ocean-franchise')?></a>
    	<a class="kboard-branch-button<?php if(kboard_category1()=='서울'):?> active<?php endif?>" href="<?php echo $url->set('category1', '서울')->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->tostring()?>" title="서울"><?php echo __('Seoul', 'kboard-ocean-franchise')?></a>
    </div>

     

    /wp-content/plugins/kboard/skin/사용중인스킨/editor.php 파일에

    아래의 코드를 찾아서

    <select id="category1" name="category1">
    	<option value=""><?php echo __('Select', 'kboard')?></option>
    	<option value="서울"<?php if($content->category1 == '서울'):?> selected<?php endif?>><?php echo __('Seoul', 'kboard-ocean-franchise')?></option>
    	<option value="부산"<?php if($content->category1 == '부산'):?> selected<?php endif?>><?php echo __('Busan', 'kboard-ocean-franchise')?></option>
    	<option value="대구"<?php if($content->category1 == '대구'):?> selected<?php endif?>><?php echo __('Daegu', 'kboard-ocean-franchise')?></option>
    	<option value="인천"<?php if($content->category1 == '인천'):?> selected<?php endif?>><?php echo __('Incheon', 'kboard-ocean-franchise')?></option>
    	<option value="광주"<?php if($content->category1 == '광주'):?> selected<?php endif?>><?php echo __('Gwangju', 'kboard-ocean-franchise')?></option>
    	<option value="대전"<?php if($content->category1 == '대전'):?> selected<?php endif?>><?php echo __('Daejeon', 'kboard-ocean-franchise')?></option>
    	<option value="울산"<?php if($content->category1 == '울산'):?> selected<?php endif?>><?php echo __('Ulsan', 'kboard-ocean-franchise')?></option>
    	<option value="세종"<?php if($content->category1 == '세종'):?> selected<?php endif?>><?php echo __('Sejong', 'kboard-ocean-franchise')?></option>
    	<option value="경기도"<?php if($content->category1 == '경기도'):?> selected<?php endif?>><?php echo __('Gyeonggi', 'kboard-ocean-franchise')?></option>
    	<option value="경상남도"<?php if($content->category1 == '경상남도'):?> selected<?php endif?>><?php echo __('Gyeongnam', 'kboard-ocean-franchise')?></option>
    	<option value="경상북도"<?php if($content->category1 == '경상북도'):?> selected<?php endif?>><?php echo __('Gyeongbuk', 'kboard-ocean-franchise')?></option>
    	<option value="전라남도"<?php if($content->category1 == '전라남도'):?> selected<?php endif?>><?php echo __('Jeollanam', 'kboard-ocean-franchise')?></option>
    	<option value="전라북도"<?php if($content->category1 == '전라북도'):?> selected<?php endif?>><?php echo __('Jeollabuk', 'kboard-ocean-franchise')?></option>
    	<option value="충청남도"<?php if($content->category1 == '충청남도'):?> selected<?php endif?>><?php echo __('Chungnam', 'kboard-ocean-franchise')?></option>
    	<option value="충청북도"<?php if($content->category1 == '충청북도'):?> selected<?php endif?>><?php echo __('Chungbuk', 'kboard-ocean-franchise')?></option>
    	<option value="강원도"<?php if($content->category1 == '강원도'):?> selected<?php endif?>><?php echo __('Gangwon', 'kboard-ocean-franchise')?></option>
    	<option value="제주도"<?php if($content->category1 == '제주도'):?> selected<?php endif?>><?php echo __('Jeju', 'kboard-ocean-franchise')?></option>
    </select>

    아래의 코드로 교체하시면 지점 등록 시 서울만 선택할 수 있습니다.

    <select id="category1" name="category1">
    	<option value=""><?php echo __('Select', 'kboard')?></option>
    	<option value="서울"<?php if($content->category1 == '서울'):?> selected<?php endif?>><?php echo __('Seoul', 'kboard-ocean-franchise')?></option>
    </select>

    고맙습니다.

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