-
Author
-
December 8, 2015 at 23:11 #91982cali82Participant
Hello=)
I would like to only use essential grid for my products. When I go to the main product page that woo commerce provides me with it shows essential grid on the top and the theme integration of the products on the bottom. I would like to disable the products showing on the bottom some how? Please assist.
Is it possible to integrate essential grid with your next theme update? =D
Thanks!
December 9, 2015 at 16:57 #92109RaduModeratorHi,
Can you please provide FTP to give a look ?
Regarding to this “Is it possible to integrate essential grid with your next theme update? =D”
Please post in https://archived.seventhqueen.com/forums/forum/sweetdate-wordpress/feature-requests
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 10, 2015 at 15:24 #92386RaduModeratorHi,
Please provide admin credentials
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 11, 2015 at 16:18 #92626RaduModeratorHi,
Done
I’ve added in child theme content-product.php to wp-content/themes/sweetdate-child/woocommerce/content-product.php
the content of the content-product.php is
COPY CODE<?php /** * The template for displaying product content within loops. * * Override this template by copying it to yourtheme/woocommerce/content-product.php * * @author WooThemes * @package WooCommerce/Templates * @version 2.4.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } global $product, $woocommerce_loop; // Store loop count we're currently on if ( empty( $woocommerce_loop['loop'] ) ) { $woocommerce_loop['loop'] = 0; } // Store column count for displaying the grid if ( empty( $woocommerce_loop['columns'] ) ) { $woocommerce_loop['columns'] = apply_filters( 'loop_shop_columns', 4 ); } // Ensure visibility if ( ! $product || ! $product->is_visible() ) { return; } // Increase loop count $woocommerce_loop['loop']++; // Extra post classes $classes = array(); if ( 0 == ( $woocommerce_loop['loop'] - 1 ) % $woocommerce_loop['columns'] || 1 == $woocommerce_loop['columns'] ) { $classes[] = 'first'; } if ( 0 == $woocommerce_loop['loop'] % $woocommerce_loop['columns'] ) { $classes[] = 'last'; } ?>
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 11, 2015 at 17:08 #92641cali82ParticipantHello=)
You guys are amazing! Thanks you very much!
I don’t mean to be a nuisance, but the only thing that remains is the pagination on the bottom. I am not sure how to remove that?
Please assist.
Thanks in advance!
Attachments:
You must be logged in to view attached files.December 11, 2015 at 17:49 #92658RaduModeratorDone,
I;ve hided that via css, you need to purge cache from cdn’s
Cheers
RAdu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Plugins questions’ is closed to new topics and replies.