0
votes
1answer
34 views

Custom theme won't use search.php

I have a custom searchform.php and search.php in my theme. However, when searching for something all I see is the front page (with mysite.com/?s=something in the adressbar). I use a filter to make ...
0
votes
1answer
44 views

custom theme's search not working

I've created a custom theme. It's pretty simple. However, the search function is not working. Does the search results page not use the theme's page.php?
0
votes
0answers
32 views

wordpress search result page post_type order

i want to customize the search. what i need is when user search for ex: if user search for tools in search result will return result in following manners. Pages page 1 page 2 Posts post ...
1
vote
1answer
507 views

How can I customize wp_footer, where is the code that controls what this function does?

I am using Wordpress 2013 theme as a starting point for a new theme from scratch. Under my themes folder, my footer.php theme looks like this. (Notice the final functionwp_footer(). ...
0
votes
1answer
49 views

Why is the post type on the search result page random?

So I think I might be doing something fundamentally wrong in my Wordpress themes since this issue seems to crop up every once in a while and I don't know why. So basically I created search.php and I ...
0
votes
1answer
66 views

How to multiply a post to test internal search results?

I'm using two ways to do my search. One, located in search.php: <?php /* Search Count */ $allsearch = &new WP_Query("s=$s&showposts=-1"); $key = wp_specialchars($s, 1); ...
0
votes
1answer
95 views

Search Form Not Working

www.milknhny.co.uk/ClearWatch Im using a basis of the Twenty Twelve theme and im using the below script (yes i know that the wrappers are not correct as yet) However its defaulting back to the main ...
0
votes
1answer
58 views

The normal loop with different styles doesn't work in search.php

This code in the search.php file does not work: <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php if( get_post_type() == 'post' ) {?> <div id="post"> ...
0
votes
1answer
32 views

altering search terms

How can you filter or alter the search terms that users enter into a search field? Is there a hook available? The idea is to use this function to filter out 2-3 letter "filler" words ("on", "and", ...
0
votes
1answer
98 views

Search.php gets metadata from first post

I've got this in header.php in <head> section: $page_color = get_post_meta($post->ID, 'page_color', true); It works fine because it gets correct page_color for posts and pages but when I ...
1
vote
1answer
952 views

Custom Taxonomy Tag Search

I have an existing WordPress search function, what I'd like to be able to do is extend the search to the tags from my custom taxonomy...how do I do that? <form method="get" id="searchform" ...
0
votes
1answer
764 views

Search Results not displaying for multiple word search

I've customized a theme and am having some problems with search results using multiple-word queries. Site is live at www.abetterworldbydesign.com Searching for a single word works as expected. ...
4
votes
3answers
7k views

How to remove search bar from a wordpress theme?

How to remove search bar from a wordpress theme?