-
Search Results
-
I have a two column layout set up. Is it possible to have the filter options in the right column and the Elementor post grid in the left column? I can’t get this scenario to work. But if I reverse columns so that the filter options are in the left column, it works fine. My sticking point seems to be the requirements that the filter_next_query shortcode needs to be before the posts widget but after the search and filter form.
Also, it would be helpful on your Elementor information page to indicate that the filter_next_query shortcode has to go after the search and filter form. I struggled mightily with getting the filters to work until I finally found that piece of information here in the forums.Hello Trevor,
Thanks a lot for the hard work you guys put in this great S&F.
I have a question.
I try to get the filtered Categories shown above my filter results.
As in: Categories: (here the filtered terms).
I followed this advice: https://searchandfilter.com/documentation/accessing-search-data/And use now this code and get it in elementor with snippets:
//Get a multiple fields values by passing an array of field names
//replace1526
with the ID of your search form
global $searchandfilter;
$sf_current_query = $searchandfilter->get(6890)->current_query();
echo $sf_current_query->get_fields_html(
array(“_sft_category”, “”)
);What I notice are two things:
1. with AJAX on, after the filter search, I need to refresh the page to get the code active/filled with the active terms
2. If Ajax is off, it is automatically updating ( I think due to reload page).Can you help me to get this working with Ajax on?
Thanks a lot in advance!Hi all,
I can’t edit my pages and posts in Elementor due to a fatal error caused by S&F Pro Plugin. Even when I deactivate the plugin I can’t open a page in Elementor any more. Please help!
This is an extract if the server protocol of the installation.
2019/12/23 13:26:29 [error] 29699#29699: *2911091 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /var/www/clients/client1/web1/web/wp-admin/includes/plugin-install.php:771
Stack trace:
#0 /var/www/clients/client1/web1/web/wp-includes/class-wp-hook.php(288): install_plugin_information(”)
#1 /var/www/clients/client1/web1/web/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array)
#2 /var/www/clients/client1/web1/web/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#3 /var/www/clients/client1/web1/web/wp-admin/plugin-install.php(70): do_action(‘install_plugins…’)
#4 {main}
thrown in /var/www/clients/client1/web1/web/wp-admin/includes/plugin-install.php on line 771″ while reading upstream, client: 3.122.229.94, server: mena-watch.com, request: “GET /wp-admin/plugin-install.php?tab=plugin-information&plugin=search-filter-pro§ion=changelog HTTP/1.1”, upstream: “fastcgi://unix:/var/lib/php5-fpm/web1.sock:”, host: “www.mena-watch.com”, referrer: “https://www.mena-watch.com/wp-admin/plugins.php”
2019/12/23 13:26:38 [error] 29698#29698: *2911173 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /var/www/clients/client1/web1/web/wp-admin/includes/plugin-install.php:575
Stack trace:
#0 /var/www/clients/client1/web1/web/wp-includes/class-wp-hook.php(288): install_plugin_information(”)
#1 /var/www/clients/client1/web1/web/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array)
#2 /var/www/clients/client1/web1/web/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#3 /var/www/clients/client1/web1/web/wp-admin/plugin-install.php(70): do_action(‘install_plugins…’)
#4 {main}
thrown in /var/www/clients/client1/web1/web/wp-admin/includes/plugin-install.php on line 575″ while reading response header from upstream, client: 3.125.53.189, server: mena-watch.com, request: “GET /wp-admin/plugin-install.php?tab=plugin-information&plugin=search-filter-pro§ion=description HTTP/1.1”, upstream: “fastcgi://unix:/var/lib/php5-fpm/web1.sock:”, host: “www.mena-watch.com”, referrer: “https://www.mena-watch.com/wp-admin/plugin-install.php?tab=plugin-information&plugin=search-filter-pro§ion=changelog”I tried to install v version 2.5.0 but failed as well as in updating as in uploading it. Don’t dare to delete it completely, because I don’t want to lose my setting. The IT-company is out of office until Jan.7, so need your help, I have no idea how to proceed.
Of course I will send you a login to the site if necessary.
Best regards, Thomas