The method by which users find information on your WordPress site

learn more… | top users | synonyms

0
votes
0answers
6 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
6 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
24 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
1answer
6 views

startsWith() and endsWith() keyword search in wordpress [on hold]

how can i do startsWith() and endsWith() keyword search in wordpress? Thanks
0
votes
0answers
11 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
20 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
25 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
25 views

How to display imdb connector search results in a post type? [closed]

I am using imdb connector with a search form and I get movie details.But I wanna to create a post type for search result. Is it possible to create a post type for search result? ...
-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
11 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
21 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
18 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
12 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
38 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
10 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
15 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
16 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
23 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
19 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
23 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
0answers
14 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 ...
-2
votes
0answers
19 views

How to use Google CSE plugin and have the results page look like Google's?

I installed the Google CSE plugin here however the search results page for my theme is currently styled in it's own particular way but I would like the results to show like the results do in google. ...
0
votes
0answers
28 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
19 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
56 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
36 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
25 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
35 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 ...
3
votes
2answers
132 views

template_include for search.php makes Wordpress think its on the home page

I have a custom tag-search feature, which allows people to search multiple tags to return relevant posts. Say they want to see posts that are tagged both 'Wordpress' and 'Tutorials'. I'm using the ...
0
votes
2answers
22 views

How to use another file instead of home.php

I have an Elegant Estate Theme and I am using Multiple Category Selection to display some posts, the Result Page is displaying the Feature SlideShow on the top, and I want to eliminate this; I want it ...
0
votes
2answers
95 views

Remove Page Timestamp via functions.php so it doesn't show in Google Search Result Description [closed]

I want to remove the last updated / last modified date from pages (not posts) via functions.php (could this be done by making that hook __null?) The goal is to remove the google search result ...
0
votes
0answers
16 views

WP Job Manager keyword search only return exact phrase match

WP Job Manager currently only lets you do an exact match search in on title, but I need it to search any word in the title, description or category. How do i change this in terms of which file and ...
0
votes
0answers
24 views

Custom Post create a new table or add an additional field/column

I have a custom post type which has a latitude and longitude custom field, am I right in thinking that that to use a google search radius I need to store the latitude and longitude values in a ...
-2
votes
1answer
27 views

How do I turn this form into a search form? [closed]

Hi I have an expanding search form inside the wordpress header and would like to make it work with my theme? https://jsfiddle.net/u08cutgf/ <div class="search"> search <input type="text" ...
0
votes
3answers
36 views

Filter out a meta key in the Search results page with two CPT

I have two CPT: Listings and Events. In Events I have custom fields for the start and end dates. What I need is a way to filter out any events that are past the current date. What I have right now ...
0
votes
0answers
36 views

Taxonomy Archive page extend with children pages

I am having a custom post type named doctors. Doctors have some custom taxonomies like speciality,area and insurance. I want to combine the taxonomies so I can create the following combinationsQ ...
0
votes
0answers
37 views

Search results show only content by admin post authors

In my current wordpress project there is an issue with search results. The project includes users of a custom role competitor who are able to upload images in the media library. Since ...
0
votes
0answers
18 views

How to print search results related categories hierarchical?

I'm trying to print search results related categories hierarchical in sidebar area. I did that but my code prints just terms without their parents. Here is my page. I want to print the terms like ...
0
votes
1answer
46 views

search in jquery mobile returns blank page

Regular prelude: new to jquery mobile, sorry for the long pieces of code. Trying to build a mobile version of my theme. started easy by placing a header content and panel and search form. when ...
0
votes
1answer
34 views

No results searching custom post type in admin panel

So I have a custom post type action and when I search in the admin panel I don't get any results. I think I figured out why, but not sure how to fix it. When I enter a search term and then click ...
0
votes
1answer
188 views

WooCommerce search products between price range using WP_Query

I am currently building my own custom advanced search functionality for a WordPress website with Woocommerce. You should be able to search using: Category Min/Max price My current progress is ...
0
votes
1answer
33 views

Custom search (wp query by custom fields)

I'm building custom search. Actually it's just need to check custom field value. The custom field is called 'summary'. However i'm not sure what i'm doing wrong as it is not working. Maybe someone ...
0
votes
0answers
14 views

Search results for author account pages

I'm looking to find out if there are any plugins / code out there for Wordpress search to return results for user author accounts. NOT posts from authors. NOT pages that authors have created, but the ...
0
votes
2answers
90 views

Buddypress Activity search with OR query instead of AND

I have a profile field with checkboxes where users can check their "interests". I'd like to customize the activity feed by scoping it down with a search string including the users interests. Following ...
0
votes
0answers
15 views

how to create advanced search [duplicate]

I'm really stuck in this and i cant find any tutorial or article about this topic. How about if we have this pattern for search: [country] AND [category1 OR category2] AND [city1 OR city2] AND ...
0
votes
0answers
24 views

Include attachments with a custom taxonomy in search

I need to include attachments in the search. So far, I have managed this by hooking into pre_get_posts and checking if it's on the search results page, I add 'attachment' to the post_type and ...
1
vote
3answers
32 views

Search tags in CPTs

I can't seem to figure out how to include tags in a wordpress search. For example, if I search for 'apple', I would like to get back posts with 'apple' in the title or the content (default wordpress ...
0
votes
0answers
27 views

How build search with filleting custom taxonomy and custom fields

I wanna explain about my search box, actually what i want to make. Ive a search input and few check boxes to filter the search result. i need to search like this : [Country1] AND ( [venue1] OR ...