The method by which users find information on your WordPress site

learn more… | top users | synonyms

0
votes
0answers
22 views

Modify search to display authors

I have been looking around the web but could not find a solution to this problem. Right now the search function in Wordpress - as I understand it - goes through the posts and looks for matching words. ...
1
vote
2answers
38 views

Show matching categories in search page

my current search only shows POSTS as results. http://newslines.org/?s=george My site has categories for George Clooney, George R.R. Martin etc. How do I get a list of categories that match the ...
-2
votes
0answers
15 views

cant search cart plugin [on hold]

I installed this plugin Link and have added some products to its store. The issue is I cant seem to be able to find any of the products during a search. Is there any reason this would happen? Like, ...
0
votes
1answer
15 views

How do I get my custom query to work with search results after the first page?

I am using a custom query in order to ajax load/append additional posts instead of paginating them out like WP defaults. However, when I click the button I've made to load more posts, it loads all ...
0
votes
0answers
13 views

Category Link to Post

I have a website with categories X, Y, Z...with the Search Everything plugin I can search based on the category name to return all the posts within a given category. I have the search results posts ...
0
votes
1answer
18 views

Fields building with wpadvancedsearch [closed]

I'm using wpadvancedsearch class for building out my search form. I'm trying to get data from two same meta key values and this does not work. In this case, meta key is 'price' and I'm trying to get ...
0
votes
0answers
14 views

Search & Replace trailing strings

I need to filter the_content/the_excerpt and search & replace the following prepared array: $searchArray = array("foo", "bar", "foo bar", ...); My problem is the fact, that using php's ...
0
votes
0answers
12 views

Change search to outpout category name instead of Post type name

Im using a ajax search which is great, however i would like to change it to show custom post type categorys instead of custom post type. I added the taxonomy for the custom post type categorys, and ...
0
votes
0answers
16 views

Search should search all posts under the category searched for

I have a situation where I want all posts to be retrieved from the category list. A proper explanation can be: - If I searched for "garden" - it should get all posts from the category garden. - I am ...
2
votes
1answer
24 views

Default WP search excluding specific characters, is it possible?

I would like to know if it possible to customize the default search module of Wordpress. I've a website dealing with teams and teams' news. Some of those teams has their names written like this ...
0
votes
1answer
9 views

Differentiate attachment pages in search results

I'm using the Relevanssi search plugin, which is basically a better version of the default search. Anyway when I search for something it displays everything I need it to, I was just wondering whether ...
0
votes
0answers
18 views

Custom Search not working

Can any Wordpress Guru figure out why my custom search form just reloads the page when submitted? I'm trying to create a custom search that uses two dropdowns only (no text input). The first ...
0
votes
1answer
21 views

Get the search element only on 404

I know get_sidebar( ); is used to get the widget sidebar , but how do I request one element from it? For instance, if I want to show the search or most read only? I know there is a way to specify ...
1
vote
1answer
32 views

Limit search to custom field

I have a custom post type bananas with a custom field _bananas_size (size is a number). Now I'd like a search field that only searches the custom field size. For example: the visitors selects value 6 ...
0
votes
0answers
27 views

change text written in english into hindi

i want to change the text written in english into hindi inside my search bar, i am developing a hindi newspaper website by using wordpress cms so when user type in english to search related news in ...
0
votes
1answer
24 views

Blank search results on custom search

I have a custom search with the following line of html in the form: <input type="hidden" name="post_type" value="product" /> This correctly appends: &post_type=product to the search query ...
0
votes
0answers
55 views

Search inside a custom taxonomy for multiple words doesn't return anything

My goal is to perform a search inside a custom taxonomy field. The page is an archive including a lot of books and magazines, and they have to be searched through, let's say, 'Authors','Title' and ...
0
votes
1answer
21 views

I want to edit the search function

I'm changing some parts of WordPress, like adding posts or comments, to use procedures in the database instead of using inline database calls to see if the performance enhances. I've been looking the ...
0
votes
1answer
31 views

Customise search form in the Widget

I would like to customise the Search Form that you drag and drop from the widgets panel. The customisation will be more than just css changes. I would like to add and custom classes. Is this ...
0
votes
0answers
20 views

WordPress TwentyTen Search

Could someone please explain why when I submit an empty search form I get sent to a page with no navigation menu? The navigation menu is there when a search term that has no matches is submitted and ...
0
votes
0answers
10 views

Custom Search Page to a different table in the same db

I am new to wordpress and php. I want to create a search page. The inputs are: State, GoverningOrg, ProgramType, Orderby. Then press the submit button. So basically what I did was create a new page ...
0
votes
1answer
16 views

How to stop Wordpress Search form from searching only in current page?

My wordpress search form (code below) appends the query string to current page only. For example if I go to http://Website/unknown-page and then use the form to search for some content the query ...
0
votes
1answer
60 views

Included posts on a page searchable

With Advanced Custom Fields (ACF) I added a 'relationship field' to the pages that can select posts from a custom post type. The chosen posts will be come part of the page. Searching with wordpress ...
0
votes
0answers
26 views

Google maps live search and data storage in wp

I am developing a website - sellers database. Every seller posts locations - shops he has visited in the past so the chance of another seller visiting the same shop is being eliminated. I have built a ...
0
votes
1answer
31 views

Incorrect search results in search.php – issue triggered by using `define('BodyID', 'search'); the_post();` in search.php

I have a problem where the page title is not picked up in search results. I've narrowed the problem down to the following line of search.php in my custom theme. define('BodyID', 'search'); ...
2
votes
1answer
36 views

