I'm doing a web with wordpress with Advanced Custom Field, I'm trying to integrate an article search engine but without woocommerce (ie a normal search engine). I upload these articles through the content manager as I explain in the image:
But I do not know how to tell the search engine to only show me the results of that section How can I do it?
I attach the code that I have for now:
/** en el functions.php */
add_theme_support( 'html5', array( 'search-form' ) );
<form id="form_buscador" role="search" method="get" class="search-form" action="<?php echo home_url( '/' ); ?>">
<label>
<span>Introduzca aquí su búsqueda y pulse ENTER:</span><br>
<input type="search" class="search-field" placeholder="BUSCAR" value="<?php echo get_search_query() ?>" name="s" title="BUSCAR" />
</label>
<input type="submit" class="search-submit" value="<?php echo esc_attr_x( 'Search', 'submit button' ) ?>" />
</form>