This topic has 11 replies, 3 voices, and was last updated 7 months, 2 weeks ago ago by Andrew Mitchell
How can I change the link of all images that appear in Carrousel on the home page?
Instead of opening a page for each image, open them all to “https://marimagia.com.br/portfolio”?
When changing or inserting each image in the products menu, I did not find the option to change the link for each image.
Hi @maloti,
Please add the following code under functions.php file locates in your child theme:
add_action('wp_footer', 'n2t_wp_footer');
function n2t_wp_footer(){
?>
<script>
jQuery( function($){
$(document).ready(function(){
setTimeout(function(){
$('.swiper-slide .etheme-product-grid-item a').attr('href', 'https://marimagia.com.br/portfolio/');
}, 1000);
})
});
</script>
<?php
}
Hope it helps!
Hi , thanks for the answer.
The top images are directed to the portfolio page, but the 2 sets of images below are not. How can I also make these 2 other sets below go to the portfolio page too? (images3.png in attachment)
Best Regards
Hi @maloti,
Could you please activate the child theme so we can make a test?
We could see that you’re using the XStore parent theme.
Best Regards,
The 8Theme Team.
OK. Child theme activated.
Hi Luca, besides the carousel at the bottom not going directly to the portfolio page, how can I remove the “new” and the heart that appears in each image?
Hi @maloti,
To make the JS scripts work, you have to disable the Ajaxify of elements:
We’ve disabled it and the links are working.
Can you check again?
Best Regards,
The 8Theme Team.
Hi Luca, thanks for your help
Ok, now the links are being directed to the portfolio page. 🙂
I’m making this site just to show the content, but it won’t be sold online, so I need to disable some things.
But how do I remove Wishlis’ heart and the “new” element that appears in each image?
Best Regards
Hi @maloti,
You can disable them under:
– XStore > Theme Options > WooCommerce(Shop) > Wishlist > switch to OFF: https://prnt.sc/aL6USZl_ikah
– XStore > Theme Options > WooCommerce(Shop) > Shop Elements > Product Badges > “NEW” LABEL SETTINGS > Days Limit > change to 0: https://prnt.sc/Zk02lFDA6MdD
Hope it helps!
Thanks Luca 🙂
Best Regards
Dear maloti,
We trust our theme is enhancing your experience. Taking a brief moment to rate it with a glowing 5 stars on ThemeForest would be immensely appreciated. Your feedback holds significant value for us.
Click here to rate now: https://themeforest.net/downloads
Thank you sincerely for your ongoing support!
Best Regards,
The 8Theme Team
The issue related to '‘Change the link of images that appear in the Carrousel’' has been successfully resolved, and the topic is now closed for further responses