AJAX search on post pages by custom post type

I’m having an issue creating an ajax search on my single post pages. I need to limit the search results to the custom post types “fod_videos” and “post” and category 12. My issue is the search is returning all the posts under those filters and not taking the search value. I’m guessing I’m missing something obvious but I can’ figure it out. Here’s my setup.

Create product category and keyword search form in woocommerce?

i want to build category and keyword based search form. so i got this following form <form role="search" method="get" id="searchform_special" action="<?php echo esc_url( home_url( '/' ) ); ?>"> <div> <label class="screen-reader-text" for="s"><?php _e( 'Search for:', 'woocommerce' ); ?></label> <input type="text" value="<?php echo get_search_query(); ?>" name="s" id="s" placeholder="<?php _e( 'Search for products', 'woocommerce' ); ?>" /> … Read more

Search multiple custom fields by using meta_query

I’m trying to create a search results listing for a custom post type and the problem I’m running in to is with the way the ‘meta_query’ parameter is stringing the passed values together. It appears to be treating each ‘meta_query’ value as an ‘AND’ rather than ‘OR’. Here is the code I’m using:

Search Using Post ID

I’d like to be able to enter a post ID into the search box in order for the exact post to be returned in the search results. I’d also like to retain the ability to search the posts/page titles and content.