Categories
CMS Mastering Development Wordpress

How do I write a loop to get and display product list by tag, place in a function and add shortcode to page within admin?

How do I write a loop that gets and displays a product list by tag, place in a function and add shortcode to page within admin so I can display that lsit where i’d like? I have no code 🙁