리스트 본문내용 노출

크로스링크 플러그인을 사용중입니다.

 

https://imgur.com/yt8I41O

이미지 첨부드린것처럼 제목 오른쪽에 본문내용을 노출시키고싶어서

스레드정보와 gpt도 사용해가며 해보았으나

이쪽 지식이 잘없어서그런지.. 도저히 노출되지않아 도움요청드립니다.

 

<div class="test"><span style="width: 30px; background: #c17287; color: #fff; font-size: 12px; padding: 2px 25px 2px 5px; margin-left: 5px; margin-right: 5px; margin-bottom: 10px;">테스트</span><span style="color: #434343; width: 100px; font-size: 15px; font-weight: 500;">10,000원</span></div>

본문에는 이와같이 html을 넣어서 노출시키려고합니다.

 

아, 그리고 크로스링크 '입력필드 설정' 에서 필드를 적용시켜도 실제 본문에 나오지않던데

이 스킨은 원래 입력필드설정이 안되는건가요??

감사합니다.

 

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

    리스트에 본문 내용을 표시하고 싶은신걸까요?

    이전에도 비슷한 문의가 있었는데 아래 링크를 남겨드릴테니 

    참고 후에 코드를 수정해보시겠어요?

    https://www.cosmosfarm.com/threads/document/29302

    https://www.cosmosfarm.com/threads/document/56828

    고맙습니다.

  • 안녕하세요.

    저 링크들도 답변주시기전에 다 적용해보았는데

    도저히 나오지가않네요ㅜ

     <div class="content">
     <?php echo $content->content?>
     </div>

    이 코드를 어디위치에 넣어야하나요?

    kboard-list-title 다음에도 넣어보고 다른데도 넣어봤는데

    나오지가 않았습니다..

    <!-- 리스트 시작 -->
    		<div class="kboard-list">
    			<table>
    				<thead>
    					<tr>
    						<td class="kboard-list-uid"><div class="right-line"><?php echo __('Number', 'kboard')?></div></td>
    						<?php if($board->use_category && $board->initCategory1()):?>
    						<td class="kboard-list-category1">
    							<div class="right-line"><?php echo __('지역', 'kboard')?></div>
    						</td>
    						<?php endif?>
    						<td class="kboard-list-title"><div class="right-line"><?php echo __('Title', 'kboard')?></div></td>
    						<?php if($board->use_category && $board->initCategory2()):?>
    						<td class="kboard-list-category2">
    							<div class="right-line"><?php echo __('Source', 'kboard-cross-link')?></div>
    						</td>
    						<?php endif?>
    						<td class="kboard-list-date"><div class="right-line"><?php echo __('Date', 'kboard-cross-link')?></div></td>
    						<td class="kboard-list-shortcuts"><?php echo __('Link', 'kboard-cross-link')?></td>
    						
    					</tr>
    				</thead>
    				<tbody>
    					<?php while($content = $list->hasNextNotice()):?>
    					<tr class="top-fixing<?php if($content->uid == kboard_uid()):?> kboard-list-selected<?php endif?>">
    						<td class="kboard-list-uid">※</td>
    						<?php if($board->use_category && $board->initCategory1()):?>
    							<td class="kboard-list-category1">
    							<?php if($board->initCategory1() && $content->category1):?>
    								<a href="<?php echo $url->set('category1', $content->category1)->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->toString()?>" title="<?php echo $content->category1?>"><div class="category1-wrap"><?php echo $content->category1?></div></a>
    							<?php endif?>
    							</td>
    						<?php endif?>
    						<td class="kboard-list-title">
    							<?php if($content->option->link):?>
    							<a href="<?php echo kboard_cross_link_print($content->option->link)?>" onclick="return kboard_cross_link_shortcut(this, '<?php echo $content->uid?>', '<?php echo $content->option->link_target?>')" title="<?php echo $content->title?>">
    								<div class="kboard-cross-link-cut-strings">
    									<?php if($content->isNew()):?><span class="kboard-cross-link-new-notify">New</span><?php endif?>
    									<?php echo $content->title?>
    								</div>
    							</a>
    							<?php else:?>
    							<a href="<?php echo $url->getDocumentURLWithUID($content->uid)?>" title="<?php echo $content->title?>">
    								<div class="kboard-cross-link-cut-strings">
    									<?php if($content->isNew()):?><span class="kboard-cross-link-new-notify">New</span><?php endif?>
    									<?php echo $content->title?>
    								</div>
    							</a>
    							<?php endif?>
    							<?php if($content->isEditor() || $board->permission_write=='all'):?>
    							<div class="separator">
    								<span class="kboard-edit">
    									<a href="<?php echo $url->getContentEditor($content->uid)?>" title="<?php echo __('Edit Link', 'kboard-cross-link')?>"><?php echo __('Edit Link', 'kboard-cross-link')?></a>
    								</span>
    								<span class="kboard-remove">‧</span>
    								<span class="kboard-remove">
    									<a href="<?php echo $url->getContentRemove($content->uid)?>" class="" onclick="return confirm('<?php echo __('Are you sure you want to delete?', 'kboard')?>');" title="<?php echo __('Delete Link', 'kboard-cross-link')?>"><?php echo __('Delete Link', 'kboard-cross-link')?></a>
    								</span>
    							</div>
    							<?php endif?>
    							<div class="kboard-mobile-contents">
    								<?php if($content->category2):?>
    								<span class="contents-item kboard-category2"><a href="<?php echo $url->set('category2', $content->category2)->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->toString()?>" title="<?php echo $content->category2?>"><?php echo $content->category2?></a></span>
    								<span class="contents-separator kboard-date">‧</span>
    								<?php endif?>
    								<span class="contents-item kboard-date"><?php echo $content->getDate()?></span>
    								<?php if($content->isEditor() || $board->permission_write=='all'):?>
    								<span class="contents-separator kboard-edit">‧</span>
    								<span class="contents-item kboard-edit"><a href="<?php echo $url->getContentEditor($content->uid)?>" title="<?php echo __('Edit Link', 'kboard-cross-link')?>"><?php echo __('Edit Link', 'kboard-cross-link')?></a></span>
    								<span class="contents-separator kboard-remove">‧</span>
    								<span class="contents-item kboard-remove"><a href="<?php echo $url->getContentRemove($content->uid)?>" onclick="return confirm('<?php echo __('Are you sure you want to delete?', 'kboard')?>');" title="<?php echo __('Delete Link', 'kboard-cross-link')?>"><?php echo __('Delete Link', 'kboard-cross-link')?></a></span>
    								<?php endif?>
    							</div>
    						</td>
    						<?php if($board->use_category && $board->initCategory2()):?>
    						<td class="kboard-list-category2">
    							<?php if($board->initCategory2() && $content->category2):?>
    								<a href="<?php echo $url->set('category2', $content->category2)->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->toString()?>" title="<?php echo $content->category2?>"><?php echo $content->category2?></a>
    							<?php endif?>
    						</td>
    						<?php endif?>
    						<td class="kboard-list-date"><?php echo $content->getDate()?></td>
    						<td class="kboard-list-shortcuts">
    							<?php if($content->option->link):?>
    							<a href="<?php echo kboard_cross_link_print($content->option->link)?>" onclick="return kboard_cross_link_shortcut(this, '<?php echo $content->uid?>', '<?php echo $content->option->link_target?>')" title="<?php echo __('Link', 'kboard-cross-link')?>">
    								<img src="<?php echo $skin_path?>/images/icon-link.png" onmouseover="this.src='<?php echo $skin_path?>/images/icon-link-hover.png'" onmouseout="this.src='<?php echo $skin_path?>/images/icon-link.png'" alt="">
    							</a>
    							<?php else:?>
    							<a href="<?php echo $url->getDocumentURLWithUID($content->uid)?>" title="<?php echo __('Link', 'kboard-cross-link')?>">
    								<img src="<?php echo $skin_path?>/images/icon-link.png" onmouseover="this.src='<?php echo $skin_path?>/images/icon-link-hover.png'" onmouseout="this.src='<?php echo $skin_path?>/images/icon-link.png'" alt="">
    							</a>
    							<?php endif?>
    						</td>
    					</tr>
    					<?php endwhile?>

    본문내용이 pc하고 모바일화면에 나오기만한다면 나머지는 css를통해 조절할수있을거같아서..

    번거로우시겠지만 다시 한번 도움요청드립니다.

좋은 정보와 인맥을 동시에, 워드프레스 사용자 단톡방 참여하기