• Resolved Rookie

    (@alriksson)


    Do not load handle and style in wp admin if shortcode isn’t needed to be rendered or in use on this page.

    Setup which pages wp fluent forms is going to be used to only render on those pages. Or only render and register the style and scripts if shortcode is used on this page. Meaning render the style and js after the shortcode is inserted and saved.

    Speed up wp admin and don’t load things that does not need to be loaded.

    Header	fluent-form-styles	wp-content/plugins/fluentform/public/css/fluent-forms-public.css			3.1.0
    Header	fluentform-public-default  	wp-content/plugins/fluentform/public/css/fluentform-public-default.css
    
    /wp-content/plugins/fluentform/public/libs/selectWoo/select2.css?ver=5.3

    On pages where it is used serve minified css files.

    • This topic was modified 4 years, 12 months ago by Rookie.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Don’t load if not needed in wp admin.’ is closed to new replies.