• 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 5 years, 4 months ago by Rookie.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support juniorninja

    (@mrkevinmiller)

    Hello @alriksson

    Actually, we don’t load the styles on all pages. Can you please give us some more information regarding this?
    if possible, please open a ticket on our own support system with some additional information https://wpmanageninja.com/support-tickets/.

    Thanks,
    Kevin Miller
    Support Manager
    Wpmanageninja Team

    Thread Starter Rookie

    (@alriksson)

    You don’t load style but you load queries since you have plenty of db tables that are set to auto_load yes

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.