특정 카테고리 리스트를 게시판 상단에 노출하는 방법 문의

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

케이보드

 

2. 상세 내용

 

https://imgur.com/xpX97uK

위 이미지 처럼 구현하고싶습니다

여러 카테고리들 중 VVIP 카테고리에 해당하는 리스트를 게시판 위 섹션에 불러오고싶습니다

두 테이블 내에서 카테고리 항목은 관리자만 보이게 설정해두었습니다.

스킨-리스트.php 파일에서 수정하고 있습니다

테마-펑션.php 파일에서 add_filter로 했을때는 구현이 안돼서 리스트 파일에서 해보고있는데 방법이 잘못된걸까요?

이걸로 2주정도 구글링해가면서 하는데 제대로 구현이 안되고있어요ㅠㅠ

어떤식으로 수정해야 제가 원하는대로 구현이 가능까요..?

 

<div id="kboard-default-list">

<!-- 게시판 정보 시작 -->
<div class="kboard-list-header">

<section class="category--1">

    <div class="category1-title">프리미엄</div>


    <table class="category1-table">
        <thead>
            <tr>
                <?php if($board->isAdmin()):?>
                <th class="list-category">카테고리</th>
                <?php endif ?>
                <th class="list-jobtype">업무</th>
                <th class="list-title">현장명</th>
                <th class="list-address">소재지</th>
                <th class="list-career">응시요건</th>
            </tr>
        </thead>

        <tbody>
            <tr>

                <?php
                    $arr=array('category1','jobtype','title','carrer');
                    $filter_c2=array_filter($arr,"isTrue");{
                    print_r($filter_c2);
                    functionisTrue($val)
                    {
                    return$val=="c2";
                    }
                    }
                ?>
                <?php if($board->isAdmin()):?>
                <td class="list-category"><?php echo $content=$list->category1?></td>
                <?php endif ?>
                <td class="list-title"><?php echo $content->title?><td>
                <td class="list-address"><?php echo $content->option->{'address'}?></td>
                <td class="list-career"><?php echo $content->option->{'career'}?></td>
            </tr>
        </tbody>
    </td>
</section>

</div>
</div>

 

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

 

 

 

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

 

 

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