The method by which users find information on your WordPress site

learn more… | top users | synonyms

-1
votes
0answers
8 views

Search Plugin For Scheduled Posts [on hold]

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 ...
-1
votes
0answers
4 views

How do I use a filter to add custom fields to the search results rendered with Dave’s Wordpress Live Search?

I am using the plugin called Dave’s Wordpress Live Search to create a live search. I would like to add a custom field (from the plugin Custom Field Suite) to the result entries that have that custom ...
2
votes
1answer
24 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
26 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
36 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
11 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
21 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
34 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
54 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
18 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
16 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
23 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
22 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
17 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
16 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
32 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
16 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
49 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
40 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
18 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
12 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
28 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
24 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
11 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
31 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
55 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
32 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
15 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
24 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
76 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
33 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
67 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
41 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
38 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
35 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 ...
0
votes
1answer
37 views

Search Query that Includes Custom Table

I have a WordPress website that grabs product data from a custom table. I would like to be able to also search from fields in the custom table. Could someone provide a sample query of what this would ...
0
votes
3answers
65 views

Search Result from another wordpress website

I am wondering, is it possible to get the search result from Website A and display it to Website B, assuming that both websites are not part of multisite?
0
votes
0answers
92 views

Custom Search Form WP_Meta_Query - Filtering Custom Fields

I'm trying to build a search form that will filter users based on their custom fields. These custom fields are things like 'company_name' 'user_country' etc. I have some code and I am having a small ...
0
votes
0answers
36 views

What shortcode should I use for <gcse:searchresults-only></gcse:searchresults-only>

I have the same issue as the question posted here : Is there a way to stop WP editor deleting <gcse:searchbox-only></gcse:searchbox-only> I have created a custom-function.php file where ...
1
vote
2answers
37 views

Exclude html from search results (image names, etc.)?

We are heavily marking up our pages/posts so there is a lot of html and pictures being used. The problem is that our search results are hitting image names and class names (maybe I have a few other ...
0
votes
1answer
25 views

Wordpress post search shows not related results for search query

First, sorry I cannot show any code because I do not know where the actual problem is. I did not modify anything nor install any plugins, but when I search for a post globally with the default ...
0
votes
2answers
33 views

Search Results Page - Displaying Custom Meta Fields

For the search results page Im making a custom template. And in that custom template I want to display custom meta field values. However, when I do this: <?php if ( have_posts() ) : ?> ...