Search Function

Place where you can get help, share your ideas and discuss about Bike Store shopping Wordpress theme with WooCommerce support and plugins built for product placement.
GK User
Fri Feb 21, 2014 11:44 pm
hello, I installed the "Predictive Search" , the instructions say:
Copy and paste this global function into your themes header.php file to replace any existing search function. (Be sure to delete the existing WordPress, WooCommerce or Theme search function)
Code: Select all
<?php
$ps_echo = true ;
if ( function_exists( 'woo_predictive_search_widget' ) ) woo_predictive_search_widget( $ps_echo );
?>


but if I in wp-content/themes/BikeStore header.php open I can see:
Image

can you help me?

https://a3rev.com/forums/topic/predicti ... -template/
User avatar
Junior Boarder

GK User
Sun Feb 23, 2014 7:44 pm
HI,

You should use BikeStore/layouts/header.php file (not BikeStore/header.php)
User avatar
Moderator

GK User
Mon Feb 24, 2014 12:11 am
Piotr Kunicki wrote:HI,

You should use BikeStore/layouts/header.php file (not BikeStore/header.php)


Thank you very much!
User avatar
Junior Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.