Forum Replies Created
-
AuthorPosts
-
ok i enabled preloader and then i selected CSS and got this blue animated line when changing pages. Is there a way to change this to something else. I was trying to impliment this, but seems too complicated. I know i can select image instead of CSS and then use an image there in preloader, but where to get these images and are they just animated gifs transparent?
where are these feeding from? i’d like to add an icon link here if possible
ok they fixed the plugin on shop page yah! but now stock status is showing under products. how can I turn this off?
Its still not working. I turned on “Enable add to cart button” and it looks like this: but no Add to Card button
I tried it both ways. It works on wordpress theme preview but not claue. Maybe if we can get the add to cart button to work on shop page, the other stuff will too?
what previous topic? did I put this stuff in the right place??
Still it doesn’t work after I downloaded files here:
And I put this line in claue child style.css
you mean download here?
Ok, i went back to the original recommendation you made to use Woo Commerce Variation Plugin and added the Gallery part. The Cleversoft plugin just won’t work on the shop page
product detail page:
ALO Yoga Sexy Moto Yoga Leggings High Waisted Sexy Pilates Leggings Black
Shop page doesn’t show any attributes and I removed the line that hides size attributes:
https://sexyleggingsusa.com/?s=moto&post_type=product
Woo Variation Swatch settings:
https://sexyleggingsusa.com/wp-admin/admin.php?page=woo-variation-swatches-settingsThe Developer says its something with the theme because it works on wordpress theme. Can you help?
This is what’s in that file:
LINE 81 is: foreach ( $items_as_objects as $item_object ) {
<?php
/**
* Instagram shortcode.
*
* @package ClaueAddons
* @since 1.0.0
*/// Prevent loading this file directly
defined( ‘ABSPATH’ ) || exit;if ( ! function_exists( ‘claue_addons_shortcode_instagram’ ) ) {
function claue_addons_shortcode_instagram( $atts, $content = null ) {
$output = $gutter_style = ”;extract( shortcode_atts( array(
‘user_id’ => ”,
‘username’ => ”,
‘link’ => ”,
‘access_token’ => ”,
‘limit’ => 12,
‘columns’ => 2,
‘size’ => ‘low’,
‘gutter’ => ”,
‘slider’ => ”,
‘items’ => 4,
‘autoplay’ => ”,
‘arrows’ => ”,
‘dots’ => ”,
‘class’ => ”,
), $atts ) );$classes = array( ‘jas-sc-instagram clearfix ‘ . $class );
$attr = array();if ( $slider ) {
if ( ! empty( $items ) ) {
$attr_slider[] = ‘”slidesToShow”: “‘ . $items . ‘”‘;
}
if ( ! empty( $autoplay ) ) {
$attr_slider[] = ‘”autoplay”: true’;
}
if ( ! empty( $arrows ) ) {
$attr_slider[] = ‘”arrows”: true’;
}
if ( ! empty( $dots ) ) {
$attr_slider[] = ‘”dots”: true’;
}
if ( is_rtl() ) {
$attr_slider[] = ‘”rtl”: true’;
}
if ( ! empty( $attr_slider ) ) {
$attr[] = ‘data-slick=\'{‘ . esc_attr( implode( ‘, ‘, $attr_slider ) ) . ‘,”responsive”:[{“breakpoint”: 1024,”settings”:{“slidesToShow”: 3}},{“breakpoint”: 480,”settings”:{“slidesToShow”: 1}}]’ .’}\”;
}
$classes[] = ‘jas-carousel’;
}if ( ! empty( $gutter ) ) {
$gutter_style = ‘style=”padding: ‘ . ( int ) $gutter / 2 . ‘px”‘;
$attr[] = ‘style=”margin: 0 -‘ . ( int ) $gutter / 2 . ‘px”‘;
}if ( $columns ) {
$classes[] = ‘columns-‘ . $columns;
}$output .= ‘
‘;
if ( ! empty( $user_id ) && ! empty( $access_token ) ) {
$api = ‘https://api.instagram.com/v1/users/’ . $user_id . ‘/media/recent/?access_token=’ . $access_token . ‘&count=’ . esc_attr( $limit );
$getphoto = wp_remote_get( $api );if ( ! is_wp_error( $getphoto ) ) {
$photos = json_decode( $getphoto[‘body’] );if ( $photos->meta->code !== 200 ) {
echo ‘<p>Incorrect user ID specified.</p>’;
}$items_as_objects = $photos->data;
$items = array();
foreach ( $items_as_objects as $item_object ) {
if ( $size == ‘thumbnail’ ) {
$src = $item_object->images->thumbnail->url;
$w = $item_object->images->thumbnail->width;
$h = $item_object->images->thumbnail->height;
} elseif ( $size == ‘low’ ) {
$src = $item_object->images->low_resolution->url;
$w = $item_object->images->low_resolution->width;
$h = $item_object->images->low_resolution->height;
} else {
$src = $item_object->images->standard_resolution->url;
$w = $item_object->images->standard_resolution->width;
$h = $item_object->images->standard_resolution->height;
}$items[] = array(
‘link’ => $item_object->link,
‘src’ => $src,
‘comments’ => $item_object->comments->count,
‘like’ => $item_object->likes->count
);
}if ( isset( $items ) ) {
foreach ( $items as $item ) {
$link = $item[‘link’];
$image = $item[‘src’];
$comments = $item[‘comments’];
$like = $item[‘like’];$output .= ‘
‘;
$output .= ‘‘;
$output .= ‘‘;
$output .= ‘<span class=”pr cw mgr10″><i class=”fa fa-heart-o mr__5″></i>’ . $like . ‘</span>’;
$output .= ‘<span class=”pr cw”><i class=”fa fa-comments-o mr__5″></i>’ . $comments . ‘</span>’;
$output .= ‘‘;
$output .= ‘‘;
}
}
if ( ! empty( $username ) && ! $slider ) {
$output .= ‘‘;
$output .= ‘‘ . esc_html__( ‘Find us on Instagram’, ‘claue-addons’ ) . ‘‘;
$output .= ‘‘ . esc_attr( $username ) . ‘‘;
$output .= ‘‘;
}
}
}
$output .= ‘‘;
// Return output
return apply_filters( ‘claue_addons_shortcode_instagram’, force_balance_tags( $output ) );
}
} -
AuthorPosts