• Resolved tarkan

    (@tarkan)


    Hi,

    I use a theme customisation plugin to keep our function.php and template files out of the themes folder.

    This works well for woocommerce templates, but for some reason it does not work for the PDF folder for the invoice/packing slips plugin.

    Is there anyway to force the plugin in to look for templates in my theme customisation plugin folder hierarchy?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Darren Peyou

    (@dpeyou)

    Hey @tarkan,

    You can use the wpo_wcpdf_template_paths filter in order to change where the plugin will look for the template files.

    See our complete Filter Hook Documentation

    How good is your ability with code?

    Thread Starter tarkan

    (@tarkan)

    That is great thanks – I already created a function it was simple enough, to insert my own custom path in to the array before your [default] and [child-theme] entries and it is now picking up my template files.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Template location’ is closed to new replies.