Support » Plugin: PDF.js Viewer » new feature request

  • first of all, thanks for the great plugin! It just works. I do have a request though. I maintain a dutch site. The link for full-screen viewing is in English. It would help if I could change the text through the wp dashboard. Secondly it would be great if i could add a class name for the link. Right now I dit this through editing the php file in your plugin (it now looks like this: https://buddho.nl/what-the-buddha-taught-bhante-walpola-rahula/) , but I guess it will be reset with every update. Hope this is something you can implement in the future!

    Kind regards,

    Wouter

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Thomas McMahon

    (@twistermc)

    I’ll get a class added to the link in an upcoming version; hopefully the next one.

    I’ve also added internationalization options to the plugin, but not the translation files. I’ll add an option to customize the fullscreen text to the to-do list.

    wouterdoorn

    (@wouterdoorn)

    Great! Just let me know if i can help with a dutch translation.

    Plugin Author Thomas McMahon

    (@twistermc)

    I added a field to customize the full screen text. That way you can write whatever you’d like. 🙂

    Thats great! But somehow I can’t see the plugin settings menu anymore since the last update… And the plugin now loads a css file on every page, even when there is no pdf file… Might be something to look into.

    Plugin Author Thomas McMahon

    (@twistermc)

    The plugin settings menu? There’s no settings menu.

    As for the CSS, I’ll dig into that.

    Thanks for the quick reply. Sorry for the confusion, I thought there was a place where I could select wether I wanted to provide full screen etc, but I it af course managed just with shortcodes (I have just switched to multisite and have had a lot of work on my hands…). The css file is the following: pdfjs-viewer-shortcode/blocks/dist/style.css?ver=5.4.1

    Plugin Author Thomas McMahon

    (@twistermc)

    If you want easy to use options, use the Gutenberg block. 🙂

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