The method by which users find information on your WordPress site

learn more… | top users | synonyms

0
votes
0answers
13 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
16 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'); ...
-1
votes
0answers
7 views

Default Wordpress Gallery Questions [on hold]

I have been trying to search and do some research online but am unable to get some answers. 1) I am looking to use the Default Gallery on Wordpress, is there a plugin to add on top of the Media ...
1
vote
1answer
23 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
21 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
7 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
12 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 ...
0
votes
0answers
7 views

Woocommerce - search products by collection name [closed]

I am editin a woocomerce wp site that someone else made in the past --- the site has collections, products and categories. The products have categories (one or many) and are asociated to one ...
-1
votes
0answers
13 views

Search Plugin For Scheduled Posts [closed]

I have a WordPress site (not a simple blog) where pretty much all my content is in a scheduled or future status. I'm trying different search plugins such as Search Everything and Relevanssi, and they ...
2
votes
1answer
39 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
28 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
40 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
13 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
22 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
37 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
67 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
19 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
18 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
27 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
25 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
19 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
17 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
35 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
17 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
50 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
47 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
10 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
20 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
16 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
13 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]" > ...
0
votes
0answers
15 views

Search working only on default permalink structure

my custom theme is using a search form which works fine with default permalink structuresite-url/?p=id. however after i changed my permalink structure to post name, the search returns NOTHING FOUND. ...
0
votes
0answers
29 views

Include categories in search results?

I am using the standard WordPress search and search.php file to display results. I want to query both posts and categories at the same time and return results in order of relevance. For example, I ...
0
votes
0answers
25 views

Search custom post type with multiple queries

I am looking for way to search custom post type with multiple queries. I need to run single query from user search and if that isnt resulting with single post result to use another query. If first ...
0
votes
0answers
12 views

How to make my search result searched by post title and content and also categories only?

I would like to ask a question. Is there any solution to make my wp search result searched only by post title and categories? If this is a duplicate question, please refer me to the page where i can ...
0
votes
1answer
16 views

Database of names with search engine

Hi I'm interested in creating website with a database of names and a search engine that finds matches for queries and displaying the full record for the relevant field. I would like to know how I ...
0
votes
1answer
33 views

Search multiple custom post types with tags

I have blog with some post and pages and a forum, i need a search such that it need to search tags in post and pages and not in forum (bbpress) if ($query->is_search()) { $postType = array(); ...
0
votes
0answers
14 views

Search Wordpress Posts that have echo'd content in single.php

I was wondering how to include dynamically created content in the wordpress search, or if there is a plugin that was created that can do this? I have a single post template that lists some data from a ...
0
votes
0answers
13 views

Blog search doesn't fine results for exact title?

The search works fine for the website if you limit your matching keywords. However if you search the exact title it returns no results. Here is the site I found this in the functions.php function ...
0
votes
1answer
36 views

Need help setting up a search form for wordpress [duplicate]

I want to set up a search function as a widget in wordpress. This is the situation that I have. 1- I have 3 custom post types 1.a: Each post type has custom fields and taxonomies. I have regular ...
0
votes
0answers
57 views

Search box on single Post page should only search for posts

<form role="search" method="get" class="search-form-for-post form-inline" action="<?php echo home_url('/'); ?>"> <div class="input-group"> <input type="search" ...
0
votes
1answer
33 views

Pretty Permalink for Search Queries Not Working

As the title suggests I am trying to create pretty permalinks for search queries, but unfortunately I cant get them to work. I am trying to achieve the folllowing: ...
0
votes
0answers
16 views

Processing empty search TwentyTen

On my website when you submit an empty search box it takes you to a page that says nothing found however the navigation menu isn't displayed but it does when you enter a search term (whether it finds ...
0
votes
0answers
18 views

How to create a search box that are able to search other website?

Let's say, I have three websites, which are A (wordpress), B(php), website C(mediawiki). Now, I want to create an search box on A that can search from A, B, and C. How can I do this? Is there any ...
0
votes
0answers
25 views

Search Form Including Price

I've been searching through posts & tutorials for four days now without any luck. My background is front-end web design but the latest project calls for a little more in depth work. I'm looking to ...
0
votes
1answer
78 views

Select All not working in a WordPress search filter

I am trying to create a Search Filter within WordPress to filter through all the custom taxonomies within a Custom Post Type. I have created a function that generates the dropdown so I can output ...
0
votes
2answers
36 views

Modify Search Query if original Query gave no results

I'm looking for a way to modify the search query if the performed query returned no results. Let's say I'm looking for "Opening times", so I go to this URL: http://mysite.com?s=Opening+times Now, ...
0
votes
1answer
73 views

How to manage a particular “order by” for get_search_query()?

How to manage in the search.php file the order of a posts search query managed with the following code <?php echo sprintf(__('%s Zoekresultaten voor ', 'website'), $wp_query->found_posts); echo ...
1
vote
0answers
43 views

Category Search functionality on category metabox (wordpress admin)

I have lots of categories on my blog site. When I add new post and select category, I need to scroll down to find the category. Is it possible to add a search category functionality in category ...
0
votes
1answer
39 views

CPT, meta-data, url parameter

does someone could point me a lecture that could explain me how to create some "filter" passed by pretty link ? Let me explain my self, I have a custom post type called "spectacle" and I have a ...
0
votes
0answers
36 views

Custom search results page not showing excerpt

I have a custom content-searchresults.php page. However for some reason its not showing the excerpt, but other amends I make this on this are pulled through so it is using this template. Below is my ...