If you are using Virtue Theme together with Woocommerce, then probably you will ask how to enable slider in shop page. Actually the free version does not built in the slider in the shop page. If you want easy control then i would suggest you buy the Virtue theme premium version, it give you what you want. If you would want to try your luck with some code editing, then you can follow the instruction below.
Posts under PHP
I’ve this PHP script function that use to extract image tag attributes. This comes very useful when you want to extract image data from some html content for processing or migration. if you know how to modify the regular expression, then the same function can be use to extract any other html attributes! Just few line of codes and hope it benefits everyone here 🙂
To extract img tag attribute using PHP, follow the steps below
Just migrated an old site to WordPress. This old website contain more than 1200 images and if i migrate manually it will take a long time. So i wrote two script, first to extract all the images and it’s description from the old website to a file. And second script is a WordPress plugin script to upload the image to it’s page and set the image caption (useful for gallery and lightbox description) according to the old website description automatically.