Home › Forums › Themes Support › Gecko › Category page customization
Tagged: Category Page Customization
- This topic has 3 replies, 2 voices, and was last updated 7 years, 8 months ago by Harry.
-
AuthorPosts
-
-
April 12, 2017 at 1:05 pm #3091
Hi,
You can remove in gecko > core > libraries > vendors > woocommerce > loop > loop-start.php from line 79 to 89
and copy below code to the last line of gecko > core > libraries > vendors > woocommerce > loop > loop-end.php
<?php
if ( $style == ‘masonry’ && $filter ) {
// Retrieve all the categories
$categories = get_terms( ‘product_cat’ );echo ‘
’;
echo ‘’ . esc_html__( ‘All’, ‘gecko’ ) . ‘’;
foreach ( $categories as $cat ) :
echo ‘slug ) . ‘” class=”dib cg chp” href=”javascript:void(0);”>’ . esc_html( $cat->name ) . ‘’;
endforeach;
echo ‘’;
} ?>
i am doing update above code but category page description is not showing bottom of category pagehttps://www.classystreet.com/product-category/women/sarees-women/sambalpuri-sarees/
Please check this issue & solve it
Thanks in Advance
-
April 12, 2017 at 4:04 pm #3101
Hi,
1. You can remove filter on top by go to Dashboard > Appearance > Widgets > WooCommerce Top Sidebar
Remove all widget in this sidebar
2. You can copy file archive-product.php from gecko > core > libraries > vendors > woocommerce
to gecko-child > woocommerce > archive-product.php
And move category description to the bottom by move code on file archive-product.php from line 46 to 54
<?php
/**
* woocommerce_archive_description hook.
*
* @hooked woocommerce_taxonomy_archive_description – 10
* @hooked woocommerce_product_archive_description – 10
*/
do_action( ‘woocommerce_archive_description’ );
?>to the line 126 before
<?php get_footer( ‘shop’ ); ?>
Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
April 12, 2017 at 7:13 pm #3118
I have do update above code but SEO Contents are coming above of the category page please check this issue & solve it
Thanks in Advance -
April 13, 2017 at 1:12 am #3136This reply has been marked as private.
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
-
-
AuthorPosts
You must be logged in to reply to this topic.