Search bar part two

Right guys and girls this is the page

http://www.muphotographiclandscapes.com/gallery/

This is the searchform.php

<?php /** * The template for displaying search forms in Unite * * @package unite */ ?> <form role=“search” method=“get” class=“search-form form-inline” action="<?php echo esc_url(home_url(’/’)); ?>"> <label class=“sr-only”><?php _e(‘Search for:’, ‘unite’); ?></label> <div class=“input-group”> <input type=“search” value="<?php echo get_search_query(); ?>" name=“s” class=“search-field form-control” placeholder="<?php _e(‘Search…’, ‘unite’); ?>"> <span class=“input-group-btn”> <button type=“submit” class=“search-submit btn btn-primary”><span class=“glyphicon glyphicon-search”></span></button> </span> </div> </form>

This is search.php

<?php /** * The template for displaying Search Results pages. * * @package unite / get_header(); ?> <section id=“primary” class=“content-area col-sm-12 col-md-8 <?php echo of_get_option( ‘site_layout’ ); ?>”> <main id=“main” class=“site-main” role=“main”> <?php if ( have_posts() ) : ?> <header class=“page-header”> <h1 class=“page-title”><?php printf( __( ‘Search Results for: %s’, ‘unite’ ), ‘<span>’ . get_search_query() . ‘</span>’ ); ?></h1> </header><!-- .page-header → <?php / Start the Loop */ ?> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( ‘content’, ‘search’ ); ?> <?php endwhile; ?> <?php unite_paging_nav(); ?> <?php else : ?> <?php get_template_part( ‘content’, ‘none’ ); ?> <?php endif; ?> </main><!-- #main → </section><!-- #primary → <?php get_sidebar(); ?> <?php get_footer(); ?>

What I want to do is have the search bar at the top only pull search results from the gallery on that page and do it using the data I put in “alt text”

Any ideas?

Hi @mark,

I hope you are well today.

You can achieve this by creating custom search result page developing custom code as described on the following pages.

http://codex.wordpress.org/Creating_a_Search_Page

Cheers,
Vinod Dalvi