-
AuthorPosts
-
April 3, 2019 at 3:04 pm #1086579
Hi i have been using your theme for years and it is the first time i have a similar problem. I modified searchform.php in my child theme to find Woocommerce products and I realized that the reload works only in the home and not in the internal pages of the site. What’s the problem? Can you help me?
April 4, 2019 at 4:00 pm #1087111Can you reply me please?????????
April 4, 2019 at 8:19 pm #1087194Hi paoluccimarketing2015,
Can you please post the link to your website, I can only see the link to the FTP.
Best regards,
VictoriaApril 5, 2019 at 9:41 am #1087406This reply has been marked as private.April 5, 2019 at 9:43 am #1087407To resolve the problem i hadded the following code in functions.php of my child theme but i’m not sure that the problem is solved.
/* url search */
function wpb_change_search_url() {
if ( is_search() && ! empty( $_GET[‘s’] ) ) {
wp_redirect( home_url( “/search/” ) . urlencode( get_query_var( ‘s’ ) ) );
exit();
}
}
add_action( ‘template_redirect’, ‘wpb_change_search_url’ );April 5, 2019 at 10:08 am #1087412This reply has been marked as private.April 6, 2019 at 8:15 pm #1087809Hi paoluccimarketing2015,
Have you seen these threads
https://kriesi.at/support/topic/replace-standard-search-with-woocommerce-product-search/
Best regards,
VictoriaApril 8, 2019 at 9:42 am #1088203Hi Vittoria, thanks for your kind reply. I tried to replace the search codes with those suggested but the problem is not solved. If I go to the contact page for example and I use the research tool on the top it gives me back 404. Can you try this?
Thanks
LambertoApril 9, 2019 at 4:49 pm #1088727Hi Lamberto,
Can you please your custom function and check if the search works at all?
Best regards,
VictoriaApril 10, 2019 at 8:28 am #1089016I tried and it doesn’t work. You have ftp why you didn’t does this test?! Perhaps this support does not intervene as it should. 2 days to respond with random sentences without even taking tests. thank you!
April 14, 2019 at 3:57 pm #1090640Hi,
What you are asking is outside from our Support Policy but still Victoria is doing the best to help out as much as possible.
Best regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.