We have an ACF repeater field attached to WP regular post type (posts). Repeater rows have one file upload custom field where our editor upload 1-3 .pdf file(s).
We need to display the link to this file(s) on [login to view URL] pointing to WP attachment page where .pdf should be rendered through this PDF viewer plugin: [login to view URL] .
To illustrate better the scheme, we need to achieve what is explained here: [login to view URL] , using pdf reader pointed above instead Google Viewer.
Attachment page should match a specific theme and also preserve this theme sidebar functionality.