wordpress - How I can remove the Save button in the PDF viewer? -


i'm trying remove or block save button on browser pdf viewer on page made in wordpress, try fix using embed when increasing size of display returns , save button appears.

i try work line of code.

<embed src = "http: //localhost/transferencias/wp-content/uploads/2014/12/zona200.pdf" type = "application / pdf" width = "100%" height = "100%">

but did not work, maybe know wordpress plugin allows me block buttons.

thanks time.

you can control pdf plugin passing parameters on query string. adobe has documentation on parameters used open pdf files. can hide toolbars, scrollbars, set zoom levels etc. documentation rather old, should still valid. using link above, set src to

<embed src = "http: //localhost/transferencias/wp-content/uploads/2014/12/zona200.pdf#toolbar=0" type = "application / pdf" width = "100%" height = "100%"> 

to disable toolbar (and hide save button).

please remember these parameters adobe acrobat plugin. non-adobe pdf readers may not respect these parameters.


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -