Skip to content

Instantly share code, notes, and snippets.

@woogist
Last active December 28, 2015 19:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save woogist/7554026 to your computer and use it in GitHub Desktop.
Save woogist/7554026 to your computer and use it in GitHub Desktop.
Add the following to your theme's functions.php to make all WooCommerce Product Documents links open in a new window/tab http://www.woothemes.com/products/product-documents/
@phmacomber
Copy link

I have installed the code in the functions.php file. I am not seeing the behavior the code is supposed to provide. Is there a specific location in the file it needs to go. Can you give me a little more detail about this code?

Thanks
Phil

@justinstern
Copy link

Sorry, we actually don't get alerts for comments left here so we had no idea you had trouble with this. I just tested with the latest version of Product Documents, and simply putting this code at the bottom of the current theme's functions.php file did the trick. Hopefully you've already gotten this working!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment