The search tag has no wiki summary.
0
votes
1answer
16 views
Prevent searches less than 4 characters
When users search for 1,2 or 3 characters this puts a lot of strain on the database. A malicious user could search for 1,2 or 3 characters and bring my site down to its knees.
I presume I could use ...
0
votes
0answers
5 views
Tags and categories not appear in search
When i search tags and categories in my search bar then it show nothing, I just make some changes in my search query because i want to search my post_meta as well which i store with every post. Here ...
0
votes
1answer
24 views
My default search is not working
I am using a fucntion to search my post_meta which i store with every post, But the problem is that when i search title, tags, content then the search not work. I think my new function just override ...
-1
votes
1answer
19 views
Eliminate duplicates in a foreach loop [closed]
I've created a filter for my search results that allows people to filter user searches based on their State from their profile. The problem I am having is that there are duplicate states showing in ...
0
votes
0answers
3 views
SEO questions: what is duplicate content and what does it affect negatively? [migrated]
I am fascinated by SEO and it's merits, so that's why I am going to optimalize my website. There are still a couple of questions that do pop up... Well, I am aware that duplicate content is not done, ...
0
votes
0answers
22 views
Filter posts by multiple checkbox categories
I would like to set up a widget to filter my post by categories. Let's say, I do have two different categories, "Countries" and "length of stay" with sub categories. Here is an example of what I have:
...
0
votes
1answer
27 views
filtering custom post types via meta data drop down
I'm trying to add drop down filters (that are populated by terms that are in use) to a custom search page for "opportunities" or listings page. Currently I am doing this with taxonomies but doing this ...
0
votes
1answer
16 views
Search that will look in custom field, post title and post content
I am looking for a way to perform a search, and while performing the search, it checks a custom field named keywords, the post title and the post content. If any of those fields have results like what ...
0
votes
1answer
20 views
How to search for post content and attached file names
I need to extend standard WP search functionality so that the search term is also applied to files attached to a post. In other words if user types in "annual report" then search results would include ...
0
votes
1answer
22 views
Dashboard search function doesn't work well
I have a CPT called "participants". When I visit it in the dashboard and search for one of the posts belonging to this CPT (I search a work which is part of the title of an existing post), WP doesn't ...
0
votes
1answer
26 views
filter search result with custom post type meta key
The default search returns all post types, which is what I want. But for one specific custom post type I want to limit the result to a specific meta key value (a custom date that must be greater than ...
0
votes
2answers
26 views
How can I customize the search results in Bones theme?
In a site that uses Bones theme, I am trying to localize the search results page and would like to replace the "read more" text with something else. I tried editing the search.php but it is useless as ...
0
votes
1answer
33 views
why does bones theme call the_excerpt function with parameters?
I have been triying to localize a wordpress site which uses Bones as the theme.
In the theme's search.php, there is a line that goes:
<?php the_excerpt('<span class="read-more">' . __('Read ...
0
votes
0answers
18 views
how to use Advanced Search Submenu in Premium Press Theme? [closed]
I knew Advanced Search submenu option is removed from new version of Premium Press may be due to some Javascript Problems. But I need it so I set the value to 1 of display_advanced_search in ...
0
votes
0answers
26 views
Custom WP_Query for WordPress Search Results with meta_query
I am using a custom query to generate my search results. The code I am using works perfectly without the meta_query variables in my arguments array.
I am trying to compare multiple custom fields with ...
-1
votes
0answers
47 views
advanced wordpress search with drop down menus
I am trying to build a search page on a wordpress site that I am building which will basically filter a search in custom posts types using 2 parameters.
in my case:
I have a custom post type called: ...
0
votes
0answers
27 views
Error instead of search results
I am making a blog (wordpress) and I hope to have a search engine in it. I put the "search" as my widget but when I input something into box, an error page is shown. How can I make a search engine so ...
1
vote
0answers
18 views
Admin Area Custom Type Search By Meta Fields Without Title & Content
I have a custom post type that uses several meta fields. In the admin area I would like to be able to search by those meta fields. I have implemented this currently in my functions.php with this code:
...
0
votes
0answers
24 views
Search pagination not working
I have a search box in my header, which shows the results in a page called search.php.
The search itself is working, but pagination is not. So when I click to go to the next page, the front-page.php ...
0
votes
0answers
45 views
Creating Advanced Search with text & Dropdowns
I am working to develop an advanced search option. Where there will be fields:
Text input Field (Post Title)
Dropdown (it will be a taxonomy)
Dropdown (it will be a taxonomy)
Basically I need ...
0
votes
1answer
28 views
Search Woocommerce product titles only
Limiting post search to titles only is a breeze, but WooCommerce's post types don't abide by this rule. I have tried modifying the code below to be specific to products but am not having any luck.
...
0
votes
1answer
32 views
Custom search form to display users only
I'm trying to build a custom search form for one of my pages. I need the search form to be able to search for users. Not only will it need to search for users, but by first name, last name etc.. ...
0
votes
0answers
30 views
Searching redirects to the home page
I ve seen similar topics but didn't help me or I just didn't understand.
So I have a multisite installation (using subdomains), including two simple wordpress installation and one buddypress ...
0
votes
1answer
17 views
call coupon press advanced search widget anywhere in theme?
I am working on a parent child Coupon Press Wordpress Website. I am able to call it's New Advanced Search Widget in sidebar but I want to call it anywhere in the website like I have created a page ...
0
votes
0answers
8 views
google custom search code does not returns the result of google.com [migrated]
I have generated a code from google custom search .
I want to fetch the results for a keyword exactly same as the results on www.google.com
So I put www.google.com in sites to search textfield and ...
0
votes
1answer
22 views
Google Search and Own Website Search?
I am using Google Custom Search Plugin . But when I am searching any thing by selecting google it shows the results that matches to any keyword on my server websites but I want it too search the ...
0
votes
0answers
21 views
Search points to /search/?s=KEYWORD instead of /search/KEYWORD
I can access my search page and results correctly here /search/KEYWORD but when I click search it points to /search/?s=KEYWORD.
I updated my permalinks in the admin.
-1
votes
1answer
37 views
Search from Post on the basis of custom fields
I have shown all the Post on a page. Where i want to add Filter for sorting Like Date and other Custom Fields.
So how can i Do this Please Help me.
0
votes
0answers
34 views
custom search in theme doesnt work
the theme back end says Enable live search in posts and pages (post search is enabled by default).
check boxes are
Pages, knowledgebase, Articles,
Faq,
but they don't do anything. i think ...
-2
votes
1answer
21 views
Search results from a specific database table
I have to display search results using the wordpress search, but searching in a database table that's not from the wordpress tables. So, for example, if my table's name is "customers", how can I ...
0
votes
0answers
21 views
How can i do a search for tags in a certain category?
I'm trying to search for a certain category with a tag, how can I do this via url?
For example: www.example.com/?cat=1&tag=tag1
how can i achieve this using parameters in the url?
0
votes
1answer
33 views
How does Show Posts based on a keyword search work in WP_Query
I am wondering how the search go through by defining 's' parameter in WP_Query.
For example if I have a post assigned to "East" term in taxonomy "Direction", the post didn't mention any "East" or ...
0
votes
0answers
28 views
Paragraph indent in search [closed]
I'm styling a search results page in TwentyTwelve-based theme, and for some mysterious reason certain paragraphs in search results appear indented, while others display without any indentation.
...
1
vote
1answer
50 views
Highlight Search Results in Function.php
I found this function on the net. I have placed this in my custom functions file separate from functions.php.
function highlight_search_term($text){
if(is_search()){
$keys = implode('|', ...
0
votes
1answer
37 views
Modify search function in WordPress (TwentyTwelve)
I want to remove "Search for" text from search form in TwentyTwelve, to wrap in in a div for styling, and probably to play with php a bit – and I'd appreciate some advice on how to do that best.
My ...
1
vote
1answer
16 views
get_search_link() redirects to 404 template page
I built a custom theme, and in it, there is a 404.php page and a search.php page.
Elsewhere in the template, I wanted to link to the search page directly. So, I used the get_search_template() ...
1
vote
2answers
49 views
Trying to find a way to query post like normal search would do. within search.php page
I have a costume search in a site i am making.
When a user search a certain term, i want to display category list with a count of how many posts are found with in that category.
I thought of a way ...
0
votes
1answer
53 views
Search in post title and custom fields
I would like to use a search form to search words but limit to ONLY search post titles and a custom field (in my case called "cities").
How can I do it?
Thanks.
0
votes
0answers
25 views
Search within a page
I am wanting to have a search box within wordpress pages to search and display results just from the content on that current page.
Anyone have any suggestions on how to achieve this?
1
vote
1answer
84 views
Using wp_redirect and .htaccess to re-route searches (and pass along the remaining GET vars)
I'm trying to use wp_redirect() to redirect searches to a format that I have established in .htaccess. Unfortunately, I'm running into some problems doing this.
I need to redirect search to a series ...
-3
votes
0answers
48 views
Sorting posts by date, title or keyword. [closed]
I want to give the site users the ability to sort posts by title, date, or keyword.
How can I do that in WordPress?
0
votes
1answer
26 views
Why is this search form not submitting when button is clicked?
I've got a search form on my page, which works perfectly fine when I enter the text and press enter, however it doesn't submit anything when .submit-search button is clicked, why is that? note: ...
0
votes
1answer
34 views
Is it save to replace <input type=“submit” > with <button type=“submit”> in WordPress search form
I am asking because of a large userbase and possible conflicts with plugins.
I mean the 2013 theme for example targets the button with .searchform [type="submit"] even of it has the .searchsubmit ...
0
votes
1answer
51 views
How to exclude the word “class” from being matched in search?
I would like to exclude the word "class" from being matched to the search term "lass".
On a site I'm helping manage, the search term "lass" is quite prominent. Unfortunately, that matches the common ...
0
votes
0answers
26 views
AJAX post method for searching posts error
The following errors occur when you try to load an URL with [] in it (as far as I know). I don't know why I am getting this errors, how can I correct the code below?
Errors: Warning: strpos() ...
-1
votes
2answers
52 views
Dave's Wordpress Live Search only works when logged in as admin
I am using Dave's Wordpress Live Search on my site www.frome.fm but it only works when logged in as admin. When logged out or browsing as guest the spinning icon shows for a second or two but then no ...
0
votes
2answers
78 views
Custom search: Search posts but display parent page in results
I'm using Wordpress 3.5.1 with a modified twentytwelve theme.
My main site structure is based on the Smooth Slider plugin (jQuery Cycle).
I have Pages that contain only a shortcode (for example, ...
0
votes
0answers
27 views
How can i retrive the movies, trailers, news in a single page using search
How can i retrive that. For a few month i build a website, and i want to make it diferent
For the search i have 3 post type, and i have for each diferent themes for display
- Movies
- Trailers
- ...
1
vote
2answers
42 views
Search uses index.php instead of search.php on renaming search field from “s”
I am building a custom search form which has multiple search boxes and I rename them to "searchbox1" from "s". Now WP does not use search.php; instead the code is execured from index.php. How can I ...
0
votes
0answers
22 views
sidebar keep getting down
I have website with wordpress. I have problem in sidebar widgets. when i implement the google search code in search.php file , the search works fine. but in the search page, sidebar came down. ...


