The method by which users find information on your WordPress site

learn more… | top users | synonyms

0
votes
1answer
19 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
16 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
21 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
38 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
19 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
19 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
40 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
17 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
15 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
34 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
16 views

advanced search forms with 3 input text

I was working for an advanced form with 3 input text in purpose to show a list of hotels. The problem is i tried an infinity tricks and functions but without any results, the only result i got is ...
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
21 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
28 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
56 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
17 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
38 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
43 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
25 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
24 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
28 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
189 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
17 views

Create a multi input search form

I wanna create an advanced search form for a custom post type, with 3 different text input. I tried alot of ways without any good results, the first input is for adress and the second for tag and th ...
0
votes
0answers
46 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
80 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
52 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
33 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
57 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 ...
0
votes
0answers
75 views

How to stop the search results from loading the wrong template?

I have a custom themed site which is not using the correct page template to display search results. I inherited the site with the theme and I'm now trying to make some changes; I did not create the ...
0
votes
0answers
31 views

Calling the correct permalink via form action

Okay, I have a bit of an issue with my sites search widget If you go to this category page (for example): http://socialvenues.com.au/melbourne/function-rooms then select a region and then city (for ...
0
votes
1answer
26 views

How to detect if the referer is 404 page?

When entering search keywords on a search form on 404 page, the search results are displayed on a new page with the URL like this: http://www.example.com/?s=xyz. How can I find if this search result ...
0
votes
1answer
32 views

adding more text to a query string

On a site I am developing, I need a "special search" function. The search page is called with a search query from a form with _GET parameters like this : ...
0
votes
0answers
17 views

Search for words in post_type

I have a page-doctors.php with the list of doctors, these doctors are registered as post_types, the code that taking all post_type doctors is: $paged = ( get_query_var('paged') ) ? ...