diff --git a/archive.php b/archive.php index 776a0014..7612f354 100755 --- a/archive.php +++ b/archive.php @@ -77,20 +77,7 @@ get_header(); ?> ?> - - - - - - - - + diff --git a/inc/hooks.php b/inc/hooks.php index 929624b3..ca1629c6 100644 --- a/inc/hooks.php +++ b/inc/hooks.php @@ -12,9 +12,9 @@ * @see storefront_scripts() * @see storefront_header_widget_region() */ -add_action( 'after_setup_theme', 'storefront_setup' ); -add_action( 'widgets_init', 'storefront_widgets_init' ); -add_action( 'wp_enqueue_scripts', 'storefront_scripts' ); +add_action( 'after_setup_theme', 'storefront_setup' ); +add_action( 'widgets_init', 'storefront_widgets_init' ); +add_action( 'wp_enqueue_scripts', 'storefront_scripts' ); add_action( 'storefront_before_content', 'storefront_header_widget_region', 10 ); /** @@ -45,12 +45,18 @@ add_action( 'storefront_footer', 'storefront_credit', 20 ); * @see storefront_popular_products() * @see storefront_on_sale_products() */ -add_action( 'homepage', 'storefront_page_content', 10 ); +add_action( 'homepage', 'storefront_page_content', 10 ); add_action( 'homepage', 'storefront_product_categories', 20 ); add_action( 'homepage', 'storefront_recent_products', 30 ); add_action( 'homepage', 'storefront_featured_products', 40 ); -add_action( 'homepage', 'storefront_popular_products', 50 ); -add_action( 'homepage', 'storefront_on_sale_products', 60 ); +add_action( 'homepage', 'storefront_popular_products', 50 ); +add_action( 'homepage', 'storefront_on_sale_products', 60 ); + +/** + * Loop + * @see storefront_paging_nav() + */ +add_action( 'storefront_loop_after', 'storefront_paging_nav', 10 ); /** * Extras diff --git a/index.php b/index.php index 5006cc6a..52d49b9f 100755 --- a/index.php +++ b/index.php @@ -18,20 +18,7 @@ get_header(); ?> - - - - - - - - + diff --git a/loop.php b/loop.php new file mode 100644 index 00000000..aecf7ed5 --- /dev/null +++ b/loop.php @@ -0,0 +1,28 @@ + + + + +