위젯개발의뢰했엇는데 위젯수정? 채택완료
혜선209
3년 전
조회 1,791

바로가기, 사이트정보누르면 새창으로 가야하는데
수정햇는데도 기본창에서바로이동되어서요 ㅠ
어딜 수정해야할까요???
개발한위젯에서 widget.setup.php 요파일에서 고치는거맞나요?
자
댓글을 작성하려면 로그인이 필요합니다.
답변 1개
답변을 작성하려면 로그인이 필요합니다.
로그인
</div>
<div class="na-title na-item_wr">
<div class="na-item_wr1 text-center">
<?php echo $list[$rand_array[$i]]['wr_1'] ?>
</div>
<div class="na-item_wr2 text-center">
<?php echo $list[$rand_array[$i]]['wr_2'] ?>
</div>
</div>
<div class="clearfix f-sm font-weight-normal">
<a href="<?php echo $list[$rand_array[$i]]['link'][1] ?>" <?php echo $target ?> class="cert_btn btn_link">
바로가기
</a>
<a href="<?php echo $list[$rand_array[$i]]['link'][2] ?>" <?php echo $target ?> class="cert_btn btn_view">
사이트 정보
</a>
</div>
</div>
</li>
<?php } ?>
감사합니다 여기인거같은데 어떻게 고치면될까요?!!저거아니면
// 글 이동
$is_link = false;
switch($wset['target']) {
case '1' : $target = ' target="_blank"'; break;
case '2' : $is_link = true; break;
case '3' : $target = ' target="_blank"'; $is_link = true; break;
default : $target = ''; break;
}
// 링크 이동
if($is_link && $list[$rand_array[$i]]['wr_link1']) {
$list[$rand_array[$i]]['href'] = $list[$rand_array[$i]]['link_href'][1];
}