WPIntell

Source evidence

Expand Search

ACF: Better Search · support · 2025-02-11T14:20:00+00:00

complaintsentiment
mediumseverity
0.8relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 34 rows with source links

14.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

29 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Philip Sola unresolved
Hi, Firstly, thank you very much for creating this plugin and working so hard on it – it really is amazing when using ACF on a site at expanding searches. A problem I’m having currently (due to my lack of SQL querying knowledge admittedly) is that I need to expand search across the site to taxonomy terms etc as well, not just ACF fields. If I try a custom code snippet that someone might typically add, it seems to conflict with your code. i.e. posts_search filter depending on the priority I set, my custom snippet overrides yours or yours overrides mine. Instead of fighting with this when your plugin already handles SQL querying, I wondered if you might be happy or open to widening the scope of the plugin to search other areas of the site like taxonomy terms, authors etc as well? Many thanks, Phil Hi @philsola , Thank you for your message. We have no plans to support searching across taxonomies or authors. These are completely different SQL queries than searching across posts. Best, Mateusz Hi Mateusz, No worries, would you be open to passing the search term in your acfbs_sql_where filter at least so people can extend it if needed? return apply_filters( ‘acfbs_sql_where’, $where, $this->wpdb ); Currently, without hooking into the WP posts_search filter myself and overriding the plugin, I don’t get access to the search term itself to be able to do anything helpful with the $where string. Thanks, Phil @philsola You can use the posts_search filter for this purpose. That’s what I’m using in this file .

Comments

3 shown
Mateusz Gbiorczyk 2025-02-11T14:36:00+00:00

Hi @philsola , Thank you for your message. We have no plans to support searching across taxonomies or authors. These are completely different SQL queries than searching across posts. Best, Mateusz

Philip Sola 2025-02-11T15:05:00+00:00

Hi Mateusz, No worries, would you be open to passing the search term in your acfbs_sql_where filter at least so people can extend it if needed? return apply_filters( ‘acfbs_sql_where’, $where, $this->wpdb ); Currently, without hooking into the WP posts_search filter myself and overriding the plugin, I don’t get access to the search term itself to be able to do anything helpful with the $where string. Thanks, Phil

Mateusz Gbiorczyk 2025-04-29T07:58:00+00:00

@philsola You can use the posts_search filter for this purpose. That’s what I’m using in this file .