The method by which users find information on your WordPress site

learn more… | top users | synonyms

0
votes
1answer
20 views

Different layout on search page depending on category post

I would like to display different layouts for post with different categories on the search page: I tried with this code: <?php if(isset($_GET['the_category'])) { $type = ...
1
vote
0answers
13 views

Search broken due to uComments - I found the JS file that is causing the problem [on hold]

I was unable to search my site until I ran the plugin Deactivate/Activate test. It was uComments. This plugin has a file called functions.js which is causing this problem. I do understand it has ...
0
votes
0answers
17 views

Page/Post path in Search Results

I have lots of pages with similar titles which may be confusing when users search for something. To help them tell apart the pages, I'd like to add the page/post location (path) under each page/post ...
0
votes
1answer
34 views

Custom theme won't use search.php

I have a custom searchform.php and search.php in my theme. However, when searching for something all I see is the front page (with mysite.com/?s=something in the adressbar). I use a filter to make ...
0
votes
1answer
62 views
+50

Custom Search Not Consistent with Results

I've set up a custom search to use the s GET variable on a URL. I want it to fetch certain results but I've come across an odd problem. First, here's my code: $search_term = $_GET['s']; ...
0
votes
0answers
10 views

Display and hide content using checkbox in Redux Framework [closed]

Someone who used Redux Framework I need code for checkbox to show and hide stuff in theme for example search box, thanks.
0
votes
1answer
26 views

Understanding WordPress Search

I am trying to create a custom search similar to the one on totaljobs.com but through a WordPress site. Essentially I would be able to search for both search terms and location simultaneously. The ...
-1
votes
0answers
7 views

Allow one User role to search users of another user role through front end search by name and email?

There is a user Role "IT_Guy" I need to create a font end search for another user role "Recruiter" so that Recruiter can search user with "IT_Guy " role through name and email and list all those who ...
1
vote
0answers
10 views

Home page shows recent post, serps rank post within homepage

When I search for the title of one of my post in Google I see: Site Name- Tag Line www.mydomain.com Gibberish gibberish gibberish Hereis the the title of my post I have to go DEEP into the serps ...
1
vote
0answers
7 views

How is Buddypress POST data converted to a search URL?

I'm trying to dissect the Buddypress search so that I can understand how it works. But so much of the search function is a black box for me. So far, I've gathered: 1) POST data is sent somewhere ...
0
votes
0answers
26 views

How can I get a traceback on function calls?

I've been trying to make a search page, but I keep getting redirected back to the main site. I can't find anything useful in the log about why this might be happening. Is there a way I can enable some ...
0
votes
0answers
29 views

Removing “s” from search with custom parameters

I'm trying to do something that I thought would be quite simple and has turned out to be not simple at all. I've seen quite a few posts that look similar at first glance but none solve the issue for ...
6
votes
3answers
91 views

Can I force WP_Query to return no results?

I'm working on a website with a search feature that allows users to search through a lot of post meta. There is a specific search pattern that I would like to forcibly return no results for. The ...
0
votes
1answer
34 views

Search page for custom post type

I am new to wordpress and a beginner coder, and i was searching around the net, found solutions but still does not work. I have custom post type named dlm_download, and my custom search template not ...
0
votes
1answer
18 views

Advanced Search by minimum/maximum values

I'm building an advanced search form which allows me to search by different parameters. Currently, searching by taxonomies work fine. My issue occurs with trying to set a minimum price to search by. ...
-2
votes
1answer
23 views

Custom Field Search

I'm trying to create a custom search form that searches a custom post type that I have created. The form would need to search two custom taxonomies (similar to tags and categories) and the body text ...
1
vote
1answer
27 views

How to implement custom search with input fields?

I want to implement a search form like this: Loan Form In my theme I have a custom post type called Data with the Year and Money custom fields. I googled a lot but can't find a way to submit the ...
0
votes
0answers
17 views

include taxonomy terms in search query

I currently have a search query set up that only displays the post_type of listings in the search results, I want to amend this query to include a custom taxonomy also. I have a custom taxonomy for ...
1
vote
1answer
50 views

Search - Ajax - Alter Query Parameters with Pagination

Too Long ; Didn't Read How do I get pagination to work when I'm creating my query with ajax? I'm working on creating a functional search page that allows the user to filter how many posts per ...
1
vote
0answers
22 views

Knowledge base high performance Live Search

I'm trying to build a live search function for a knowledge base plugin so that as soon as a user types something into the search field possible results are loaded below the search field as close to ...
0
votes
0answers
14 views

Searching for media items with certain category item

I created a custom taxonomy called "Reference Type" which is used to categorize media library items. I want to create a search form to search for media library items based on file name and "reference ...
0
votes
0answers
16 views

Custom search result

I've tried to google it for several time but i couldnt find anything clear. I added a select field in the searchform.php, but if the user choose one of the options, i dont know how to show it on the ...
0
votes
2answers
40 views

Make the text field in search form optional

I've added some custom fields to my search form, which will be used more frequently than the original text field (<input name="s" />). However, the text field seems to be required to perform a ...
0
votes
0answers
30 views

Create a filter that is using 2,3 or more custom fields

I want to integrate a archive search by custom field into my website. I have this tutorial. It works fine, but I need to integrate more custom fields. Ex: I want to integrate 2 more custom fields ...
-1
votes
0answers
23 views

InnoDB full text search with WordPress

Now MySQL 5.6 support full text search on InnoDB, is it possible to make WordPress use of the full text index to speed up the search?
-1
votes
0answers
26 views

Allow access to custom search.php file within template directory

