WPSolr logo
Search
Close this search box.

Search results

is_page() error in class-wpsolr-plugin-woocommerce.php resulting in null-object

There are several errors of this content that appear on the storefront/bookshop theme homepage ONLY: ( ! ) Notice: Trying to get property ‘ID’ of non-object in /var/www/antikvarijatknjiga.hr/public_html/wp-includes/class-wp-query.php on line 3918 You can full the full stack trace if you simply go to www.antikvarijatknjiga.hr

yith search pagination issue

i have an issue integrating wpsolr to yith search plugin (free or pro) the search feature works but the there is a pagination issue detailed in this video (the solr result settings override yith search features)

re indexing hook

I doing same changes direct to the mySql db that why I need hook to run sync for the index. how to do this? it can be very massive changes on product prices and stock.

Case sensitive issue on search fields

Hi I am facing case sensitive issue on search fields. Do you have any option where I can fixed this issue? For Example: When I search “My Keywords” it’s working. but when I search “my keywords” it’s not working.

Custom data not showing

Hello, I’ve got everything working so far. I have loaded the custom data from the database to the search. I can even filter on it. Except the title and such are not showing. What is the best way to create my own layout/template, where I can give the data I want to show. Is there a way to change the shortcode search template? Like else I guess I have to use the regular WordPress search and use widgets to filter, right? Should I make a new template for the standard WordPress search or is it possible to change the wpsolr’s search template? Please give me some information / explanation on how to do this? Some images to give some ideas, what I’ve done: View post

Is there any way to get only the IDs of the posts in a query?

Hello, is there any way to get only the IDs of the posts in a query? I need only list the IDs resulting from the main search so that I can execute a new custom query. Relevance has a function that does this. global $ relevanssi_post_types; $init_ids = $ relevanssi_post_types; Is it possible to do something similar in wpsolr? Thank you

My filter stopped working

Before I used the pre_get_posts function to filter search results, now it does not work anymore function search_filter_tax_query($query) { //if ( $query->is_search ){ if ( $query->is_main_query() && is_search() ) { if(isset($_GET['stdc'])) { $tdc = $_GET['stdc']; } else { $tdc = ''; } if(isset($_GET['sorg'])) { $org = $_GET['sorg']; } else { $org = ''; } if(isset($_GET['sbase'])) { $base = $_GET['sbase']; } else { $base = ''; } if( ( $tdc != '' ) || ( $org != '' ) || ( $base != '') ) { $sub_args = array(); if( $tdc != '' ){ $sub_args[0] = array( 'taxonomy' => 'content_types', 'field' => 'term_id', 'terms' => $tdc ); } if( $org != '' ){ $sub_args[1] = array( 'taxonomy' => 'content_origem', 'field' => 'term_id', 'terms' => $org );

Wpsolr Change the WP_query

you can see for same page path its filter the query good but when I activete wpsolr I get and not give me the same results.