Skip to main content

All Questions

Tagged with
0 votes
1 answer
19 views

Modify WordPress Search

I'm facing a challenge with a WordPress project and I would appreciate the community's help in solving it. The issue lies with the search functionality. When customers type in a search term, such as &...
Roniery Rêgo's user avatar
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" ...
Maseres'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
57 views

Search results stuck on page 1

The problem statement For some reason when the user does a search the results page (search.php) only show the first page results. The pagination (next and previous links) also believes its on page 1. ...
Mike's user avatar
  • 111
0 votes
0 answers
58 views

Search query alteration not working for meta values

The bellow code works on category archive pages, it filters out the necessary products. But on the search page it doesn't work. If I uncomment the line //$query->set("s", "chelsea&...
JorensM's user avatar
  • 101
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'] &...
التقنية tech's user avatar
0 votes
0 answers
164 views

Show Posts via cat+cat in URL that are in both Categories doesn’t work

it seems like i am the only person on this planet currently experiencing this issue. When i search for www.gooloo.de/category/balea+vegan, it should only show posts, that are in BOTH categories, but ...
gooloode's user avatar
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 ...
TheNotSoGreatProgrammer's user avatar
0 votes
0 answers
18 views

How do I set the Stewart Search Template to return only published posts in the result

I recently took a WP.com online webinar and the moderator referred me here to ask my question. I am trying to redesign my site using FSE. I am using the "Stewart" theme. I have added a ...
Kevin's user avatar
  • 1
1 vote
1 answer
741 views

Build A Custom SQL Query for WordPress Search

I was working on a code, where I used SQL to find something on my site. I realised that the SQL was giving me far accurate search results, and wanted to implement the same in my WordPress search query....
Aditya Agarwal's user avatar
0 votes
1 answer
28 views

Wordpress search in modified post title

I'm using the_title filter to add custom taxonomy name in front of my post (product) title. I would like to add this modified title to WP search query. Could someone help me with this topic?
Radosław Marciniak's user avatar
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" ...
Wajahat's user avatar
  • 11
0 votes
1 answer
27 views

Trying to get all links in my posts

I am trying to return all the links inside my posts'/pages' content, but I can't figure out how to get my regex/loop to work right. Here is what I have at the moment, that just returns a bunch of ...
Michael's user avatar
  • 281
1 vote
1 answer
901 views

How to find exact match for search term in WP_Query? What is the additional string added in LIKE query in WP_Query?

While searching with the argument s it adds additional value before and after each Like query SELECT wp_7_posts.ID FROM wp_7_posts WHERE 1=1 AND (((wp_7_posts.post_title LIKE '{...
Jenno Richi Benat's user avatar
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 ...
MrDigitalis's user avatar

15 30 50 per page
1
2 3 4 5
8