Adding Woocommerce shortcode in PHP to home page of other Theme
Ok any whizz kids want to help me, I have a non Wootheme I am using, which I have recently added woocommerce too, with some major CSS work I have managed to get it to work very well regarding products.
However I would like to use a hook or shortcode in the PHP of the themes home page to show say 10 of all products
I have tried many methods of php echo do_shortcode etc but it simply breaks the site, must be missing something
I kind of understand the shortcode does reside in the main wordpress set up so maybe this is the problem
But any clever chaps want to give me some pointers it would be appreciated
- The topic ‘Adding Woocommerce shortcode in PHP to home page of other Theme’ is closed to new replies.