The method by which users find information on your WordPress site

learn more… | top users | synonyms

0
votes
0answers
13 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
17 views

Filtering custom posts by custom fields (ACF)

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
27 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
0answers
15 views

Replace Wordpress search with Woocommerce

I am trying to replace the standard wordpress search built into the header of my theme with the Woocommerce search method and only search products with the same results that I get when I search using ...
0
votes
0answers
13 views

Using timber and twig but how do i create a search form but keep basic functionality? [on hold]

Making good progress using twig but keep hitting the occasional wall! How would i approach building a .twig version of the below? <form role="search" method="get" class="search-form form-inline" ...
0
votes
1answer
18 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
24 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
47 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
15 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
0answers
14 views

Customize search form url [on hold]

I am using idx plugin in my website and i am making custom search form when i search it shows url like http://bingosoftwares.com/erica/idx/?city=irvine but i want it show like this ...
0
votes
1answer
20 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
7 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
39 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
11 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
23 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
44 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
13 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
24 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
24 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
18 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
6 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
35 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
29 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
70 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
9 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
54 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
17 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
24 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
27 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 : ...
-1
votes
0answers
7 views

How do I only display children of a parent page from a search?

I would like to have a search box on a page which only displays children of a parent page in the results - can someone help please. I dont understand all the css and php coding as i am a newbie to ...
0
votes
0answers
14 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') ) ? ...
0
votes
0answers
22 views

Pagination in Search result

How to do a pagination in search result? I have already an excerpt script. All I need is a script for pagination. Pls help me. Thanks function wpse_allowedtags() { return ...
0
votes
0answers
30 views

How to make search for posts using get method?

So I am building a WordPress theme for myself to meet my needs, so what I am looking for now is make a search using a get method in PHP. If my URL is something like this : ...
0
votes
0answers
13 views

group search results by post type with relevanssi

I have 3 post types: post lesson series When a user searches on my site, I want the results to be sorted by post type into different containers. I am using the Tabs from Zurb Foundation for my ...
0
votes
1answer
49 views

group search results by post type?

My site has 3 unique post types: Default Blog posts ("post") custom type "lesson" custom type "series" When the user searches the site, I would like pertinent results from all 3 post types to show ...
0
votes
1answer
14 views

Limit search to a specific folder in website

I'm trying to limit the search function on my website to online content with the blog's folder. The reason is because currently, search works across the whole website, which in theory is great except ...
0
votes
0answers
16 views

How to create a custom search for custom post type?

I want a custom search that can extract content from the whole website, not only from posts, using WordPress. Here is the code that I have for search bar, but it doesn't pop-up content from PHP pages ...
0
votes
0answers
19 views

Search Authors, Filter by custom taxonomies in their posts?

I have a website where users will post their past jobs (custom post type) and choose attributes (custom taxonomies) to describe the type of job and responsibilities. I would like to be able to search ...
0
votes
0answers
18 views

How can users subscribe to searches

How to allow users to subscribe to search queries (for example a user search on the website, using the search form, for "green apples"), and send daily email alert to subscribers when new posts appear ...
0
votes
0answers
33 views

Search form to find custom meta box generated data

I have developed an inner theme plugin, which is a custom meta box that inserts some typed in text to the database and then displays in the application. I followed the example found at this link. Now ...
0
votes
0answers
24 views

How to search for categories instead of products in Woocommerce?

I have a webshop with over 30.000 products. I was wondering whether it was possible to, when you search to do so that it searches for categories, rather than products as I get a ton of products when I ...
0
votes
1answer
29 views

Trying to modify custom search function in plugin to search postmeta table for keyword as well as posts table

I am trying to modify a plugin that searches the posts table and have it also search the meta_value in the postmeta table. original code is: if (!($index_page = $wpdb->get_row("SELECT ID AS id, ...
0
votes
1answer
19 views

How to activate the user search

I'm trying to activate the user search in my wordpress site. Which means that I want also the users on the search result. I have tried some plugins, but none of these gives the solution I want. Is ...
0
votes
0answers
37 views

Why My Custom Search Form Do Not Find Specific Search Template?

I am working with my custom search. Here is the form code: <?php // ADVANCED SEARCH function advanced_search() { ?> <form method="get" id="advanced-searchform" role="search" action="<?php ...
0
votes
2answers
27 views

Make search result display 1 Company or 2 Companies

I am wondering if this could be done if i want something like this. Look at my code please. Here the code goes: <?php _e('Search result for','NCC'); ?> <?php /* Search Count */ ...
0
votes
0answers
24 views

Extend WordPress search with tax_query

I started with a basic query on my search template: $query_args = array( 'post_type' => 'listing', 's' => get_query_var( 's' ), 'posts_per_page' => 10, 'paged' => $paged ...
0
votes
1answer
67 views

Creating a search form and displaying results

Im trying to create a plugin for a site where the user can see a table of orders from customers in the Wordpress dashboard, It's a custom db but I'm using the wp-list-table, I've wrecked my brain for ...
0
votes
0answers
41 views

Query postmeta values, and return multiple post_titles for common meta value

As of now I query the DB: global $wpdb; $query = $wpdb->prepare(' SELECT p.post_id, p.meta_value, pm.post_title FROM %1$s AS p JOIN %2$s AS pm ON ...
0
votes
1answer
32 views

Query Custom Fields in Searchform

In my searchform.php I want to query the values of a custom field, add them into a dropdown, and return a link to a corresponding page upon submit. Thus far I can create the values dropdown: global ...
0
votes
1answer
37 views

Search.php Modification Needed

I've installed tablepress and created some tables as a database. I've created a new page for example with name DEMO. And the table name is also DEMO. I've inserted the table on that page since it ...