0
현재 제가 작업하고있는 사이트가 있습니다.이 사이트에는 최근 10 개의 게시물 (제목은 링크로 표시)이 표시됩니다. Embed 함수로 이것을 호출합니다.Expression Engine에 오류가 있습니다.
개별 게시물 자체를 볼 때 목록에는 내가있는 게시물 제목 만 표시됩니다.
내 임베디드 코드는 exp : channels 항목의 일반적인 게시물 10 개를 모두 정상적으로 호출합니다.
내가 잘못 한 일이 있습니까?
{embed="embeds/html_header"}
<!-- content -->
{embed="embeds/html_blog_top"}
<div class="container">
<div class="row">
{embed="embeds/html_blog_sidebar"}
{exp:channel:entries channel="blog" limit="1"}
<div class="span8">
<article>
<header class="postHeader">
<div class="row-fluid">
<div class="span3 postDate">{entry_date format="%d"}<span>{entry_date format="%F"}</span></div>
<div class="span9 postPic">
<div class="imgWrapper">
{blog_image}
</div>
</div>
</div>
</header>
<div class="row">
<section class="span6 offset2">
<h2>{title}</h2>
<p>{full_entry}</p>
<p><span class='st_sharethis' displayText='ShareThis'></span>
<span class='st_facebook' displayText='Facebook'></span>
<span class='st_twitter' displayText='Tweet'></span>
</p>
</section>
</div>
</article>
</div>
{/exp:channel:entries}
</div>
</div>
</section>
<!-- footer -->
{embed="embeds/html_footer"}
이 사이드 바의 삽입은 다음과 같습니다 : 아래는 기본 블로그 페이지의 코드는
<aside class="span4" style="float:right;">
<section class="widget search clearfix">
<h3>news</h3>
<p>
{exp:channel:entries channel="blog" limit="10" orderby="date"}
<a href="{url_title_path='blog/post'}">{title}</a><br>
{/exp:channel:entries}
</p>
</section>
<section class="widget">
<h3>Archives</h3>
<ul>
<li>
{exp:channel:month_links channel="blog"}
<a href="{path='blog'}">{month} {year}</a><br>
{/exp:channel:month_links}
</li>
</ul>
</section>
</aside>
그것의 I 전체 목록으로 얻이 수없는 것 뉴스 섹션 바로 비트 개별 페이지에.