Removing storefront-sorting div from the before section of Shop page

storefront theme has its own file where you can find all hooks and filters its adding for woocommerce. you can find it at this path: storefront/inc/woocommerce/storefront-woocommerce-template-hooks.php To remove storefront-sorting div, you can add the following in your child theme’s functions.php: remove_action( ‘woocommerce_after_shop_loop’,’storefront_sorting_wrapper’,9 ); //.storefront-sorting opening after products loop remove_action( ‘woocommerce_after_shop_loop’,’storefront_sorting_wrapper_close’,31 ); //.storefront-sorting closing after products … Read more

Admin – Custom Post Type in WooCommerce menu – how to control menu order

menu_position is not used when you set show_in_menu to a submenu. to put your menu in last position there is 2 solutions. The first is to change the menu construction priority like this : add_action(“admin_menu”, function () { remove_action(‘admin_menu’, ‘_add_post_type_submenus’); add_action( ‘admin_menu’, ‘_add_post_type_submenus’, 200); // 200 to set it after the last element of WooCommerce … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)