The method by which users find information on your WordPress site

learn more… | top users | synonyms

0
votes
1answer
16 views

Create custom query for search?

I have create search box using ajax.If i enter any value in search input box that this value search in post title or post meta data and get all data of this value in custom post type.also query check ...
0
votes
1answer
11 views

Searching my on my blog is not working

I've been trying for hours if not a day to try and get my custom search.php and searchform.php to work and still no success. I've read a lot on these two templates and still no success. Here is my ...
0
votes
0answers
25 views

How To Have An Array Accessible from anywhere on the site?

I want to have an array that is dynamic that is accessible from anywhere on the site. My reason for having this is not to run a database query. Example: We start with array('cat' => 1, 'dog' => 2) ...
0
votes
0answers
16 views

Adding keyword to meta key search

With the help of some users on Stack Exchange, I've built a custom faceted search which searches quite a large list of custom fields using drop down selectors. I'm having difficulty adding a keyword ...
0
votes
0answers
9 views

Add a class or id to the category search field, force people to select a category [searchform]

I am using a search form which is category field available. I'm looking for a solution to add an id into the category field. I tried to get it work by myself. But, it turns out to be error. ==" I got ...
0
votes
0answers
18 views

include custom fields in search sql query

here is my sql query: add_filter( 'posts_where', 'title_filter', 100000, 2 ); function title_filter($where, &$wp_query){ global $wpdb; if(isset($_GET['s'])){ ...
0
votes
1answer
15 views

Custom search results

I have a Wordpress custom search form which is used to search for floors into various buildings. For example, when a user searches for a floor between 1000 and 1500 sq ft, he will get a list of all ...
0
votes
0answers
29 views

Unexpected WordPress search results

I'm making a simple project management plugin. I want to have a AJAX powered search feature for the projects. I have it working kind of. It just a simple search form. <form ...
1
vote
0answers
17 views

Get Adjacent post by search query

I want to get previous/next post, but to keep that within the same search query (I keep the searched terms from the previous page via the URL.) Is there any way to do this? It doesn't seem to be in ...
0
votes
1answer
23 views

Integrate Algolia to WordPress site

Algol released this on their website: https://github.com/algolia/algoliasearch-wordpress Which is supposed to allow us to integrate it to a wordpress site. However, I don't understand how am I ...
1
vote
3answers
71 views

Separating Search Results By Post Type

Original question: Seperating Custom Post Search Results I've tried to implement this code to my website, but i have some problem with it. What i've changed is i've added another switch for third ...
0
votes
0answers
34 views

How to hook into search results template or query?

I am looking for a way to hook into the search results from a regular Wordpress site search and make changes either to the display of the results themselves (by hooking into search.php somehow - not ...
0
votes
0answers
7 views

How do I add a search function in pages/posts that behaves like ctrl-f so users can locate specific keywords in a large data set?

I have some very large pages and I want the user to be able to search for a keyword and quickly jump down to the keyword in the text (including image captions) exactly like ctrl-f behaves in the ...
0
votes
0answers
20 views

Add custom field to string URL query

I recently took over a wordpress site from a former employee and I have 0 experience with this CMS aside from creating child themes. That being said, I'm trying to allow my search page to list out all ...
0
votes
1answer
29 views

two search forms on the same page

I have a mobile and a large screen search field. I am trying to load these both on the same page. I am using JointsWP Starter theme. Here are the functions: function joints_wpsearch($form) { $form ...
0
votes
0answers
20 views

How can I paginate search results from search in custom plugin and tables?

I've been trying to get this done for hours now and it's just not working. I have a custom plugin that has a search box on the front-end that one can use to search for data from my custom tables. ...
2
votes
1answer
25 views

Sitelinks Search Box in Google and urlencoded search string

I've recently implemented the Sitelinks Search Box and I'm having problems with search terms and special characters. For example, if I indtroduce an accented character in the standard search box from ...
-1
votes
0answers
15 views

Customization in Wordpress Plugin - Search result page

I am using a WordPress plugin for travel search by Travel Grove. This is the url : http://www.designgridstudios.com/demo3/ . After filling the search form it points to Merchant site and compare the ...
0
votes
1answer
17 views

Changing the search results destination URL

Sorry for the basic question, every Google query I try yields no useful results. How do I change the search results directory in Wordpress? Currently all searches need to be on the root to produce ...
0
votes
1answer
20 views

Best way to create a search for custom post type by custom field values

I have a custom post type called people. I want to have 3 search fields for; first-name, middle-name and last-name I was thinking about creating a page with my own search boxes and use query_posts: ...
0
votes
0answers
18 views

Search prices using drop-down range with WP Search Custom Fields plugin

I've built a search form using WP Custom Fields Search. The form searches a number of custom fields, all of which work perfectly.. except for one. I've set up a field in the search form with the ...
0
votes
1answer
22 views

Custom slug in front of search URL

I'll try explain this the best I can... I have a search form on my homepage: <form role="search" method="get" id="searchform" class="form" action="<?php echo esc_url( home_url( '/' ) ); ...
0
votes
0answers
12 views

Search within multiple authors posts with Relevanssi

Is it possible to search within multiple authors posts? When I try to create a array and pass it to the query it gives me: explode() expects parameter 2 to be string, array given in ...
0
votes
1answer
13 views

I've messed up the admin search functionality. Help!

This all started because, on the front-end, I wanted the search query to include terms from taxonomies and custom meta. So, after a google, I found the following code which I added to my functions ...
1
vote
1answer
44 views

WP User Query with search columns and meta query

I'm trying to build a query with WP User Query where it's possible to search after user_email user_nicename first_name last_name This are my args: $args = array( 'role' ...
-5
votes
1answer
88 views

Search is always exact [closed]

I'm pretty green to WordPress (and with the work I've been doing in it, my reasons for avoiding it seem to have been justified), and one of the problems I'm having is that the post search is always ...
0
votes
0answers
29 views

Creating search.php for Wordpress with custom fields feature

I have seen a Wordpress site which has below features in its search.php section. http://www.example.com/category/film/?directors=Brad%20Anderson ...
1
vote
1answer
47 views

Search results ordered by custom post types are not grouped

For a WordPress website I have a couple of custom post types, named cities and books, and also the regular blog posts. I have customized the search results (only search in the post title) page so that ...
0
votes
1answer
64 views

WP_Query with custom post type search showing all results every time

I'm working on building a search form for some custom post type. Problem is, the search yields the same results every time, which is all posts of that custom type. Please advice: Code: Search form: ...
0
votes
1answer
21 views

Custom URLs in Custom Search Results

I need your help with Custom URLs in Custom Search Results (Wordpress). I have this URL http://domain.com/?s=&categories=489&locations=310 which get me search results. I can replace IDs with ...
0
votes
0answers
14 views

How to build a category and area search engine [dropdown] for specific table on wordpress

I am a web designer and a starter on php. I wants to develop a city information based site on wordpress. I found a similar site which I wants to develop but its on asp.net and the site url is ...
0
votes
0answers
96 views

Limit Search Queries per IP per Day

I have a small website keeps several pdfs, but to prevent having all of the pdfs slurped up by someone's script (and to keep track of popularity of each file), I am requiring that people enter the ...
1
vote
3answers
39 views

How to search map address in custom post type?

I built a custom post type "shop" with Custom Post Type UI plugin and added a field "address" (Google Map type) with Advanced Custom Fields plugin. From the response of WP_Query('post_type=shop');, I ...
0
votes
1answer
30 views

Save search criteria per user and show on custom user page

I have a property website with a custom search form for minimum and maximum square feet. A registered user executes a search with a min(i.e. 150 sqft) and max(i.e. 300 sqft) select option value. I ...
0
votes
1answer
33 views

Search format not matching taxonomy query

I have inherited some code in this project. This search works. I can click on each individual taxonomy and see the results displayed on my page. However, I would like this to extend the search rather ...
0
votes
2answers
30 views

404 error when i try to search by category or by tag

I have following problem. When I try to search by tag or by category, I have 404 error. It means that when URL is like "domain.com/category/smt/" or "domain.com/tag/smt/", I have the error. I tried ...
1
vote
1answer
29 views

Edit search results in order to advertise

I want to add a banner for some specific keywords that is searched. For example: http://gold-prediction.com/?s=gold . If someone searched for gold, on side of "Search Results for: gold" I want to add ...
2
votes
1answer
66 views

Add custom parameters to JSON API search query?

I am using JSON API plugin to query wordpress from a mobile app. Currently I have a theme on my wordpress site which works as a directory returning "near me" results when a search is made. This is ...
0
votes
0answers
20 views

Infinite scoll on search page not working

i have implemented infinite scroll feature to my custom wordpress theme which is working fine on home/index page but i search page of my theme the infinite scroll is not working properly. The Problem ...
0
votes
1answer
46 views

How to exclude events (custom posts) from search, if the start date has already passed?

I have a query that is used to display search results from search. The query is in search.php. It shows custom posts and pages in the search result, which is what I want. I have a custom post type ...
0
votes
2answers
92 views

Custom search SQL Query to add custom field in result

I have to write my own MySQL query since I haven't found a good way to do it within wordpress functionality. I want the search query to search trough post_title / post_content & meta_key ...
0
votes
0answers
25 views

How to make the default Wordpress search return borader results

I'm displaying the results of a search query on one of my custom pages. The query is simple: $shopArgs = array( 's' => get_query_var('s'), 'post_type' => 'products', ...
0
votes
1answer
25 views

How to have multiple instances of the same taxonomy in a search form

I'm trying to have two separate search fields for tags on a search page on my Wordpress site, but it seems have a duplicate instance of a taxonomy breaks the search functionality. <form ...
0
votes
0answers
9 views

Need solution for search or menu with choice of category and specific month/day

I'm in need of a search or menu option on a wordpress site where the visitor can search by a category and specific date (month-day only).... OR, a way to make a chained select menu like I had on an ...
0
votes
0answers
16 views

Make search work like wordpress.org

As you see the search box on the top right of wordpress.org When you type in, it's a default wordpress search box. But the result page is Google Custom Search. At this time, i can make a google ...
1
vote
1answer
33 views

Temporarily storing main search result

I have several different post types and when someone searches, it lumps all the post types together and then I have a drop down select for the user to refine their search by the different post types ...
0
votes
0answers
20 views

Search returning everything

<div class="page-head"> <h2 class="page-title"> <?php if ( have_posts() ) : ?> <?php printf( __( 'Search Results for: %s', ...
2
votes
1answer
24 views

Strange Search Queries in Apache Status

I am running a wordpress website with high traffic, my server load gets very high and while checking apache status i found flood of wordpress searches like this /?s=\"khabarnaak\"&id=39790 ...
0
votes
1answer
48 views

Multiple search queries on one page

I need to display results of three different search queries on one page. More precisely, there is a searchbox on my page where a user enters a search phrase. Once the search phrase is submitted, I ...
0
votes
0answers
18 views

Return search for custom post type name

It is easy to write code that will only return posts from a certain custom post type. However, I haven't been able to find a way to return posts that search for the actual name of the custom post ...