Support » Plugin: Embed PDF Viewer » Inline small CSS file

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Andy Fragen


    I can certainly look to optimizing it’s loading but I am uncertain as to the time saving of inline CSS vs enqueuing the CSS, which is the recommended method.

    Especially as it’s a local request.

    • This reply was modified 1 year, 2 months ago by Andy Fragen.

    Ok, you can do what you think is right.

    Plugin Author Andy Fragen


    I have looked into this and as a PDF or PDF block could be embedded in nearly every type of page I don’t see how to limit this.

    As the recommended method of adding CSS is to use wp_enqueue_style and not use inline CSS I’m going to close this is wontfix.

    If you can figure out a way to effectively manage this without creating inline CSS please submit a PR.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Inline small CSS file’ is closed to new replies.