Questions tagged [search]
The method by which users find information on your WordPress site
1,697
questions
41
votes
7answers
29k views
Extending the search context in the admin list post screen
I have created a custom post type and have attached some custom fields to it. Now I would like to the search that authors can perform on the custom post list screen (in the admin backend) to also be ...
0
votes
1answer
2k views
Custom Permalinks Break Search Pagination
So I'm having a weird issue that I've never seen.
I have a search.php set up like this:
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
query_posts($query_string . '&paged=' . $...
0
votes
2answers
583 views
Custom post_type search pages
So I have a section on my site that specifically searches a custom post type for YouTube videos. I'm absolutely able to search the custom type. However, I'm unsure how to create a search page that has ...
3
votes
4answers
21k views
Better search for Wordpress admin backend [closed]
Is there better search functionality or a plugin for the admin area of posts or custom post types, I would like to be able to search custom fields and maybe some other advanced searches from the ...
0
votes
1answer
4k views
How to have search results page sorted by post date
On this search results page:
http://p2reloaded.com/?s=versions&search-submit=Search
I'd like to inverse the order of the results to start by newest post date first at the top of the page. Right ...
8
votes
1answer
815 views
How to look at code in WordPress repositories without downloading?
A lot of questions are about plugins and themes, that you don't necessarily have installed. Downloading zip archive, unpacking and opening in editor seems like a too much hassle.
If only there was a ...
0
votes
1answer
524 views
Search results with custom loop don't update when paged
I have the following code in my search results page to split up posts per category.
When I go to the 2nd page of pagination, the results are exactly the same as the first.
I'm assuming $paged has to ...
2
votes
1answer
2k views
Create multiple Search functions for posts / custom post types and everything
I'm currently working on a search function in a wp site. The plan is to have a search function on the news page which just searches posts.
I'm achieving this by adding the below to my functions.php ...
2
votes
3answers
2k views
Combine internal search with Google custom search?
I currently have a search box in my sites header, (on every page), which sends the search query to a page called 'Search', which uses a template called searchpage. The page/template uses Google custom ...
6
votes
4answers
16k views
How can i move search results onto a specific page?
I was wondering if it is possible to have the wordpress search results displayed on a different page?
At the moment they are displayed on http://www.mysite.com/?s=searchterm but I would like them ...
0
votes
2answers
6k views
Multiple Drop-Down custom taxonomies search
I know this question is asked many times on stack-exchange, but I am with something new
I want to have three Drop Down Boxes and a search button, the drop-down boxes will contain terms of 3 custom ...
10
votes
1answer
4k views
Search posts by ID in admin
I'm looking for a way to search through posts by ID, preferably with support for custom post types. I was hoping there'd be a plugin enabling this functionality, but I've failed to find anything. Any ...
0
votes
2answers
2k views
WP Search using taxonomy terms
I have been looking for hours for an example on how to do this.
I have 2 simple taxonomies, Type, Size.
I need to create a custom form with the 2 taxonomies available as Select list/filter.
Please ...
2
votes
1answer
2k views
Refine Search Results
I'm looking for a simple way to achieve search filtering like this : http://ckclinical.co.uk/search/
They are obviously pointing people to a empty search and then filtering by category. I've spent ...
1
vote
1answer
2k views
Tags to Post-ID mysql query. Tag Search
Im trying to implement a tag-based search. When i specify certain tags, tagged posts will be searched and the post-id will be displayed that matches the searchcriteria.
Currently it only works for a ...
2
votes
1answer
125 views
Search result conditonal tag
Is there a conditional tag (or a similar concept) that can tell me wether the search returned posts or not?
5
votes
3answers
10k views
Custom search: by post data and post metadata?
I'm struggling with a WordPress search function. Maybe it will just help if someone can explain to me how the built in WordPress function works. But here's what I want:
Two search fields, by name and ...
1
vote
1answer
488 views
Search in Two Categories
I want to search in two categories without using the search box at all.
So far, I have this code to display the desired categories,
<?php wp_dropdown_categories('child_of=3&hierarchical=1&...
1
vote
1answer
269 views
Customise search page depending on result
Is it possible in wordpress to customise the search page to show certain information depending on the result?
For example I run a motorsport site and if I searched for Jenson Button it would return a ...
2
votes
2answers
1k views
How to search and replace text in all posts of a wordpress.com blog (NOT wordpress.org one)?
I have some texts that need to be replaced in every posts in my blog. Is it possible to do that?
ps
(I need to tag this question as search-and-replace but not enough reputation to do that. Please add ...
1
vote
2answers
154 views
Quick and Easy way to Add Search to the P2 Theme?
Out of the box the P2 Theme does not have search. Is there a quick and easy way to add it?
1
vote
1answer
1k views
Add multiple taxonomy filters to edit.php that support search
After reading through this fantastic tutorial by Mike Schinkel:
Adding a Taxonomy Filter to Admin List for a Custom Post Type?
I have discovered a few issues that I need to work out. Search does ...
14
votes
5answers
10k views
How to search all user meta from users.php in the admin
The search form at the top of the users listing in the Admin area (wp-admin/users.php) is limited and does not search all of the user meta fields, such as bio, instant messenger handles, etc. I've not ...
15
votes
4answers
15k views
How do I remove Pages from search?
I don't need to search for pages in my site and only want to search posts, is there a way to do it? Thanks
1
vote
1answer
782 views
Any reason why search result lists only one entry?
I'm wondering why I only get one result in my search.
My search query is this:
http://www.norwegianfashion.no/?s=oslo+fashion+week
If I search google, you'll see I got plenty of hits:
http://www....
2
votes
2answers
477 views
intellisense in wp search
Is it possible to bring intellisense (autocomplete) in the search box of the website????
2
votes
2answers
553 views
Comment filtering (search)
Basically I want to develop the ability to search comments on my site. A form with input field where the visitor can enter a search string, which tells WP to display only comments that contain that ...
1
vote
1answer
3k views
How do I make search only search in post content?
I want to have two search bars, one which works normally and one that searchs only in the post content but I can't even find the code of the search funtion to create the second.
Can I use a plugin to ...
3
votes
4answers
1k views
Search and replace text across all posts
I had used the ZD Video Plugin for WP a long time, and now, since my move to WP 3.0.2, it doesn't work anymore. To embed a YouTube video using the plugin, I would just write
[zdvideo]url-of-youtube-...
0
votes
1answer
223 views
Searching for one letter returns extra empty post
On my blog WordPress returns an empty post with today's date if I do a search for one letter, e.g. ?s=a or ?s=q
Is this a known bug, and how do I fix it?
0
votes
3answers
368 views
a better search?
hi
how to create advanced search with out plugin, create with form
* Support for "+" (must have) and "-" (must not have)
* Search title, content, excerpt, taxonomies or comments (or any ...
2
votes
2answers
2k views
Search result permalink
how to make permalink available for search result page
/?s=one+two+ok to /search/one-two-ok/
thank
1
vote
1answer
264 views
renew plugin advanced search [closed]
I'm use advanced search plugin in my site.
http://www.zirona.com/software/wordpress-advanced-search/
now I'm upgrade site and advanced search not worked! :(
creator plugin not update for wordpress 3
...
6
votes
2answers
4k views
Search in Wordpress - Difference of searchpage.php, searchform.php and search.php?
I'm sorry for this scholar question, but I'm totaly confused with search in Wordpress. What is the difference beetwen searchpage.php, searchform.php and search.php? Could anybody tell me how it all ...
1
vote
2answers
322 views
Creating a “Tags” page with search option, instead of using a widget
I've searched for answers on that, not sure I found anything.
I have a blog about movies, and I'm using tags for actors (i.e. brad pitt, kevin spacey).
I'm interested to create a dedicated "actors" ...
2
votes
1answer
551 views
plugin to search entire posts, blogs, forum, users [closed]
hi
can anyone recommend a good search engine plugin that allows the users to search for posts, blogs, forums, users, etc and shows the results as a combined result and not divided into categories?
we ...
4
votes
1answer
3k views
How to override normal Wordpress search in Buddypress? [closed]
hi
i have wordpress and buddypress installed and i wanted to be able to search through forum posts, blog posts and other info all over the site.
i found Search Engine (Wordpress Plugin) and installed ...
7
votes
3answers
77k views
How to remove search bar from a wordpress theme? [closed]
How to remove search bar from a wordpress theme?
37
votes
6answers
49k views
Include custom taxonomy term in search
I have two custom taxonomies applied to two custom post types. the terms list on the sidebar just fine and will list all posts associated with it. However, if you search one of the terms in specific, ...
4
votes
5answers
4k views
How to replicate some of Drupal Views functionality in WordPress?
I admit, I still think in Drupal. (In choosing between developing in WordPress and Drupal, I still tend to favor Drupal, because I haven't yet figured out a few things on the WordPress side.)
Can ...
20
votes
3answers
22k views
How can I implement a location based (zip code) search in WordPress?
I am working on a local business directory site that will use custom post types for the business entries. One of the fields will be "Zip Code." How can I set up a location based search?
I'd like ...
39
votes
2answers
44k views
Customizing Only a Specific Menu using the “wp_nav_menu_items” Hook?
Thanks to some help on here, I've managed to add a custom search box to my main menu... by adding this to my theme's functions.php
add_filter('wp_nav_menu_items','search_box_function');
function ...
1
vote
2answers
2k views
Searching Only Blog Posts From a WordPress Site's Main Posts Page?
On my CMS-style setup, I have the standard search box which searches everything.
However, on my blog page, I would like to also have another search box which searches just the blog... is this ...
6
votes
1answer
2k views
How to make Wordpress search prioritise page titles?
The standard search for Wordpress works, but doesn't seem too clever. If I search for 'tomato' and I have a page whose title is 'Tomato' I would expect that to come first in the results. However the ...
2
votes
1answer
390 views
Where do custom menus get constructed?
I've created a simple menu in wp-admin>appearance>menus called main-nav. Works fine.
However, I'd like to add a custom element to the end of the menu... a search box like the search box in the apple....
0
votes
1answer
215 views
Add Google custom search to wordpress.com [closed]
I would like to add Google custom search to my wordpress.com site.
I have pasted HTML code from custom search to text widget in a sidebar, but instead of search box, I got text:
Loading
google.load('...
2
votes
1answer
134 views
Best way to Integrate Google Search?
I would like to use Google Search as opposed to the built-in search provided by the WordPress engine. What would be the best way to integrate Google Search?