I have a simple search form and I’m looking to exclude a channel from displaying in the results page even if the search term is relevant.
I’ve added the channel not parameter to the simple seach but results from the asset channel are been returned on the results page.
Am I missing something?
{exp:search:simple_form channel="not asset" status="Protected|open" search_in="entries" result_page="bca/search-results"}
<div class="mb-3">
<label for="keywords" class="form-label">Search</label>
<input type="text" class="form-control mb-2" name="keywords" id="keywords" placeholder="Search term">
<input type="submit" value="Search" class="btn btn-bca-blue">
</div>
{/exp:search:simple_form}
Thanks Wayne.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.