title: Display posts on blogger based on Label?
body: <ul>
  <li>I need to make my homepage to display posts based on a certain label.</li>
  <li>I don't want all posts to show up at the section of homepage posts.</li>
  <li>I searched for away on Google Search and I found away that you recode something to hide all labels except the one you want to show, but its so bad since it kills other codes on the blogger.</li>
  <li>Anyone would re-code it for me so the homepage displays only "J" label ?</li>
  </ul>
  
  <p>Here is my blog : <a href="https://torrgamez.blogspot.com/" rel="nofollow noreferrer">https://torrgamez.blogspot.com/</a></p>
  
  <p>I think a re-code needed here, this is the post section in my HTML:</p>
  
  <pre><code>    &lt;!-- posts --&gt;
  &lt;div class='blog-posts hfeed'&gt;
  
    &lt;b:include data='top' name='status-message'/&gt;
  
    &lt;data:defaultAdStart/&gt;
    &lt;b:loop values='data:posts' var='post'&gt;
      &lt;b:if cond='data:post.isDateStart'&gt;
        &lt;b:if cond='data:post.isFirstPost == &amp;quot;false&amp;quot;'&gt;
          &amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;
        &lt;/b:if&gt;
      &lt;/b:if&gt;
      &lt;b:if cond='data:post.isDateStart'&gt;
        &amp;lt;div class=&amp;quot;date-outer&amp;quot;&amp;gt;
      &lt;/b:if&gt;
      &lt;b:if cond='data:post.dateHeader'&gt;
        &lt;h2 class='date-header'&gt;&lt;span&gt;&lt;data:post.dateHeader/&gt;&lt;/span&gt;&lt;/h2&gt;
      &lt;/b:if&gt;
      &lt;b:if cond='data:post.isDateStart'&gt;
        &amp;lt;div class=&amp;quot;date-posts&amp;quot;&amp;gt;
      &lt;/b:if&gt;
      &lt;div class='post-outer'&gt;
      &lt;b:include data='post' name='post'/&gt;
      &lt;b:if cond='data:blog.pageType == &amp;quot;static_page&amp;quot;'&gt;
        &lt;b:if cond='data:post.showThreadedComments'&gt;
          &lt;b:include data='post' name='threaded_comments'/&gt;
        &lt;b:else/&gt;
          &lt;b:include data='post' name='comments'/&gt;
        &lt;/b:if&gt;
      &lt;/b:if&gt;
      &lt;b:if cond='data:blog.pageType == &amp;quot;item&amp;quot;'&gt;
        &lt;b:if cond='data:post.showThreadedComments'&gt;
          &lt;b:include data='post' name='threaded_comments'/&gt;
        &lt;b:else/&gt;
          &lt;b:include data='post' name='comments'/&gt;
        &lt;/b:if&gt;
      &lt;/b:if&gt;
      &lt;/div&gt;
      &lt;b:if cond='data:post.includeAd'&gt;
        &lt;b:if cond='data:post.isFirstPost'&gt;
          &lt;data:defaultAdEnd/&gt;
        &lt;b:else/&gt;
          &lt;data:adEnd/&gt;
        &lt;/b:if&gt;
        &lt;div class='inline-ad'&gt;
          &lt;data:adCode/&gt;
        &lt;/div&gt;
        &lt;data:adStart/&gt;
      &lt;/b:if&gt;
    &lt;/b:loop&gt;
    &lt;b:if cond='data:numPosts != 0'&gt;
      &amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;
    &lt;/b:if&gt;
    &lt;data:adEnd/&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></p>