All Questions
50
questions
0
votes
1
answer
192
views
Hook a search form anywhere on the site, using a custom plugin
I'm new and I apologize if I ask an already existing question. But I can't find the information I'm looking for.
I need to know how a search form works in wordpress.
I'm creating a custom theme and ...
1
vote
1
answer
72
views
Adding attributes to the core search block form
I'm trying to minimally hook (via a plugin) into the search form generated by the default search block and add a target="_blank" to open the results in a new tab. I'd much prefer to do this ...
0
votes
1
answer
57
views
Search WordPress using static html page
So I have a .html page under my Wordpress website and I want to be able to use the search button on the static html page to search the search.php page, is that possible?
Is this correct? This is ...
0
votes
1
answer
954
views
Use an HTML <select> Element To Filter Taxonomies In WP Search
I have a WP search form where I would like to add a <select> element for a particular taxonomy and its terms (salary bands) for a custom post type of 'jobs'.
The current standard input search ...
0
votes
1
answer
3k
views
How to Fix Form elements do not have associated labels in Wordpress Search Form (without button)
Is there any way to fix the "Form elements do not have associated labels" issue in WordPress search form without having the search button.
Google Light House Audit:
Form elements do not ...
1
vote
1
answer
548
views
Custom search results page not working with empty search
I have a custom search results page that works fine except when an empty input box is submitted.
When an empty input box is submitted, the header on the results page displays "XX results found&...
0
votes
1
answer
1k
views
Redirecting wordpress search query to archive page
My sincere apologies for asking this question as I am quite certain that this is a relatively easy topic, unfortunately my many hours of searching got me no satisfying results. I do not mind ...
1
vote
0
answers
16
views
how to create search and filter form generating "plus" symbols in url in between category names?
How to create search and filter form to use multiple categories and tags checkboxes? I'm tried to do it standard way, but it gives me wrong filter results
&categories=vitamins&types=gainers&...
0
votes
3
answers
40
views
Form for search pages by meta datas
Hello I need a form in one wordpress page where an user can search pages by specific meta data.
I found how to do search:
https://rudrastyh.com/wordpress/meta_query.html#query_meta_values
But how ...
0
votes
1
answer
129
views
Wordpress search with more input fields?
I have this example of working search:
<form action="<?php echo esc_url(site_url('/')) ; ?>" method="get">
<input type="search" name"s">
<input type="submit" value="search"&...
0
votes
1
answer
31
views
Editing a Search Form
I am working on a search form in my Wordpress site.
It has an advance search box in which there is an Advance button, clicking which drops custom filters to include. https://ibb.co/R7DFC1F >> I want ...
1
vote
1
answer
2k
views
How to make a search form?
I'm taking my first steps in wordpress, pretty newbie. and I find that I want to make a search form with its own styles and a little javascript to redimension. So I do not know how I should proceed in ...
-1
votes
1
answer
35
views
Help with showing text when something is entered in my search bar
I'm having troubles replacing text when there is something entered in the search form.
As you can see in the image below i want to replace 'mijn gemeente' with the get_search_query text if i'm ...
1
vote
1
answer
507
views
How to load WP categories into array for autocomplete?
I am currently making a new site and i am stuck with the autocomplete for the standard search form from wordpress. Anyone knows how can i load my wordpress categories to use in this script?
Its a mix ...
-1
votes
1
answer
72
views
How To Change Url Doing Some Changes in Search Form
How can url show like i want or prefix text in search query
form class="search" action="/search">
input type="hidden" name="type" value="product" />
input type="text" placeholder="Search ...