The method by which users find information on your WordPress site

learn more… | top users | synonyms

0
votes
0answers
4 views

Custom Post Type Meta Box Content Showing In Search Results

When I search my site it doesn't seem to pick up the content I have in my custom post type meta boxes. This is the code for some of the meta boxes in my function.php file. // Add the Course Meta ...
0
votes
0answers
22 views

searchform.php :: pass second query string variable with same value as ?s=

I want to pass an additional parameter in my search URLs that would match the search term, but using an additional variable named 'x'. So, when performing a search, the user would enter "Cars" and the ...
0
votes
0answers
21 views

Wordpress custom search - pagination

I have written a custom wordpress search. The problem is that the pagination is not working. The pagination (1, 2 , 3 , 4 ,5 >>) appears on the web site, but when i press page 2 (or anything else) no ...
-1
votes
0answers
18 views

Search in an accordion?

I think I'm falling victim to WP's famously bad search function. I have masses of linked info in an accordion that i would like to search for and click on the link in the search results page, but the ...
0
votes
0answers
16 views

Admin filter search not working for custom post metabox after update to WordPress 4.0

This code is not working after upgrading to WordPress 4.0: add_filter( 'parse_query', 'ba_admin_posts_filter' ); add_action( 'restrict_manage_posts', 'ba_admin_posts_filter_restrict_manage_posts' ); ...
0
votes
0answers
10 views

Removing search base url

