0
votes
1answer
22 views

WordPress Search

I'm trying to write a search feature on a website of mine, and it seems like it's not pulling in any of the pages, only posts. Below is the code. Search Form: <form role="search" ...
0
votes
0answers
31 views

Sorting search results

I am trying to develop a better way of searching my website. I want: Results to be displayed by relevance Pages to be listed first, posts should be listed after pages Searched terms to be highlited ...
1
vote
1answer
62 views

How to hook up search results page to a back-end page?

On my site, editors can upload "banner" images to every page on the site. However, I'm having trouble figuring out how to link the search results page to a back-end page (ie the page that appears at ...
3
votes
1answer
86 views

Manual excerpts for pages not working on Search

Image says it all... Page Edit: Search Results: functions.php to enable page excerpts add_post_type_support( 'page', 'excerpt' ); search.php code for displaying excerpt <?php ...
0
votes
1answer
205 views

Private Posts/Pages & Search

I have a site up where there is one private page and one private post. When logged is as admin, i can view both of these, and they even appear in the search. However, when logged in as an editor, I ...
0
votes
1answer
40 views

If searched in a category show different 404 page

Is this possible? I have a searchform that searches for certain categories. If there is no post, it will show me a 404 page... Can I change this page to something else? If so, how do I do that?
0
votes
2answers
90 views

Search page different title per results

I have a search page that is the code below, it returns different post types based upon a user search, Is there a way I can add the following title to each post type that is found - everything I've ...
0
votes
2answers
62 views

search page different results

I have custom post types and would like to display the different results based upon a users search meta. I have three custom post types that are styled differently and want to return the search ...
1
vote
2answers
131 views

Two Search pages, One search form

I have a search form that I want to place in multiple pages (it will be in different header types) I do this by using the 'get search form' function. On my Search form I have radio sections listing ...
0
votes
2answers
4k views

Form action redirect to the same page

I'm making my own theme. In my theme I have a page that display custom post using a custom query. I added a form to this page. The form contain 2 comboboxes that contain values of meta data of my ...
0
votes
1answer
39 views

Trying to put a search page on site

i'm trying to put a search page on my site. I thought it would be simple, but I am having no success. I have put a form in my header.php (which I call in my search.php page (include "header.php")) ...
0
votes
1answer
384 views

Total number of posts in query (category/tag/author/search results/main page…)

I want to know the total number of posts from the category/tag/author/search result that I am actually seeing. Say for example I am in the main page. If my posts_per_page are 10 and my pagination ...
0
votes
1answer
75 views

simple category search form returns full text - but I need excerpts

I have member pages. I set their "membership type" as a certain category. I want to search the members now. I use this simple form that does what I need, except that I need the results to display as ...
-1
votes
1answer
78 views

How to enable automatic search results in WordPress

I'm trying to find way to enable automatic search in WP. For example, I have a page mysite.com/some-thing. Within that webpage, I also want to display the content of the page mysite.com/?=some+thing. ...
0
votes
1answer
46 views

Add Filter to Ignore a Post/Page or a Number of Post/Pages

Hoping someone can assist but as part of normal WordPress theme searching, how can I add a filter as part of the search to not include certain posts/pages as part of my LOOP? For example, I want the ...
0
votes
3answers
449 views

Page 2 of Search Results shows homepage

Search bar is just under the header and menu at the top of the page. Example search: http://www.animefushigi.com/?s=bleach Scroll down and try going to page 2, see it shows homepage instead. ...
1
vote
1answer
554 views

Is there a wordpress plugin enabling an autocomplete search box, then jump to page?

I have very little experience with WordPress. I am exploring it as a potential solution for our needs. I would like to implement an autocomplete search box (a bit like jQuery's) where users could ...
2
votes
1answer
128 views

When I split a large post with <!--nextpage-->, how can a search locate users to the correct page?

I have a large post split with <!-- nextpage -->. A term resides on page 50. When I search for the term, I land on page#1. Q: How can the system auto-forward me to page#50? Thanks
0
votes
1answer
493 views

Search child pages from a specific page parent

Anyone know of an easy way to alter the default WordPress search from searching ALL pages, to searching only child pages from a specific page parent? I know of the filter you can use to alter whether ...
0
votes
1answer
667 views

Search results to be only posts & children of page ID

I'm trying to have my search results show only results that are a child of the 'news' category or a child of the 'work' page (ID = 16). This is what I have so far: function SearchFilter($query) ...
1
vote
1answer
262 views

Differentiate between posts and pages in search results

How can one differentiate between posts and pages in search results? What I need to do is show a the_time div for posts but not show it for pages, as it's irrelevant. With a function? <?php if ...
0
votes
1answer
695 views

What would causes search to return incorrect results?

Recently our site began no longer returning correct search results. When searching it returns one result that's unrelated to the inquiry. I've turned off all plugins and reverted back to a day when I ...
1
vote
2answers
857 views

WP-PageNavi plugin doesn't work with multiple pages of search results

I'm using Dilectio theme and WP-PageNavi plugin. The plugin creates links to multiple pages perfectly on every page except for the search results page. For example, when I search for the keyword ...
0
votes
2answers
1k views

Searching multiple custom post types and pages

I'm using bainternet's method for searching custom post_types and it works great. However, I've recently been requested to return more than one "specific" post type and perhaps individual pages for a ...