New answers tagged

0 votes
Accepted

WPML posts_joins on translated items

Finally able to find out a working solution. The inner join has to join term_taxonomy (where we find the term) to icl_translations with current language. And then from icl_translation to the origin ...
allumette's user avatar
0 votes

Custom Post type doesn't appear in search results

I have run into a similar issue and your comment saved me! I understand that it was Polylang! Did you find a way to fix your issue without disabling Polylang completely? I would love to keep using the ...
Andrew D's user avatar
0 votes
Accepted

Including product categories (product_cat taxonomy) title and description in search query

Found out my solution by filtering the search query. Hope that helps: function new_search_join( $join ) { global $wpdb; if ( is_search() ) { $join .= " INNER JOIN {$wpdb-&...
allumette's user avatar
0 votes

Change the text "search result for" on search result page

From your current theme, I recommend creating a child theme using this plugin https://wordpress.org/plugins/child-theme-configurator/. Within the code of the theme, you will find a folder named ...
Denis Florin's user avatar
0 votes

Change the Title Tag of Search Products Page

Woocommerce and many themes provide filter hooks to modify various parts of the page, including the title tag. You can create a custom function to modify the document title using the ...
vijay pancholi's user avatar

Top 50 recent answers are included