Skip to main content

Questions tagged [search]

The method by which users find information on your WordPress site

0 votes
0 answers
28 views

how to create a multi selector dropdown search box by code?

I need to search categories, tags, custom fields and custom taxonomies. I have to create a search box similar to this: https://www.sacconicase.it/index.php taxonomy category+ sub category + sub-sub-...
Andrea Sacconi's user avatar
0 votes
2 answers
594 views

How to quickly search posts by title in Admin interface

I have a site with thousands of posts, and in the admin interface I simply want to be able to find and edit posts quickly based on their title. The default post search functionality matches on the ...
James's user avatar
  • 101
0 votes
1 answer
269 views

How to exclude html tags and class on search

I wanted my search to exclude html tags so that in the search results page it wont show html tags and class. I'm a beginner in wordpress development so i find it hard to understand some functions. ...
adriandneb's user avatar
0 votes
1 answer
85 views

Wordpress REST API response - not returning results from custom taxonomy, only from title

I'm trying to set up a custom search for documents on the web page. The documents should be sortable based on their respective categories. If one category is selected, only the documents associated ...
Pbalazs89's user avatar
  • 115
0 votes
1 answer
51 views

Search pagination rewrite to fix 404

I'm wondering if anyone can help me out here? Basically, I think I need to use add_rewrite_rule() to get pagination working in my search results, as I've gone beyond the default query due to a bunch ...
Jase Warner's user avatar
0 votes
0 answers
56 views

Advanced Search - Is this possible?

I am currently working on a Wordpress website that needs an advanced search adding to it. I have three categories set up, each with a set amount of sub-categories, and then I'd like for a user to be ...
Emma's user avatar
  • 11
0 votes
1 answer
73 views

Order of search results based off of a backend custom field and also in alpha order

I'm using WordPress as a searchable database of people, and I want to be able to sort search results by the person's last name. Initially, I figured I could sort the search results in just alpha, but ...
user231567's user avatar
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 ...
f3l1x's user avatar
  • 1
0 votes
1 answer
47 views

Display different sidebar based on search results from one category

I have a website with a plant index page. It has a custom sidebar using A-Z Listings and a search form that only returns results from the 'plantindex' category. When using the sidebar search form, say ...
Commandrea's user avatar
1 vote
2 answers
2k views

How to include custom fields in wordpress search

As you know WordPress search only look at the post titles and contents, but I want the search to include also a custom field. Let me explain more: Consider a movie post with the title "Fast Five&...
Taqi Vaheed's user avatar
1 vote
0 answers
191 views

Custom Taxonomy in custom REST API search

I am building my first theme where I use a custom search and I would like to include the ability to search by custom taxonomy. Currently, the taxonomy term shows up in Postman but no posts with that ...
Charalambos's user avatar
0 votes
0 answers
279 views

Extend search query to search meta keys values based on search string

I want to create an autocomplete AJAX search and I'm trying to have it where when the user starts typing, the list populates titles matching that search string. My issue is in the WP_query, because I ...
Derek's user avatar
  • 373
0 votes
0 answers
52 views

AJAX multiple search boxes not merging with array merge

this is a very frustrating problem. I have some search boxes for different feilds on my site. some are acf meta fields, another is for title, and another for a keyword taxonomy. But on the front end, ...
post poop zoomies's user avatar
0 votes
0 answers
28 views

Meta_query question

There is a problem with compiling a request to display posts by meta_query. Need to output posts whose title contains a substring. Can't figure out where I'm wrong. Can someone help? $inputValue = '...
Андрей Кочуров's user avatar
0 votes
0 answers
40 views

Display taxonomy terms when adding a link in the admin

When you add a link in the admin and make a research, all post types are displayed, but I wondered if there is an easy way to display also taxonomy terms. It would be very useful. Thanks!
Etienne Delcambre's user avatar

15 30 50 per page
1
3 4
5
6 7
123