Link to search page without search parameter

I'm a bit stuck with my actual project. Actually I wanted to link a search icon to the search page (where there's a form & the results). Actually I tried to link like this: /project/?s= but it ...
0
votes
1answer
46 views

Multi Parameter search with custom post type category and tag

i have a custom search which will have 3 inputs (dropdowns) , the html code of the form is ready and will use GET in url , now the remaining part is using values from url to run query. Parameters ...
0
votes
0answers
11 views

Broken pagination on custom search query

I've been searching through various questions and answers for some time now, but can't figure it out. I should state that I'm still a novice when it comes to WP coding. The thing is, I'm using a ...
0
votes
1answer
29 views

Custom Search Query – include only custom fields and title

I have a custom post type and I also need a custom search. I want the post title and two custom fields to be indexed/queried. I found solutions for title only and for custom fields but not for both so ...
2
votes
1answer
45 views

Including only current user's posts in search

I am a new WP plugin developer. I want the search page to include only the current user's posts. I first added a new capability read_others_posts to only administrators and editors. Then I tried the ...
0
votes
2answers
32 views

WordPress Single Conditional for Search Page

Is there a way to filter single.php so that if someone came from search.php it would display one thing, but if they came from anywhere else it would display another? Thanks, Josh
0
votes
1answer
43 views

Display WordPress Search

I am trying to display the current WordPress search term on single.php, index.php, and category.php...basically when someone searches for something I'd like WordPress to remember what the last search ...
0
votes
0answers
18 views

Remotely search WordPress sites using xml-rpc

This is the scenario: There are say 3 sites - A, B and C. Sites A and B have several custom posts. Now, from site C, I'd like to make a search for the posts in sites A and B. After reading up ...
0
votes
1answer
25 views

$wp_query when new WP_Query

I'm trying something but I have an issue with WP_Query. I've an Hook on the_post in order to add some variation on the query. add_filter('the_posts', 'query_variation'); function ...
0
votes
1answer
46 views

Search Custom Post Type & Taxonomies

The site I'm building has a directory element, which has a lot of different business listings; this is a custom post type. It has a Custom Taxonomy called Trades under which are different types of ...
1
vote
1answer
134 views

jQuery UI Autocomplete showing all results

I've built an Autocompleting search box for WordPress categories (it's actually a Custom Taxonomy), which works great (i.e it shows the categories when typed). However, when 1 key is typed, it will ...
0
votes
1answer
24 views

Search Result Customization

I need the search for highly customized. I've a custom post type with custom field. Search result should be displayed in this way: First search should be performed into all title and displayed them ...
0
votes
1answer
24 views

search.php is not generating the right results

I have a situation that didn't happen before. My search.php file didn't generate results, it just loop through all posts although the url is correct Domain_name/?s=key Here is the searchform.php ...
0
votes
0answers
49 views

Ajax Search results via Fancybox

What I'm trying to do: when the user clicks on the search icon, I open a lightbox overlay via fancybox. In the lighbox there's the search form where the user should type his search terms, hit the ...
0
votes
1answer
26 views

WordPress Search

I'm trying to write a search feature on a website of mine, and it seems like it's not pulling in any of the pages, only posts. Below is the code. Search Form: <form role="search" ...
1
vote
1answer
31 views

Use search in fancybox

I'm trying to use FancyBox to open a lightbox-style popup with the searchform.php, when the user clicks on the search icon. The setup: in header.php I have a link element which will show only the ...
0
votes
2answers
18 views

Returning the entire line of a custom search result filter

I have the below code which filters search results to only return those of a specific parent page: function SearchFilter($query) { if ($query->is_search) { //$query->set('post_type', ...
-1
votes
1answer
49 views

Custom Search only for my Custom Taxonomy Page - data

First of all, my post is related to : Link 1 and Link 2 I made my custom taxonomy page. My Custom Taxonomy Page link is //localhost/myproject/?motion=aamir-khan This page is custom taxonomy ...
0
votes
0answers
18 views

Wordpress not searching texts inside brackets

I have an issue using WordPress default search. Consider,there is a post with the title "(TITLE)". When I search for "TITLE",it is showing up in the search results. When I search for "(TITLE)", ...
0
votes
1answer
68 views

Wordpress pagination not working in search result page

I have a problem with pagination on search results page. The page links appear, but when i click onto page 2, it gives me a 404 error. Page 1 : ...
0
votes
1answer
88 views

Create search form in menu as in Twenty Fourteen theme

I would like to replicate the search form in Twenty Fourteen's menu. I have tried to hide and show the search button with jQuery. My Problem is that the button is not sliding from left to right and ...
0
votes
0answers
11 views

Sort search results asc for a custom field

i am not a very good developer (better: i am not a developer :), however i want to sort the search results in order of the value of a custom field. the reason is we are using ratings and it would be ...
0
votes
1answer
23 views

Search page results conflicting logic - Search result caching?

I recently stylized my search page results from the base template _S, and got everything to work quite nicely. I've developed it to return false/positive header/body. It should only return a positive ...
0
votes
1answer
18 views

Site Title in my Search URL

First off, I am still learning Wordpress by building my own theme. Go easy on me. My search URL displays my sites title. Example: /My%20Site?s=horror Is there an issue with my searchform.php that is ...
0
votes
0answers
15 views

search form to query textarea within plugin settings

I have a form, input text and search button, on the front-end of my site, that pops up when users select 'purchase', this all works great. <form action="[not sure what goes here]" > ...