I've got a file handed to me from an affiliate developer that needs to resolve to the URL http://example.com/search.php . I put it in the current template directory : ...
0
votes
0answers
32 views

select to search in category AND custom post type

I try to do something but which I block. What I need is simple: a search textbox and a select which allows the user to search either in whole or in custom post types, or in category. Separately, I can ...
0
votes
1answer
42 views

Using pre_get_posts to rewrite search query to display posts from multiple taxonomies

This seems like it should be straightforward, but I'm stuck on it! If a user searches for 'alice', I would like to show them all posts with the custom taxonomy terms of 'bob' and 'carol', regardless ...
0
votes
1answer
16 views

Connecting Google Site Search with Wordpress Taxonomies/Categories/Tags

A client is pushing to have Google Site Search set up. Currently, their search is filterable (using dropdown) by category, tag, other taxonomies. How can I implement this filtering with paid Google ...
0
votes
0answers
21 views

Search (Custom Form, Custom Search Result)

If I have a form: <form class="search" action="<?php echo site_url(); ?>/page-search?category=2" method="get"> <input type="text" required name="search" placeholder="Search"> ...
0
votes
1answer
19 views

Make WordPress search for only this tags or exclude certain tags from search [duplicate]

Is there something like a function for letting the WP search form search for ONLY some tags you fill in. in example: function wordpress_search{ //search for tagname1, tagname2, tagname3 } If ...
0
votes
0answers
30 views

Search page pagination - unable to fix

I apologize for posting this as I know it's a common question but I haven't been able to crack it on my own. My search page works just fine other than the pagination (when you click on a successive ...
0
votes
0answers
10 views

Search template content

I have used templates for each page created from wp backend for my site. Like, e.g, Template named 'about' for 'About Us' page. On the template I retrieve posts of specific category using WP Query. I ...
0
votes
0answers
42 views

Custom Post Type, Taxonomy, and Geo-Coded Radius Search

I've been struggling with this for the last few days and just keep seem to get it right. Here's the situation: I have a provider directory (hospitals) in a custom post type. The 2,000+ providers were ...
1
vote
0answers
27 views

Search Query: how to construct a search string from two select elements?

Im trying to create a wordpress search widget. The final search string Im trying to submit is made up of two keywords, one each from a select element. I'd like the final search query to be ...
0
votes
1answer
44 views

custom theme's search not working

I've created a custom theme. It's pretty simple. However, the search function is not working. Does the search results page not use the theme's page.php?
2
votes
2answers
89 views

CPT Meta Searching

I'm developing a WP plugin which uses custom post types and meta data. What I'm trying to achieve is having the meta data searchable. Here is some code that I found which searches the meta data fine, ...
0
votes
0answers
17 views

Quirky behavior in multi-server environment

I have a wordpress setup running in AWS on a handful of EC2 instances. Each instance is identical, all pointing to the same shared RDS instance (database). I had to do some S3 bucket mounting magic ...
0
votes
0answers
31 views

Custom Taxonomy drop downs for parents and child

I have taxonomies like Cities and they have child sub taxonomies. I have a code that display as metabox on post publish page. But I want to display on front page as search filter. How can I do that? ...
1
vote
3answers
118 views

Searching by meta values showing inappropriate result

I am working on a custom search by meta value and using this: print_r($_REQUEST); $args = array( 'post_type' => 'property_post', 'posts_per_page' => 10, 'order' => 'ASC', ...
0
votes
1answer
41 views

Change the search icon in twenty fourteen

I guess the title says all. I'm trying to change the search icon of the twenty fourteen theme, because I need a darker one. I tried like this: .search-toggle { background: ...
0
votes
1answer
28 views

Wildcard search in WP Query

I am trying to do something like this: $args = array( 'post_type' => 'product', 'meta_query' => array( array( 'key' => 'custom-text-field', 'value' => '%rocket%', ...
0
votes
0answers
25 views

display page title as a search result containing searched word

My requirement is such that I want to show page title on searching any word containing in that page. Currently I'm using "Ajaxy Live Search" plugin. This plugin results directly the posts, which I ...
0
votes
4answers
100 views

remove meta robots tag from wp_head

I am in need to remove just this line from wp_head but can't find the right hook to use it with remove_action(). <meta name=robots content="noindex,follow"/> Basically what I want to achieve ...
0
votes
0answers
30 views

Search template error when search is path ?s=

When make a search the path is www.xxxx.com?s=xxxx. This retrieve an error: Notice: Trying to get property of non-object in /home/codetoco/public_html/wp-includes/post-template.php on line 29. If I ...
0
votes
0answers
29 views

Searchable database of members using multiple criteria / filters

I'm very new to wp let's say that first! What I need is to create a site which will list a database of members of an organisation. Users will also be able to sign-up and add themselves to the ...
0
votes
0answers
19 views

Search form is not working in live site

I have installed a wordpress theme called suffusion. Search widget is not working in this theme. It shows nothing found always. I have search.php as below. It is working in local machine <?php ...
0
votes
0answers
39 views

WP E-Commerce: include custom meta value in product search

I'm currently using the WP E-Commerce plugin to integrate e-commerce into a site I'm building, this all works great but I've also added a custom meta value to the product page, the small problem I'm ...
0
votes
1answer
23 views

Displaying number of search results for each post type

Using the code below, my search returns results from two different CPTs. How can I display the number of results for each CPT before displaying results? function more_posts_per_search_page( $query ) ...
0
votes
1answer
24 views

Separating search results collectively by type

My search results are limited to post types book and author. The following code in search.php displays all author posts first, then all book posts (I asked why post types are separated like that, but ...