All Questions
80
questions
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
0
answers
17
views
How can I modify this code to make the search box include tags and meta
How can I modify this code to make the search box include tags and meta
I would like the search in same box
if($_GET['s'] && !empty($_GET['s']))
{
$text = $_GET['s'];
}
if($_GET['type'] &...
0
votes
1
answer
232
views
My combination of 'post_type' and 'tax_query' not working?
I want to filter search results by custom post type and custom taxonomy terms, the result is here:
add_action('pre_get_posts','search_filter');
function search_filter($query) {
if($query->...
1
vote
0
answers
497
views
wp_query 's', search filter with pagination is not working
I made this shortcode for a page of posts.
I want to set a search function.
I filled for example: "web design".
The search-result will set in the var "$catSearched". Then it works ...
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
1
answer
39
views
How to edit dashboard search posts button texts for my CPT?
I am new to WordPress Development. Can I change texts of filter search box button ?
0
votes
0
answers
42
views
Customising the default wordpress search functionality
I find the current from WordPress too strict as it doesn't allow for some minor spelling mistakes. How can I edit this function?
I was checking out pre-get-posts however I don't think that allows me ...
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
172
views
Redirect to a page while maintaining search query parameters without causing an infinite loop
We are making use of a plugin called Product Filter by XforWoocommerce. It has a feature that limits the available product filter options based on what products are visible, however, it does not work ...
1
vote
1
answer
125
views
How to get an array of years from all of the search results, and use it to filter by year the paginated loop?
I hope this is not too dumb: even though I'm learning at an acceptable rate, my WP knowledge still has some important gaps.
What do I have:
My search.php template gets its results from the normal ...
1
vote
0
answers
23
views
Separeting product from post in search result
I am trying to separete products from posts in the search result. I can see the loop there search in both.
if( have_posts() ) {
while( have_posts() ) {
...
0
votes
1
answer
605
views
Search with filters
I want to create Three Filters in the search form with three different filters as (Tags, categories and posts). Is it possible to create those filters? If possible means how can I create that?
...
1
vote
0
answers
406
views
Admin Backend - Search Pages only by title
I want to modify the pages search in the Admin Backend, so that the search only factor the title of the pages and not the whole text/article. I already found a code for functions.php that works ...