All Questions
Tagged with search customization
103
questions
0
votes
0
answers
186
views
Rewrite URL custom search query
I have this url:
mydomain.com/?s="SEARCH TERM"&categoria="WORDPRESS CATEGORY OF POSTS"&province="CUSTOM POST FIELD"&poblacion="CUSTOM POST FIELD"
...
0
votes
1
answer
42
views
How can I make a search term redirect to a page
I'd like users to enter a unique number such as "756463" and it take them to a specific page.
How can this be done please?
0
votes
1
answer
287
views
WP Search Form Query: Add Author's posts into search query
As the title suggests, I'm looking for WordPress advice relative to leveraging the standard searchform.php functionality to additionally query the author field when performing searches. I've tried ...
0
votes
1
answer
697
views
Applying WP-cli Search & Replace to Static SQL Dump File
I have a wp db dump file inside my site directory. Can someone show me an example of how to use wp-cli search and replace command on the static sql file, not the active db to change my url from "...
0
votes
2
answers
230
views
Adding overlay search to wordpress using add action/filter
I want to add custom overlay search to my WordPress site using add action. Somehow, it is not triggering the javascripts to show the overlay html. However, it is working in a browser when I test ...
1
vote
0
answers
79
views
Hi, I wanted to make custom search with multiple fields
I wanted to make custom search with multiple fields in which we have to filter by post title and with other custom fields and taxonomies.
have a look on my code
Form
<form role="search" ...
0
votes
2
answers
71
views
Add a searchbox to the body of a page
I'm creating a website in which I need that, when I click on one of the tabs of the specific menu, and it opens, this page contains a search box in its body.
My question is how can I add this search ...
0
votes
0
answers
21
views
search form for custom fields
I want to create a custom search for pin code search with custom fields value.
When exact match with pin code will show the post data
Can you please help me?
Any help in this matter would be ...
0
votes
0
answers
150
views
Search for custom field input of a custom post type in ajax live search
I have a custom post type (gd_place generated through GeoDirectory) with a custom field (select_funding as part of the table wp_geodir_gd_place_detail) where a user can choose one out of several ...
1
vote
0
answers
57
views
Wordpress sort search results by custom order
I want to search "sandwich"
I have
pages as "sandwich", sandwich-toast, sandwich-three-layer, sandwich-simple
posts as "sandwich-recipe", "sandwich-maker-links",...
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
1
answer
548
views
How to loop for every result found in the_content() when using the search query?
im doing a custom search result page with function that extract from the_content() some words before and after the search query. (Eg ?s=cool result=[...sterday was cool and the par...]
It's working ...
0
votes
1
answer
189
views
How to create custom search form function including post "tags"
This is my HTML:
<input type="text" class="keyword" name="keyword" id="keyword" placeholder="Search video...">
<button id="search-keyword">Search</button>
When I click the "Search" ...
1
vote
1
answer
52
views
Setting custom search engine indexing for a "dynamic WordPress page" with htaccess
I am searching for hours but didnt found the code for my requirement, Can my requirement be done with htaccess?
Requirement - These urls of a page should be indexed by Google:
example.com/example-...
0
votes
1
answer
43
views
Allow WP users to sort search result on a videos site
So I have a video site based on wordpress - The search page currently shows post in date order but I want the users to have an option to sort the results by different options for example sort by views,...