-
Search Results
-
https://kriesi.at/support/topic/enfold-image-sizes/
I followed instructions in link above but I don’t see the image sizes displayed after I click: Functions PHP this is what is displayed. What am I doing incorrectly?
Enfold Child: Theme Functions (functions.php)
<?php
function my_theme_enqueue_styles() {$parent_style = ‘parent-style’; // This is ‘twentyfifteen-style’ for the Twenty Fifteen theme.
wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘child-style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array( $parent_style ),
wp_get_theme()->get(‘Version’)
);
}
add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ );//set builder mode to debug
// add_action(‘avia_builder_mode’, “builder_set_debug”);
function builder_set_debug()
{
return “debug”;
}// workaround for LayerSlider background not loading
add_filter( ‘category_description’, ‘do_shortcode’ );add_action( ‘wp_head’, ‘load_LayerSlider_fix’ );
function load_LayerSlider_fix() {
?>
<script type=”text/javascript”>
jQuery( window ).load(function(){
jQuery(window).trigger(‘resize’);
});
</script>
<?php
}//Enable Custom CSS
add_theme_support(‘avia_template_builder_custom_css’);add_action( ‘woocommerce_after_shop_loop_item_title’, ‘my_add_short_description’ );
function my_add_short_description() {
global $product;
$temp = $product->get_attribute( ‘Temperature’ );
if ($temp != ”)
{
echo “<div style=’font-size:0.7em;’>”.” “.$temp.”</div>”;
}
}function get_woo_reviews(){
$count = 0;
$html_r = “”;
$title=””;
$args = array(
‘post_type’ => ‘product’
);
$comments_query = new WP_Comment_Query;
$comments = $comments_query->query( $args );
foreach($comments as $comment) :
$title = ‘comment_post_ID ).'”>’.get_the_title( $comment->comment_post_ID ).’‘;
$html_r = $html_r. “<div style=’color:#00c0ce;’>” .$title.”</div>”;
$html_r = $html_r. “<div>” .$comment->comment_content.”</div>”;
$html_r = $html_r.”Posted By”.$comment->comment_author.” On “.$comment->comment_date. “<br />”;
$html_r = $html_r.”<br />”;
endforeach;return $html_r;
}
add_shortcode(‘woo_reviews’, ‘get_woo_reviews’);/* Display USD for Product PRices on Shop/Product/Cart */
function sv_change_product_price_display( $price ) {
$price .= ‘ USD’;
return $price;
}
add_filter( ‘woocommerce_get_price_html’, ‘sv_change_product_price_display’ );
add_filter( ‘woocommerce_cart_item_price’, ‘sv_change_product_price_display’ );/*
Woocommerce 3.0.0 Compatibility Fix
Remove Enfold’s custom functions that conflict with the new image display in WooCommerce 3.0.0
*/global $woocommerce;
if( version_compare( $woocommerce->version, ‘3.0.0’, “>=” ) ) {
function avia_woocommerce_gallery_thumbnail_description($img, $attachment_id, $post_id, $image_class ) {
return $img;
}
function avia_woocommerce_post_thumbnail_description($img, $post_id){
return $img;
}
}Hi
How can I make the toolbox desappear on the lightbox (2.jpg) of a gallery in smartphones? It confuses because it remains the same when, using the arrow, I change the photos of the gallery
I checked this in Iphone and android and there is the same problem in both. When I check in my desktop with google resizer seems to be ok
The page of the site is https://papagiannoulis.gr/projects/
image 1. This is ok. It normaly changes the toolbox with the description of each photo for each thumbnail
The toolbox should normaly desappear
The same toolbox remains for all the photosTopic: Blog post preview image size
Hello,
I would like to change the size of the thumbnails of my blog list. When I inspect it, I can see it’s set up to 81x81px, but I have no idea where this is coming from. I’d like to change it to 150px, and have it displayed on the left-hand side. Would you be able to help please?
Thank you,
Anna
Hi,
I’ve just installed WooCommerce plugin and tested with a product. Unfortunately, the following 2 errors show at the product page:Warning: Missing argument 3 for avia_woocommerce_gallery_thumbnail_description() in (see private content) on line 1360
Warning: Missing argument 4 for avia_woocommerce_gallery_thumbnail_description() in (see private content) on line 1360
The product image is blurry as well.
Please assist in fixing this error, hopefully it’s fixable.
Thanks in advance!
ElkeHello All,
I am using portofolio Ajax in 3 and 4 colums. Pictures are peferctly once enlarged in lightbox,
but anyhow the previev (Main gallery pictures) pictures do look blurry.Here is a picture to review: http://i66.tinypic.com/9062p5.png
Thank you for helping out on this issue.
br
RonaldAfter going through the various topics on this forum and indeed searching the net. I find none that will enable this feature.
I am using enfold theme 4.0.5 installed with woocommerce 4.2.1
I have the lightbox modal window set.
I entered images into the gallery on the wordpress page for the product.
I get the images thumbnails under the main feature image.
When I hover over them they do not enlarge and show in the feature image location.
When I click on them they do not show up in a light box or even show up in a window.
I have used below in function.php with and without makes no difference.
————————————————————————–
add_action( ‘after_setup_theme’, ‘yourtheme_setup’ );function yourtheme_setup() {
add_theme_support( ‘wc-product-gallery-zoom’ );
add_theme_support( ‘wc-product-gallery-lightbox’ );
add_theme_support( ‘wc-product-gallery-slider’ );
}
—————————————————————————–
