Support » Plugin: PDF Embedder » Pdf embedder not loading jsfiles

  • Resolved emanuelx


    Hi, i am trying use this plugin on my wordpress site, i structured my code with timber that is a template engine builded with twig.

    The problem with your plugin it’s because i need to have wp_head and wp_footer on my single.php and page.php. But i use twig template engine to separate files, create a better code structure, and i have that functions on separate files.

    Because i have wp_head and wp_footer on separate files, your .js files are not loading on the page.

    you can checkout this theme and install your plugin.


Viewing 1 replies (of 1 total)
  • Plugin Support WP-PDF Support


    Hi @emanuelx,

    Because you are not using the conventional method of enqueueing the scripts on your site, you will need to fire the PDF Embedder script separately using jQuery('.pdfemb-viewer').pdfEmbedder();.

    If you have any other questions, please feel free to send an email to as we may not see messages posted here to respond in a timely fashion.


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