Hello, I am following the blog tutorial. I have created folders, and sorted my articles into them, and i have created the page which lists all of the articles. I cannot make this page list only the articles from the specified folder.
Here is my code.
Hopefully someone can point me in the proper direction as to what I am doing wrong! Thanks!
Here is my code.
- Code: Select all
<!-- BLOG -->
<section class="blog split-post padding-top-80 padding-bottom-80">
<!-- TITTLE -->
<div class="container">
<!-- Work Filter -->
<ul class="tabs portfolio-filter text-center margin-bottom-80">
<cms:folders masterpage='blogpost.php'>
<li class="tab-title filter-item"><a href="<cms:show k_folder_link />" data-filter=".pf-branding-design"><cms:show k_folder_name /></a></li>
</cms:folders>
</ul>
<cms:pages masterpage='blogpost.php' paginate='1' limit='5' >
<!-- BLOG POST -->
<article class="blog-post">
<div class="row">
<!-- BLOG POST Image -->
<div class="col-md-5">
<div class="post-img"> <img src="<cms:show blog_image />" alt=""> </div>
</div>
<!-- BLOG POST CONTENT -->
<div class="col-md-7"> <a href="#." class="tittle-post"><cms:show k_page_title /></a><span class="post-bt">by <span class="text-color-primary">Nick</span></span>
<ul class="post-info">
<li> <i class="fa fa-comments-o"></i>97 </li>
<li> <i class="fa fa-eye"></i>565 </li>
<li> <i class="fa fa-bookmark-o"></i><cms:show k_page_foldertitle /></li>
<li> <span class="date font-crimson"><cms:date k_page_date format='j M' /></span> </li>
</ul>
<p><cms:show blog_content /></p>
<a href="<cms:show k_page_link />" class="btn gray-border margin-top-20 text-normal">READ MORE</a> </div>
</div>
</article>
<!-- PAGINATION -->
<cms:if k_paginated_bottom >
<ul class="pagination">
<cms:if k_paginate_link_prev >
<li><a href="<cms:show k_paginate_link_prev />"<i class="fa fa-angle-left"></i></a></li>
</cms:if>
<cms:if k_paginate_link_next >
<li><a href="<cms:show k_paginate_link_next />"><i class="fa fa-angle-right"></i></a></li>
</cms:if>
</ul>
</div>
</cms:if>
</cms:pages>
</section>
Hopefully someone can point me in the proper direction as to what I am doing wrong! Thanks!