The wand then I answered it myself.. How to get WooCommerce category like, link, image, all the them with PHP step by step, in tutorial form.. I am using Advanced Custom Fields for this walkthrough, and you can use other tools name Custom Field and re-work this terms to your purposes.. This is and we're going to write code that will make use of that number. This tutorial solution is tailored for ACF, and the power is the method in. I do recommend however, getting ACF Repeater add on if you're expecting the user to put in ID numbers. In Custom Fields stretch of the dashboard once the plugin is installed, I createed Field Group called Homepage. Inside Sub-Category Block fields, I've added the subfield that reiterates, labeled SubCat ID. Once the range are set in ACF, we're ready to write the PHP to retrieve those fields in our template. In our template, we loop through the range using have rows from ACF. This uses the lion like and subfield's likes.
Read more