AFter 1.9 update Search over topbar
-
Hello, after updating to 1.9 a Search is always over topbar, how can i remove it?
Attachments:
You must be
logged in to view attached files.
Hi,
You need to clear your browser cache to see the changes.
Regards
Ok ty, one other question, on shop page i put -1 to abel show all products, but when i push show all(alla) it only shows 12 products, how can i make it work?
Where we can see this problem on your website?
https://zagas.se/shop/ then push alla
Attachments:
You must be
logged in to view attached files.
Provide us your FTP access so we can check it.
Try to add the following PHP code snippet to the child theme functions.php file to do this
function woodmart_shop_products_per_page() {
$per_page = 12;
$number = apply_filters('woodmart_shop_per_page', woodmart_get_products_per_page() );
if( is_numeric( $number ) ) {
$per_page = $number;
}
return $per_page;
}
add_filter( 'loop_shop_per_page', 'woodmart_shop_products_per_page', 20 );
I dont have a child theme, how can i make it?
You can install and activate the child theme as other regular themes in Appearance -> Themes. Find the child theme zip file in the downloaded package from ThemeForest.
Ok, ty, does this need to be updated when updating the normal theme? Will any change be made or is their any risk of broke any functions if i activate it?
No, you don’t need to update the child theme in the future.