All Questions
Tagged with search custom-taxonomy
94
questions
1
vote
2
answers
57
views
Search for portfolio tags & mixing portfoliotags and post tags
I have been trying to filter my search result without success.
Here is my function in functions.php
I want to retrieve only post and portfolio posts (no pages).
Below is the code I found on your ...
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 ...
0
votes
0
answers
183
views
Search and filter with custom field in taxonomy
I have created additional fields for myself in taxonomy. Now I would like to do a search using the values entered into them. I have a problem with this. What is wrong here and how should it be?
I'd ...
0
votes
0
answers
30
views
Filter with two id of the same value CPT UI(taxanomies)
I have a special link with a filter, so I filter things with slugs through the link, for example
mydomain.com/filter/?technology=angular&category=software-development
and it shows the chosen jobs
...
0
votes
1
answer
240
views
Amend taxonomy to search in wordpress admin
I am trying to amend a custom taxonomy to a search in the editor area.
The taxonomy slug is 'help_cat' and is attached to 'help-center' post types.
What I am trying to achieve is very similar with OP ...
0
votes
0
answers
40
views
Include get_term_link inside search
I am trying to include custom taxonomy links inside the search.
This is my code that gets the links of my 'help_cat' taxonomy, but I am struggling on how to add/include this inside the search.
...
0
votes
1
answer
448
views
how to get this tax_query working?
I have wp_query including custom taxonomy terms which works if all the fields have values. Otherwise, it is giving 0 results.
This is the form that is used to get the taxonomy terms.
Based on the ...
0
votes
1
answer
858
views
Custom Taxonomy Search result page
I have a post type named Icons,
I have a custom taxonomy named Icons Pack which have a custom field for featured image.
Also I have a search form in my site for users to search for the icons they want ...
0
votes
1
answer
161
views
Why isn't the 'no results' being shown when a query returns no results?
I've been following this tutorial for a simple AJAX filter search within wordpress:
https://itsmereal.com/simple-ajax-filter-search-for-wordpress/?unapproved=3915&moderation-hash=...
0
votes
0
answers
82
views
Rewrite Search URL Permalink For CPT Custom Taxonomies
My site uses a CPT with custom taxonomies and shows this URL for searches :
https://example.com/?s=&post_type=listing&location=bridgeport&sale_type=for-sale&property_type=office
But ...
0
votes
1
answer
793
views
Is there An Input Checkbox Option That Works like `wp_dropdown_categories()` To Use In A WP Search Form?
I have custom post type that is currently using the wp_dropdown_categories() function within a WP search form so people will be able to filter by salary band and job type.
Is there an equivalent ...
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
0
answers
227
views
Search custom taxonomy via query-string?
I would like to expand Wordpress / WooCommerce search to allow for formulating a query-string that includes custom taxonomies. The default query-string only takes the variable ?s= followed by a search ...
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
How to exclude woocommerece product category in search results?
I'm looking for a way to exclude a product category from search results with Woocommerce using the pre_get_posts action and $query->set(). I am searching using the Wordpress ?s=keyword search. I know ...