Image not slide

Posted in: Newspaper
Post count: 90

I used woo commerce and creat product add 4 images but image not slide how to slide image product link – https://newjobnotification.gotechfield.com/product/redmi-note-8-neptune-blue-4gb-ram-64gb-storage/

Post count: 35449

Hi,

In order to achieve this option you need to set a code in them functions.php or in child theme functions.php the code is

add_theme_support( 'wc-product-gallery-zoom' );
add_theme_support( 'wc-product-gallery-lightbox' );
add_theme_support( 'wc-product-gallery-slider' );

The best will be to set the code in a child theme, if you set in in the main theme you need to set it in this functions.php wp-content/plugins/td-composer/legacy/Newspaper/functions.php -> https://i.imgur.com/DHrRfK1.png
Now you’ll have zoom on images, these will slide when you select and image.

Hope this will help you!
Thank you!

Post count: 90

Why does the file have to be edited when your theme supports wocomerce. Editing the file will create problems in the theme. By doing this code, it will only slide the image on wocommerce or will also be on the blog. Solve the problem
Any wocommerce demo give me link

Post count: 35449

Hi,

Please note that our theme support woocommerce, but this doesn’t mean that will have the features of a theme that is only for this, our theme use only what woocommerce plugin provide, also if you do not want to use the code, you can use some plugins to achieve what you need.
The above suggestion is taken from woocommerce documentation, also this code will apply only on woocommerce products and if you do not want to set it in the theme to do not harm it, you can use a child theme and set the code in the functions.php from child and then should be no problems.

Thank you for your understanding!

Post count: 90

Sir
I do not understand in your Blog how to make a child theme, so you can do a full explain. Do you want to uninstall the theme after activating the child theme please explane everything with screenshot

Post count: 35449

Hi,

No, you need to keep the parent theme, all you need to do is to copy the child the from the package you get from themeforest -> https://i.imgur.com/2fTR92h.png in your WordPress install, in themes -> https://i.imgur.com/7bGBKM9.png set the code in the functions.php file that is in the child theme -> https://i.imgur.com/fFlDjXb.png like in the above example, after that activate the child theme from Appearance > theme -> https://i.imgur.com/d7oZagD.png

Hope this will help you!
Thank you!

Post count: 90

can i copy all main theme file and past child theme except style.css & functions.php
can i change theme name,URI,Description,Author,Author URI or not (style.css)

Post count: 35449

Hi,

You can set in the child all the files from the main theme and from tagDiv Standard Pack plugin as these are explain in our guide from here -> https://forum.tagdiv.com/the-child-theme-support-tutorial/
Yes, all these can be change from the css file -> https://i.imgur.com/Uo1RWVz.png -> https://i.imgur.com/mQ1sl3d.png also you can change the image too.

Thank you!

Post count: 90

this code not work with newspaper mobile theme how to add this code in mobile theme also work add_theme_support( 'wc-product-gallery-zoom' );
add_theme_support( 'wc-product-gallery-lightbox' );
add_theme_support( 'wc-product-gallery-slider' );

Post count: 35449

Hi,

For mobile theme plugin you actually need to set the code on functions.php from here wp-content/plugins/td-composer/mobile/functions.php unfortunately this file can not be set in child theme, the child is only for the theme, the settings made by you until no will apply on desktop and responsive version of mobile, but not on mobile theme plugin.

Thank you!

Post count: 90

dd_theme_support( 'wc-product-gallery-zoom' );
add_theme_support( 'wc-product-gallery-lightbox' );
add_theme_support( 'wc-product-gallery-slider' );

i add this code on wp-content/plugins/td-composer/mobile/functions.php but show error
link https://newjobnotification.gotechfield.com/product/redmi-note-8-neptune-blue-4gb-ram-64gb-storage/

Post count: 90
Post count: 35449

Hi,

Please check to have the tagDiv Standard pack enable -> https://i.imgur.com/qAFhleA.png

Thank you!

Post count: 90

Standard pack is also enable
My website not open any page error same msg
https://newjobnotification.gotechfield.com/

Post count: 90

Website not open in mobile
tagDiv Standard Pack enabled – https://www.screencast.com/t/arPoMx0Cl

Post count: 35449

Hi,

This can be a plugin conflict, please deactivate ALL plugins except tagDiv plugins, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.

If there is still a problem, you can send us an email at contact@tagdiv.com and provide admin login, as well as cPanel. We will take a look. Include a link to this topic in the email.

Thanks

Post count: 90

when i deactivate child theme website work fine so how to solve the problem i want to activate child theme because some code is add in my child theme

Post count: 35449

Hi,

If you want we can take a look to this problem, you can send us an email at contact@tagdiv.com and provide admin login, as well as cPanel. We will take a look. Include a link to this topic in the email.

Thank you!

Viewing 18 posts - 1 through 18 (of 18 total)
The forum ‘Newspaper’ is closed to new topics and replies.