product post type
-
This looks like just the plugin I’ve been looking for, thank you for making it happen!
I’m trying to see if this will work for Woocommerce single products page. I added the script below to the function.php file, however I’m getting a “Failed to Load PDF document” message when I add the /pdf/ infront of the product page url. The post type for Wocommerce products are indeed ‘product’
// add pdf print support to post type 'product' if(function_exists('set_pdf_print_support')) { set_pdf_print_support(array('post', 'page', 'product')); }
I also tried creating a template called single-product-pdf.php and put it in my theme folder, but still getting the same message.
You advice would be very helpful.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘product post type’ is closed to new replies.