Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter shofera

    (@shofera)

    Any update on this, doesn’t seem to be “resolved” really… ? 🙂

    Thread Starter shofera

    (@shofera)

    Hi again,

    Brilliant! I would love to be one of your beta-testers (both v2 or v3 whichever you set to accommodate those up first, obviously v3 should capture them automatically by the script tag). 🙂
    Let me know as soon as you have something to push.
    Greetings!

    Thread Starter shofera

    (@shofera)

    Hi again and thanks for the quick reply!
    I have considered all the alternatives you mentioned above before:
    1 . I would suggest either adding the code inside a static css file
    Not an option – some of them are dynamic (resulting from either theme options or DB)

    2 . actually enqueue a css file with some dummy code ( ie: .fvm1234{display:none} ) so that FVM can merge it together with it’s inlined code
    How would I go about this, can I use wp_add_inline_script/style and hint for the generated code to be linked/merged to an existing file somehow?

    3 . Select the option to not merge inlined code on fvm. Which option is this, experimented quite a bit, my wp_add_inline_script/style gets ignored when not linking to a file all the time.

    do this instead (so it avoids being found by FVM)
    Unfortunately not an option, the theme & plugin we are finalizing is headed for Envato Market and they require complying fully with WP guidelines on properly enqueueing all scripts and styles (namely via wp_add_inline_script/style) so that they can later be dequeued and so on.

    Would love to see this option added to the plugin especially since it’s a core functionality (although not very popular, but sometimes you don’t need whole files for a few lines of dynamically generated JS/CSS).

    Thanks again for your time, looking forward to see this in your awesome plugin!

    PS: Btw, just for reference, tested with a few other plugins:

    WP Better Minify – doesn’t include inline JS/CSS.
    Autoptimize – includes them.

    +1

Viewing 4 replies - 1 through 4 (of 4 total)