Just comment this line 565 and nexts or create a custom shortcode:
public function register_shortcode_instagram( $atts ) {
$this->enqueue_scripts();
$atts = shortcode_atts(
array(
'style' => $this->settings->get_ins_display() ? 'carousel' : 'gallery',
'row' => $this->settings->get_ins_items_per_row(),
'limit' => $this->settings->get_ins_display_limit(),
), $atts
);
$args = array(
'post_type' => 'woocommerce-lookbook',
'post_status' => array( 'publish' ),
'posts_per_page' => $atts['limit'],
'order' => 'DESC',
'orderby' => 'date'
// 'meta_query' => array(
// array(
// 'key' => 'wlb_params',
// 'value' => 's:9:"instagram";s:1',
// 'compare' => 'LIKE',
// ),
// )
);
has to be easy to you to create an option or another shortcode like the instagram one but for all the lookbooks ??
-
This reply was modified 3 years, 12 months ago by ckgrafico.