I’ve found the plugin helpful so far, but I’ve connected two custom post types (coach & coaching program) using the ACF relationship field. However, the coaching programs associated with the coach are not showing up when I search the coaches name.
For Example:
If I have coaching programs Apple & Banana that are connected via a relationship field to coach, Jane Smith.
When I search “Jane Smith” I was hoping I could have Apple & Banana show up on the results page along with Jane Smith’s single post page.
]]>Hi,
I’d like to use your plugin on a multi-website.
Howerever it doesn’t support network search.
I suggest to add this code after line 120 :
$blog_id = get_current_blog_id();
if(!$blog_id || $blog_id === 1) {
$prefix_table = ‘wp_’;
} else {
$prefix_table = ‘wp_’ . $blog_id . ‘_’;
}
And then replace “wp_” by ” . $prefix_table . ”
What do you think about it ?
Thank you for your job.
Hi,
Added “ACF: Search” items (included in an advanced form form) but search doesn′t bring entries
]]>Was this plugin coded by an intern ?
We have some beginner level error here with this plugin. Basically if anyone chooses to use another table prefix other than wp_
, this plugin will never work, since it’s hardcoded in acf-search.php.
I’ve created a pastebin where the incriminated code has been fixed. If you wish to fix this mess, you have to replace from line #96 to line #166 with the content of this pastebin : https://pastebin.com/Mkt2PEzR
]]>after i deleted all checkboxes and saved it i sow that picture:
https://prntscr.com/jmgv93
Hello,
i get this error message
WordPress database error: [Table ‘faculty.wp_postmeta’ doesn’t exist]
This is my custom query, for a live search that i developed:
$args = array(
'post_type' => "faculty",
'posts_per_page' => -1,
'orderby' => 'title',
'order' => 'ASC',
'tax_query' => array(
array(
'taxonomy' => 'faculty_list',
'field' => 'term_id',
'terms' => $term_id,
)
),
's' => $search
);
Thanks
]]>Hello,
on line 91
of the acf-search.php
file, the $wp-query
parameter is passed by reference. This cause a PHP 7.1 warning: <b>Warning</b>: Parameter 2 to acf_search_advanced_custom_search() expected to be a reference, value given in […]
.
I also had a patch for this but I can not attach it here.
If you need it, feel free to contact me by email.
Thanks! ??
]]>Hi, the plug work great, but I receive this warning at console… any way to solve it?
acf_search_advanced_custom_search() expected to be a reference, value given - /piccole_ricette_locale/wp-includes/class-wp-hook.php:298
#8 /piccole_ricette_locale/wp-includes/plugin.php:244 - WP_Hook->apply_filters(' AND (((wp_pos...', Array[2])
#7 /piccole_ricette_locale/wp-includes/class-wp-query.php:2005 - apply_filters_ref_array('posts_search', Array[2])
#6 /piccole_ricette_locale/wp-includes/class-wp-query.php:3248 - WP_Query->get_posts()
#5 /piccole_ricette_locale/wp-includes/class-wp.php:617 - WP_Query->query(Array[1])
#4 /piccole_ricette_locale/wp-includes/class-wp.php:735 - WP->query_posts()
#3 /piccole_ricette_locale/wp-includes/functions.php:955 - WP->main('')
#2 /piccole_ricette_locale/wp-blog-header.php:16 - wp()
#1 /piccole_ricette_locale/index.php:17 - require('/Applications/...')
(anonymous) @ content.js:3
EventImpl.dispatchToListener @ VM696 extensions::event_bindings:380
publicClassPrototype.(anonymous function) @ VM702 extensions::utils:149
EventImpl.dispatch_ @ VM696 extensions::event_bindings:364
EventImpl.dispatch @ VM696 extensions::event_bindings:386
publicClassPrototype.(anonymous function) @ VM702 extensions::utils:149
messageListener @ VM703 extensions::messaging:215
EventImpl.dispatchToListener @ VM696 extensions::event_bindings:380
publicClassPrototype.(anonymous function) @ VM702 extensions::utils:149
EventImpl.dispatch_ @ VM696 extensions::event_bindings:364
EventImpl.dispatch @ VM696 extensions::event_bindings:386
publicClassPrototype.(anonymous function) @ VM702 extensions::utils:149
dispatchOnMessage @ VM703 extensions::messaging:339
]]>
Hello, nice plugin. Is it possible to enable the same functionality for the admin section
]]>I just added your plugin to my second site and, when I went to adjust the settings (Settings > ACF: Search), I found that there was nothing there to configure. The box was empty, with the save button below the empty box. Have you encountered this before?
]]>hi hello,
great plugin!
but I think it’s not working with PHP registered ACF fields.
Is that right? And If so, is there a way to solve this?
thanks!
]]>Hi,
I thought I would try out this plugin as I need to try and expose some ACF fields to search (which still isn’t working) and ran in to an issue.
Currently in your plugin (I believe I have the latest from WP.org) you’re assuming that the WP installation is using wp_ as the table prefix. As someone with security concerns (or multiple installations etc.) I don’t use wp_ as the table prefix. Instead I would use {$wpdb->prefix} to ensure you’re getting the correct prefix for your query.
Thanks,
Tom
Just about to launch a site, and noticed that uploaded images are going to the wrong folder/directory.
For example, today is 25th Jan 2017.
When I upload a single image – it gets sent to the 2016/12 directory
If I disable this plugin, and try again. The image goes to this current months upload directory (correct one).
Have tried disabling other plugins, changing theme etc. The only time this happens, is when ACF Search is enabled.