The method by which users find information on your WordPress site

learn more… | top users | synonyms

1
vote
0answers
10 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
11 views

Search returning everything

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

Google Search engine Time Updating Problem ( see below )

Example :- if i made changes in old posts and after that i will change Old time to immediately then publish.. So why google take 8-9+ hours to update post in Search engine ( but other wordpress site ...
0
votes
0answers
13 views

create search form with dropdown taxonomy and input text + custom template for action form

0 down vote favorite i create search form with taxonomy dropdown and input text for keyword "My Custom Taxonomy name is gener" this is my code without problem <form role="search" ...
1
vote
0answers
9 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
22 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
13 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 ...
0
votes
1answer
27 views

Wordpress search seems to look into permalink (which is bad)

It looks like when you search for the domain name in the wordpress search box, you get all your content listed because the domain name is in each permalink. I've tried many things, but it seems to be ...
-1
votes
0answers
20 views

how to create custom search form in wordpress

I am working on car rental company website, for this website there needs to be custom search form for cars, date and time. I want to know how to create it.
0
votes
0answers
2 views

Using Woocommerce, what would be the best way to create a search form similar to the one in the following website?

http://dinarholidays.com/tour-and-transfer-only-airport/ (under "Airport Transfers") The results would be products within a "transfers" category.
0
votes
1answer
24 views

Wordpress autocomplete search with taxonomies

I'm trying to make a wordpress search that has autocomplete. The thing is I don't want to autocomplete the input with a post title but with categories. I explain my problem: I have a taxonomy called ...
0
votes
1answer
40 views

Insert DIV container below 1st search result

How can I insert a DIV just below the first search result (between result #1 and #2)?
0
votes
1answer
23 views

How can I add search box in single.php?

I'm using the following code to add a search box in single.php: echo '<div class="search-cat-form-left">'; twentythirteen_paging_nav(); echo '</div>'; echo '<div ...
0
votes
0answers
7 views

Custom Search Function adds Results to Navigation

I've added a custom search function on my site that allows terms of a custom taxonomy to be searched as well as the normal content. The function works just how it should, but when you get to the ...
0
votes
1answer
22 views

How to reset usual $query on search page to push custom $wpdb query there?

I, recently posted 2 questions (First, Second) with no answer. I found my solution for both of them. But now it's time to fine-tune things. If I can fine-tune here, I could answer both the questions. ...
1
vote
2answers
44 views

Exclude a term of a taxonomy with a custom post type in a search

I've got a WooCommerce category for sold items within WooCommerce's custom post type of 'product'. What I'm trying to do is have the site search only return results from the product post type but also ...
0
votes
0answers
18 views

Modifying default search by including the users additionally

I'm taking products from a CPT with a custom field company defining Users from User Role 'company'. So, products that are filled with that particular custom field, are connected with the user account ...
0
votes
1answer
17 views

How Can I Make Dynamic Search Form While Converting Html To Wordpress?

I Am Converting Html to Wordpress. I Can Make Simple Searchform through <?php get_search_form( $echo ); ?> But I want to show Nothing Found if it can't find any data through search. How Can ...
0
votes
2answers
36 views

custom search result page

what i did, i create a search.php <?php get_header(); ?> <div class="wapper"> <div class="contentarea clearfix"> <div class="content"> <h1 ...
0
votes
1answer
15 views

Search Results Customization

There is anyway that I can customize my search results? I mean, per example, I have a financial webpage I want to show all the results that includes the word "aapl" and "apple" if someone is searching ...
0
votes
1answer
19 views

Count search results in heading

On my wordpress search page I would like to show a 'total found results'. This needs to be shown at the top of the page in a heading. I've tried this code but I gives me only the results of the ...
0
votes
0answers
20 views

Are search results paginated by default?

I'm using WooCommerce with a child theme of Storefront. I noticed that pagination links don't show up for search results. Is this a default behavior of WordPress, or is it a WooCommerce/Storefront ...
0
votes
0answers
9 views

Using SOLR with Wordpress - one server or two?

I'm thinking of taking SOLR for a test drive and will probably keep it if it works as I'm hoping so I'd like to get it as right as possible the first time out. I'm running Wordpress on Ubuntu with ...
0
votes
0answers
23 views

Creating a 'from-to' search [duplicate]

I'm building a bus route finding website. I have custom post type for busses and another for bus stops. Currently I simply enter the bus stops into a 'bus' post type. So the user can search for a ...
0
votes
1answer
22 views

How to conditionally pass a parameter to wordpress search to limit post types?

I have a site with a subsection containing a custom post type, "artwork" I have an overall site search working how I'd like it to - it searches all of my posts and custom post types. I would like to ...
0
votes
1answer
30 views

Ajax live search, “No products found” when the title contains apostrophes and quotations

my website theme has an Ajax search bar. My search bar does not seem to work properly when searching for products containing apostrophes and quotes in the title. Example: Title of a product is ...
2
votes
2answers
18 views

What are the different options for excluding certain post types from search results?

I am aware of the option to set exclude_from_search => 'true' when registering a custom post type. But what are the other options?
0
votes
2answers
63 views

Search result page - display values from the result's metaboxes

i have this custom search-result page global $query_string; $query_args = explode("&", $query_string); $search_query = array( 'nopaging' => true, 'post_type' => ...
0
votes
1answer
23 views

Wordpress Custom Search By Alphabet and order by asc and sesc

I am new to word-press but i can easily work on core php and other mvc framework,acutally i want to add custom search for only subcategory post. The search will with below Search post By old to new ...
0
votes
0answers
18 views

Search URL gives 404

I have search URL that looks like this /?s=term //this works But when I click on a pagination link to go to second page I get this /page/2/?s=term //this gives 404 When I manually enter this ...
0
votes
1answer
43 views

Filtering custom posts by custom fields (ACF) [closed]

I'm working on a site with photo contests. Each contest has a lot of additional info, which I store in custom fields (thanks to Advanced Custom Fields). Now I want to search through contests filtering ...
0
votes
1answer
48 views

Search Functionality broken by the wp 4.2 update

I run a blog site with posts by authors, and I implemented a search that would return results if the search was like an author's name or the search term was contained in a story. I was functioning and ...
0
votes
1answer
27 views

Get the selected term in a dropdown search

I am using the following function to create a dropdown search form and populate it with the terms of a custom taxonomy called 'grades'. The dropdown works for searching, but I can't figure out how to ...
-1
votes
1answer
27 views

Search and replace titles of posts with specific tags

I'd like to do a search and replace of post titles but only affect those with a specific tag. Eg, Change post title: This is a new post to: This is an old post but on only on posts that have the ...
0
votes
1answer
58 views

Add “selected” class to custom taxonomy dropdown search

I found the following function to add a custom taxonomy dropdown to a search form. It works fine for searching, but it does not add the "selected" class to the searched-for term. Here is my code for ...
0
votes
0answers
27 views

Make related posts display first in search result

I'm looking for a solution that makes wordpress website's search result even better. Question: By default, the search result will return all the not really related posts at first, as long as the post ...
0
votes
1answer
31 views

How to refresh a template page on Wordpress in 3 seconds - easiest method?

Basically, on my site I have content submitted via a search bar. I'm using a content-none template to detect if the user is signed in - and if so it submits a post programmatically (if the post ...
0
votes
0answers
10 views

Search Posts or Users and Print results

Are there any plugins that would allow a user to search a custom post type and/or users and print results from the backend. For example, a user would go to /users.php search for users by role and ...
0
votes
1answer
253 views

Create product category and keyword search form in woocommerce? [closed]

i want to build category and keyword based search form. so i got this following form <form role="search" method="get" id="searchform_special" action="<?php echo esc_url( home_url( '/' ) ); ...
0
votes
0answers
50 views

Search multiple keywords in separate fields?

Rather than writing all terms into 1 field and separating with a comma, is there a way to search multiple keywords all entered into their own separate fields? I have created the visual effect here: ...
1
vote
1answer
84 views

Sticky posts on home page, search, tag and archives without plugin

I have a question today. I am looking for a solution to make sticky post available on my website. But, i just got it work on homepage with the code below. function wpb_latest_sticky() { /* Get all ...
0
votes
0answers
16 views

Redirection plugin and Regex in “Search”

I'm tried to search a way to make a redirect 301 from the search box of my old site to my new site with Redirection plugin, for example: Old - /?s=(.*) Target - http://www.example.com/?s=$1 but ...
0
votes
0answers
59 views

Wordpress WP_Query offset parameter not working with search parameter

On a wordpress query every time i add the 's' parameter the 'offset' and 'posts_per_page' will not work, it will query all posts by using the 's' parameter only, why is that? am I missing something? ...
0
votes
0answers
34 views

A search box for all sites - Multisite

I have setup a few websites with Multisite. I have different topics in my website. Therefore, i have created topic1.mysite.com, topic2.mysite.com, topic3.mysite.com Let me explain how the look i want ...
0
votes
0answers
22 views

WP search in metadata post

In want to search by meta data value in post but I didn't succes. For example if I type "sound" I want to found "sounddiary" for example. Here my code: function custom_search_query( $query ) { ...
0
votes
0answers
8 views

Search result customization based on state abbreviations

How can I customize the search results based on inputting state abbreviations? I have prepared a table of state abbreviations for this, like "CA California".
0
votes
1answer
59 views

Filter keywords from search query

I have search over the google, somewhere out there and here(http://wordpress.stackexchange.com). But, i can't seem to get the solution i was looking for. I would like to ask that, is there any ...
0
votes
1answer
33 views

Exclude image url from search query

I have a question today. I have recently completed a website and there is search box integrated. And, I have a post which has an attachment(attachment's url is www.sample.com/image/sampleimage.jpg) ...
0
votes
1answer
76 views

Extensive search filtering and results->PDF in the front-end

Is it possible to implement the following, and if so, what is the best (or one of) the ways to do so: The setup: A custom post type 'listing' Custom taxonomies: 'artist', 'price', 'location', ...
0
votes
1answer
17 views

meta field search too restrictive in pre_get_post() for custom search

I'm trying to figure out how to loosen up a custom meta field matching string search in a custom search. Basically, if the meta field of a custom post has "Whistler Bike Park, Canada" and I enter ...