Filtered search (by Label blogger)

2

Hello, I'm having trouble in a blogger search system. The problem is that I want to filter searches by Label .

<form action='/search' class='navbar-form navbar-right' id='searchthis' method='get' role='search' style='display: inline;'>
  <div class='form-group'>
    <input class='form-control' name='q' placeholder='Search' type='text' />
    <input>
    <b:loop values='data:posts' var='searh'>
    <b:if cond='data:blog.search == data:blog.homepageUrl'>
    <b:if cond='data:post.labels'>
    <b:loop values='data:post.labels' var='label' type='hidden'>
    <b:if cond='data:label.name == "Todos os episódios"'>
    <b:include data='search' name='printPosts'/>
    </b:if>
    </b:loop>
    </b:if>
    <b:else/>
    <b:include data='search' name='printPosts'/>
    </b:if>
    </b:loop>
  </div>
  <button class='btn btn-danger' type='submit'><span aria-hidden='true' class='glyphicon glyphicon-search'/></button>
</form>

I've done a lot of testing but it still does not filter the poster.

Q: I do not understand much HTML language so scripts can be kind of crazy

    
asked by anonymous 24.08.2017 / 15:54

0 answers