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/
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!
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
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!
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
-
This reply was modified 6 years by
rajneeshhaldkar.
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!
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)
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!
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' );
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!
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/
Hi,
Please check to have the tagDiv Standard pack enable -> https://i.imgur.com/qAFhleA.png
Thank you!
Standard pack is also enable
My website not open any page error same msg
https://newjobnotification.gotechfield.com/
-
This reply was modified 6 years by
rajneeshhaldkar.
Website not open in mobile
tagDiv Standard Pack enabled – https://www.screencast.com/t/arPoMx0Cl
-
This reply was modified 6 years by
rajneeshhaldkar.
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
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
-
This reply was modified 6 years by
rajneeshhaldkar.
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!