Support » Plugin: Price list for WooCommerce product » Rendering for single file

  • Resolved Li-An

    (@li-an)


    Hello, I was planning to use your plugin for single downloads but it seems the templates are not the same for single download ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author dovi42

    (@dovi42)

    I may not understand you well.
    Each built-in template has a file.html file that controls how to display a document, not just the contents of a folder. This can also be overwritten on your own theme.
    Here are detailed examples for display: http://wpdemo.dovi42.com/downloads-sample/

    Thread Starter Li-An

    (@li-an)

    I tried this code

    [download-from-files target="test" template="extended" folders="1"]
    
    [download-from-files target="test/2020-07-06-0001.pdf" template="extended"]

    And the rendering of single download is different. See capture

    2021-2-9-14-34-25

    Plugin Author dovi42

    (@dovi42)

    This is not a fault but a service.
    This is intentionally so that it can also be displayed in continuous text. You can customize it by creating your own display template for your page.
    You can find help for this by clicking here: http://wpdemo.dovi42.hu/template-management/

    Thread Starter Li-An

    (@li-an)

    It makes sense. I will take more time to look at the help but I was quite surprised that template=”extended” did not work for single download.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.