Hello, I'm new to the forum so I hope I'm posting in the correct topic.
Not sure if I should be asking you guys or Woocommerce the question but I hope someone can help.
I'm customizing my websites 404 page and wanted to include 10 recent products, similar to the 10 recent blog posts list already included. Not looking for anything fancy like a thumbnail or anything as this probably complicates the code, just the title and the link to the product would do for now.
I've searched through the Wordpress forums for the custom taxonomy functions but cannot seem to get anything to work. I've also checked through the Woocommerce documentation and Google searches but so far haven't found what I'm looking for.
This is one of the codes I tried but it displays the blog categories instead of a list of products:
PHP Code:
<?php wp_list_categories( 'type=taxonomy-product_cat&limit=10' ); ?>
And this displayed nothing at all, lol:
PHP Code:
<?php wp_get_archives( 'type=taxonomy-product_cat&limit=10' ); ?>
Not being a PHP whizz meself I'm not even sure where to really begin with this one so any help would be gladly received.