Is there a way to remove all slugs from wordpress url (category, tag, author, date AND search!)? (so that something like http://example.com/search/foo would be rewritten to http://example.com/foo) I ...
-3
votes
0answers
11 views

I need the same search function as this WP theme [duplicate]

http://demo.themefuse.com/?theme=autotrader&device=desktop The search function (especially when you click Advanced Search) is pretty much exactly what I'm trying to achieve - but don't know where ...
-1
votes
0answers
19 views

How do I implement my search form into a functioning Wordpress search form? [duplicate]

Here's the code for my search form: <form role="form"> <div class="form-group"> <select class="form-control custform"> ...
0
votes
1answer
40 views

Creating a search form for custom fields

I have built a theme for a car dealership. Each car is a custom post type ("vehicle"), and has about 12 custom fields with things such as Make, Model, Mileage, Fuel Type etc. etc. So basically on the ...
0
votes
1answer
25 views

Geographic search with taxonomy structure [duplicate]

I had stored locations in wp with defined taxonomy. I would like implement a search that can take in consideration the location, eg, search for 'car rental, Maryland' All car rental are stored ...
3
votes
2answers
59 views

Pushing a custom post type to the top of the search results

Apart from posts and pages there are profiles on my site. Does exist some way how could I push them to the top of the search results? Currently, results are ordered at first by keyword and then by ...
0
votes
1answer
29 views

How to exclude one post format from search result?

I need to exclude one post format from Wordpress search results. Any suggestions on how to solve this issue?
0
votes
0answers
18 views

Help with WordPress search

i am creating a directory using WP, and need to allow customers to be able to search by industry and sector, like here http://www.checkatrade.com/ I will be setting these up through two taxonomies: ...
0
votes
0answers
8 views

Multisite Global Search for Stores Based on Metadata (e.g. ZIP Codes)

I am running MarketPress on WP 4 Multisite and would like to implement a search feature which returns the stores (hosted on the Multisite network) which deliver to a specific ZIP code. The ZIP code is ...
0
votes
2answers
37 views

Making a Custom Search form

I am creating a custom search form which will search a custom post type called recipes. and it has a load of taxonomies. Now I output these taxonomy's terms into checkboxes which are grouped by the ...
0
votes
1answer
24 views

multiple custom post type category selection search

I hope it's clear from the title but let me try to explain it better. Looking at this image should make it clear: I have custom post type names Product and categories related to it. What I am ...
0
votes
1answer
34 views

Custom Search Template for Custom Post Types

I know this is asked a million times, and I've found the solution. It seems fairly straight forward but it's not working for some reason. I wonder if it has something to do with the fact that I'm ...
0
votes
0answers
52 views

Wordpress WP_Query Array Custom search via taxonomies

Im trying to write a custom search function for my wordpress site. Im using WP_Query and multiple arraylists. Is it possible to order by search after taxonomy = pa_felg-bredde ? Here is my code so ...
0
votes
1answer
20 views

Exclude categories from search query

I have two categories that I want to exclude from my search results, so far without luck. I have tried adding the following piece of code but it didn't work. $search_query = ...
0
votes
0answers
16 views

Search results pagination not working with custom query

The first page of search results for a custom query work fine but from page 2 it only shows the index template and says page not found. I've looked around for solutions but none have worked so far. ...
0
votes
0answers
25 views

How do i append custom query results with default search query

I want to search my custom table along with default search Example: Table: sah_post Columns: ID, sah_id, title, slug, content, status, created_timestamp, updated_timestamp. Default wordpress ...
0
votes
1answer
48 views

How do i append UNION SQL Query with default search query

Example: (SELECT ID, post_status, post_title, post_excerpt, post_content FROM wp_posts WHERE ((`post_title` LIKE '%2020%') OR (`post_excerpt` LIKE '%2020%') OR (`post_content` LIKE '%2020%')) AND ...
0
votes
0answers
61 views

Add input fields to Wordpress search to search custom fields

I have 2 custom fields: first and last. My goal is to add 2 new input fields (first and last) to search their respectable custom field. Here's my form code in searchform.php: <form role="search" ...
1
vote
0answers
24 views

Create Search Form to Filter Through Terms

I have pages that displays a list / grid view of all my taxonomy terms. Over 200 terms. The page is paginated since there are so many terms, however, I would also like to include a "search" box at the ...
0
votes
1answer
27 views

Creating a search with tag variable also added for more detailed results

Wordpress search results is definately not the best indexing and search function we have seen.. If adding multiple tag variables in the search in order to get a more precise result work? For example: ...
0
votes
0answers
18 views

Search results problems

I'm having an hard time with the Search results page in my theme. I am using Magic Field for my creation of custom post type. All my custom post type are set to "post", but I can't get how the search ...
0
votes
0answers
11 views

How to remove title from searchs parameters in WordPress?

I have a simple question about WordPress theme developpement. I'm trying to check if there is anyway to remove the_title() from parameters into the search engine of WordPress. Here is why : If I ...
0
votes
0answers
15 views

Modifying Search to Exclude results from within short code or HTML

I've been struggling with this one for some time and I was wondering if anyone has any ideas on how to fix this. I'm not asking about stripping out short codes or HTML from the excerpt, that's fairly ...
0
votes
0answers
24 views

Nice permalink for search results with NiceSearch plugin

I'd like to know how I can rewrite a search results URL that also contains a ".html" into the end of URL. I have taken the code from the Nice Search plugin which works fine to change ...
1
vote
0answers
12 views

edit search.php to include subdomain posts

Is there a way for us to edit the search.php to include the subdomains with its search results? The only "condition" the code has is... ...and I have really nothing more to go by. =/ And oh, I ...
0
votes
1answer
51 views

Display post titles that match string in post content

I'm trying to search through the content of the current post and look for any strings in the content that match the title of any 'term' custom post types. The idea is that any terms we have that ...
0
votes
0answers
31 views

jQuery Ajax decompose WP_Query

I am working on a Ajax search field where I want to load links to products matching with my search query. My problem is that I don't know how I can get the titles and the permalinks from the query ...
2
votes
1answer
37 views

Wordpress search issue with searching html tags

I am working on a wordpress site and I am using wordpress native search. When we search for a string like "example" it searches inside html tags. ie if there is any html tag like <a ...
0
votes
0answers
46 views

Add Search Form to Dropdown menu

I am wondering if its possible to have a search form within a dropdown menu. I can add it to the main menu (base) but not quite sure how to actually go about adding it to a sub-menu of one of the main ...
0
votes
0answers
25 views

Modify search to display authors

I have been looking around the web but could not find a solution to this problem. Right now the search function in Wordpress - as I understand it - goes through the posts and looks for matching words. ...
1
vote
2answers
63 views

Show matching categories in search page

my current search only shows POSTS as results. http://newslines.org/?s=george My site has categories for George Clooney, George R.R. Martin etc. How do I get a list of categories that match the ...
0
votes
1answer
50 views

How do I get my custom query to work with search results after the first page?

I am using a custom query in order to ajax load/append additional posts instead of paginating them out like WP defaults. However, when I click the button I've made to load more posts, it loads all ...
0
votes
0answers
14 views

Category Link to Post

I have a website with categories X, Y, Z...with the Search Everything plugin I can search based on the category name to return all the posts within a given category. I have the search results posts ...
0
votes
0answers
23 views

Search & Replace trailing strings

I need to filter the_content/the_excerpt and search & replace the following prepared array: $searchArray = array("foo", "bar", "foo bar", ...); My problem is the fact, that using php's ...
0
votes
0answers
16 views

Change search to outpout category name instead of Post type name

Im using a ajax search which is great, however i would like to change it to show custom post type categorys instead of custom post type. I added the taxonomy for the custom post type categorys, and ...
0
votes
0answers
19 views

Search should search all posts under the category searched for

I have a situation where I want all posts to be retrieved from the category list. A proper explanation can be: - If I searched for "garden" - it should get all posts from the category garden. - I am ...
2
votes
1answer
27 views

Default WP search excluding specific characters, is it possible?

I would like to know if it possible to customize the default search module of Wordpress. I've a website dealing with teams and teams' news. Some of those teams has their names written like this ...
0
votes
1answer
10 views

Differentiate attachment pages in search results

I'm using the Relevanssi search plugin, which is basically a better version of the default search. Anyway when I search for something it displays everything I need it to, I was just wondering whether ...
0
votes
0answers
24 views

Custom Search not working

Can any Wordpress Guru figure out why my custom search form just reloads the page when submitted? I'm trying to create a custom search that uses two dropdowns only (no text input). The first ...
0
votes
1answer
30 views

Get the search element only on 404

I know get_sidebar( ); is used to get the widget sidebar , but how do I request one element from it? For instance, if I want to show the search or most read only? I know there is a way to specify ...
1
vote
1answer
59 views

Limit search to custom field

I have a custom post type bananas with a custom field _bananas_size (size is a number). Now I'd like a search field that only searches the custom field size. For example: the visitors selects value 6 ...
0
votes
0answers
64 views

change text written in english into hindi

i want to change the text written in english into hindi inside my search bar, i am developing a hindi newspaper website by using wordpress cms so when user type in english to search related news in ...
0
votes
1answer
37 views

Blank search results on custom search

I have a custom search with the following line of html in the form: <input type="hidden" name="post_type" value="product" /> This correctly appends: &post_type=product to the search query ...
0
votes
0answers
71 views

Search inside a custom taxonomy for multiple words doesn't return anything

My goal is to perform a search inside a custom taxonomy field. The page is an archive including a lot of books and magazines, and they have to be searched through, let's say, 'Authors','Title' and ...
0
votes
1answer
23 views

I want to edit the search function

I'm changing some parts of WordPress, like adding posts or comments, to use procedures in the database instead of using inline database calls to see if the performance enhances. I've been looking the ...