Tagged Questions
0
votes
1answer
34 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 ...
0
votes
1answer
38 views
How to Add Additional Search Button?
I have added function to functions.php so authors can search only their published content. I would like to add additional "Search my posts" button to searchform.php so only logged in users would see - ...
0
votes
2answers
135 views
How to create a custom search for custom post type?
I have a search field for the blog posts, but I need an other for a custom post type. How can I create this custom search form with a different search result layout?
0
votes
1answer
90 views
Search results load individual post in slide out div
Hi this is more of a solution and advice question.
I want to search my wordpress site and load the search results in a very typical way (unordered list with title, image and excerpt).
Upon ...
1
vote
0answers
66 views
Admin search post meta
I have currently built a property database using WordPress and am purely using the back-end for the whole job. I am listing all the properties and used a plugin called "Easy Filter" to add custom ...
0
votes
1answer
459 views
Filter results with custom field values and dropdown
I need to filter posts by a custom field value.
My specific example:
User browse to products > category 1 > subcategory A.
ALL "subcategory A" items (products custom post type) are displayed
as ...
1
vote
1answer
256 views
Custom search page and search by title, content and tag
Can someone review my code , I need to know better solutions or any bug.
Okey ! , I made a PHP file to get search results by parameters and search by title , content and tag
PHP's head look like:
...
-2
votes
1answer
39 views
Problems with Custom Field and Custom search , [closed]
I have a real state website , that site used some custom field like area, price , location etc . I want to make a search engine where I can use that custom field as input . so that user can search ...
0
votes
1answer
143 views
Multiple keyword search
I have a custom search where I want to enter a keyword or phrase into the search box, and then by pressing enter it adds it to a 'search storage' (already coded, see below). Asume I have 3 posts, one ...
0
votes
1answer
273 views
Search URL parameters query [duplicate]
Possible Duplicate:
Custom search form with empty parameters
Hopefully this is a quick one, but I've hit a wall here.
I have multiple search terms, keyword, category, country and date. ...
1
vote
1answer
190 views
Wordpress custom search url
I'm trying to chang my custom search url for SEO purpose. I found an article about how to change mydomain.com/?s=query to mydomain.com/search/query. However, i prefer to have a custom search url such ...
0
votes
1answer
553 views
Multiple Category Search
I'm trying to create a search feature that will allow users to enter a search term and select a couple of categories. The script searches a single category just fine, but when I add more than one I ...
2
votes
1answer
263 views
Search through custom post type and custom fields takes 5 minutes
I got strange problem and im stuck. I have custom post type with around 15 custom fields.
I moved data from old db (not wp) by using wp_insert_post ,update_post_meta and wp_set_object_terms.
All ...
0
votes
1answer
107 views
How to Clear Empty Search values?
I have private pages in my website, so i have used this filter to hide some of the pages,
function mySearchFilter($query) {
if ($query->is_search) {
$excludeId = ...
1
vote
2answers
717 views
Search a post using the date it was posted
I want to search a post based on the date it was posted. Example, in the search box, I would place there November 22, 2011 and all posts during November 22, 2011 would be displayed. Im desperate on ...
5
votes
1answer
299 views
Search Custom Post Type Pages and Custom Fields in 2 Dropdowns?
On my custom post type pages I have custom fields that the user can edit.
What I want is to have a search form with 2 select dropdowns: one dropdown that is populated with all the top-level custom ...
0
votes
1answer
506 views
Searching with Multiple (Parallel) Criteria on Custom Fields?
I'm just an basic Wordpress user. I need to make search box with multiple criteria inputs (multiple conditions) to search inside various Custom Fields.
For example including following Custom Fields:
...
3
votes
1answer
173 views
Is there a way to do multiple ordering on a multiple meta_query?
I'm experimenting with searches and multiple criterias and ordering. Let's say we have a real estate site, all posts have 2 custom fields (price and surface), and we want the visitor to be able to ...
4
votes
2answers
2k views
Wordpress Multiple Category Search
From few months I am digging into wordpress for multiple category search options, and finally came up with this.
I just found that wordpress allows multiple tags, which means that if in your URL you ...
0
votes
1answer
393 views
Problem with WP_Query loop and search term
I have a custom query to display random posts in my sidebar like this:
$newQuery = array(
'post__in' => get_option('sticky_posts'),
'post_type' => 'ad_listing',
'posts_per_page' ...
4
votes
1answer
2k views
Search multiple custom fields by using meta_query
I'm trying to create a search results listing for a custom post type and the problem I'm running in to is with the way the 'meta_query' parameter is stringing the passed values together. It appears ...
0
votes
1answer
312 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 ...