php 리스트 글줄 표시 질문이에요

매출이 오르면 내리는 수수료! 지금 수수료센터에서 전자결제(PG)수수료 비교견적 신청해 보세요!
php 리스트 글줄 표시 질문이에요

QA

php 리스트 글줄 표시 질문이에요

본문

워드프레스 플러그인 수정 문의입니다.

고수님 도움을 구합니다.

 

1. 사이트에 포스팅된 글

1846223409_1608008390.8078.png

 

2. 축약 글 리스트 

1846223409_1608008459.6931.png

 

3. 사용자 정의 필드

1846223409_1608008490.829.png

 

 

여기서 사용자 정의필드 "최대 발췌문길이"에 이어 "글줄 수" 필드가 나타나게 할 수 없나요?

 1번에 나타난 글 딱 3줄만(상호, 대표자, 연락처) 2번에 나타나게 하려고 합니다.

 

폼에 있는 코드를 긇었습니다. 여기서 수정 가능할까요?

 

<p><input class="checkbox" type="checkbox" <?php checked( $bools[ 'show_excerpt' ] ); ?> id="<?php echo $field_ids[ 'show_excerpt' ]; ?>" name="<?php echo $this->get_field_name( 'show_excerpt' ); ?>" />
<label for="<?php echo $field_ids[ 'show_excerpt' ]; ?>"><?php esc_html_e( 'Show excerpt?', 'recent-posts-widget-with-thumbnails' ); ?></label></p>

 

<p><label for="<?php echo $field_ids[ 'excerpt_length' ]; ?>"><?php esc_html_e( 'Maximum length of excerpt', 'recent-posts-widget-with-thumbnails' ); ?>:</label>
<input id="<?php echo $field_ids[ 'excerpt_length' ]; ?>" name="<?php echo $this->get_field_name( 'excerpt_length' ); ?>" type="text" value="<?php echo $ints[ 'excerpt_length' ]; ?>" size="3" /></p>

 

<p><label for="<?php echo $field_ids[ 'excerpt_more' ]; ?>"><?php esc_html_e( 'Signs after excerpt', 'recent-posts-widget-with-thumbnails' ); ?>:</label>
<input id="<?php echo $field_ids[ 'excerpt_more' ]; ?>" name="<?php echo $this->get_field_name( 'excerpt_more' ); ?>" type="text" value="<?php echo esc_attr( $optional_texts[ 'excerpt_more' ] ); ?>" size="3" /></p>

 

 

이 질문에 댓글 쓰기 :

답변 1

최대발췌길이 65의 의미가 글 내용의 글자 65개만 보여준다는 것입니다.

 

즉 상호가 길어지면 이것으로 컨트롤이 안되다는 이야기죠.  (상호의 길이가 모두 같다면 괜찮겠지만.)

 

별도로 개발을 해야 될 것 같습니다.

답변을 작성하시기 전에 로그인 해주세요.
전체 60
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT