Change the link of images that appear in the Carrousel

This topic has 11 replies, 3 voices, and was last updated 6 months, 2 weeks ago ago by Andrew Mitchell

  • Avatar: maloti
    maloti
    Participant
    April 30, 2024 at 15:58

    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.

    10 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    May 1, 2024 at 06:00

    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!

    Avatar: maloti
    maloti
    Participant
    May 7, 2024 at 21:57

    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

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    May 8, 2024 at 05:53

    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.

    Avatar: maloti
    maloti
    Participant
    May 8, 2024 at 13:02

    OK. Child theme activated.

    Avatar: maloti
    maloti
    Participant
    May 8, 2024 at 16:14

    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?

    Avatar: Justin
    Luca Rossi
    Support staff
    May 8, 2024 at 16:30

    Hi @maloti,

    To make the JS scripts work, you have to disable the Ajaxify of elements:

    https://prnt.sc/5NXPAz0bNGrk

    We’ve disabled it and the links are working.

    Can you check again?

    Best Regards,
    The 8Theme Team.

    Avatar: maloti
    maloti
    Participant
    May 8, 2024 at 16:38

    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

    Avatar: Justin
    Luca Rossi
    Support staff
    May 8, 2024 at 16:43

    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!

    Avatar: maloti
    maloti
    Participant
    May 8, 2024 at 16:58

    Thanks Luca 🙂

    Best Regards

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    May 8, 2024 at 16:58

    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

  • Viewing 11 results - 1 through 11 (of 11 total)

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

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.