Skip to main content
Tweeted twitter.com/#!/StackWordPress/status/538181443181375488
Changed spread-sheet to style-sheet.
Source Link

What I have:

A basic plugin that enqueues a spreadstyle-sheet and JavaScript file to modify the log-in forms. The logo, colour scheming and other styles are affected.

My problem:

As the /wp-login.php page loads, the default layout is presented for 1 to 2 seconds before my plugin kicks in and only then are the plugin's modifications are applied. Both the CSS and JavaScript are lagging therefore it's the plugin as a whole.

My question:

How can I enqueue my styles/scripts so that the plugin doesn't take 1-2 seconds apply (or how can I simply force my plugin in general to apply instantaneously)?

What I have:

A basic plugin that enqueues a spread-sheet and JavaScript file to modify the log-in forms. The logo, colour scheming and other styles are affected.

My problem:

As the /wp-login.php page loads, the default layout is presented for 1 to 2 seconds before my plugin kicks in and only then are the plugin's modifications are applied. Both the CSS and JavaScript are lagging therefore it's the plugin as a whole.

My question:

How can I enqueue my styles/scripts so that the plugin doesn't take 1-2 seconds apply (or how can I simply force my plugin in general to apply instantaneously)?

What I have:

A basic plugin that enqueues a style-sheet and JavaScript file to modify the log-in forms. The logo, colour scheming and other styles are affected.

My problem:

As the /wp-login.php page loads, the default layout is presented for 1 to 2 seconds before my plugin kicks in and only then are the plugin's modifications are applied. Both the CSS and JavaScript are lagging therefore it's the plugin as a whole.

My question:

How can I enqueue my styles/scripts so that the plugin doesn't take 1-2 seconds apply (or how can I simply force my plugin in general to apply instantaneously)?

Appended bracketed content to "My question:".
Source Link

What I have:

A basic plugin that enqueues a spread-sheet and JavaScript file to modify the log-in forms. The logo, colour scheming and other styles are affected.

My problem:

As the /wp-login.php page loads, the default layout is presented for 1 to 2 seconds before my plugin kicks in and only then are the plugin's modifications are applied. Both the CSS and JavaScript are lagging therefore it's the plugin as a whole.

My question:

How can I enqueue my styles/scripts so that the plugin doesn't take 1-2 seconds apply (or how can I simply force my plugin in general to apply instantaneously)?

What I have:

A basic plugin that enqueues a spread-sheet and JavaScript file to modify the log-in forms. The logo, colour scheming and other styles are affected.

My problem:

As the /wp-login.php page loads, the default layout is presented for 1 to 2 seconds before my plugin kicks in and only then are the plugin's modifications are applied. Both the CSS and JavaScript are lagging therefore it's the plugin as a whole.

My question:

How can I enqueue my styles/scripts so that the plugin doesn't take 1-2 seconds apply?

What I have:

A basic plugin that enqueues a spread-sheet and JavaScript file to modify the log-in forms. The logo, colour scheming and other styles are affected.

My problem:

As the /wp-login.php page loads, the default layout is presented for 1 to 2 seconds before my plugin kicks in and only then are the plugin's modifications are applied. Both the CSS and JavaScript are lagging therefore it's the plugin as a whole.

My question:

How can I enqueue my styles/scripts so that the plugin doesn't take 1-2 seconds apply (or how can I simply force my plugin in general to apply instantaneously)?

Source Link

Is there an earlier hook than login_head or login_enqueue_scripts?

What I have:

A basic plugin that enqueues a spread-sheet and JavaScript file to modify the log-in forms. The logo, colour scheming and other styles are affected.

My problem:

As the /wp-login.php page loads, the default layout is presented for 1 to 2 seconds before my plugin kicks in and only then are the plugin's modifications are applied. Both the CSS and JavaScript are lagging therefore it's the plugin as a whole.

My question:

How can I enqueue my styles/scripts so that the plugin doesn't take 1-2 seconds apply?