Bondye
Forum Replies Created
-
Forum: Reviews
In reply to: [Captcha] Very unsecure!!!Hi,
I don’t use this plugin anymore since it didn’t work for me.
So it is not on a live site.The problem occurred when using the register form on front end using Woocommerce.
I think also on wp_login_form().
Hope you find the problem.
The problem is still there.
Using “Load CSS asynchronously” my custom script is loaded first. Even when I using $deph
wp_enqueue_style('custom', get_stylesheet_uri(), array('bootstrap'));I don’t know what you mean by checked my custom css.
This is what I have:
function enqueue_scripts() {
wp_enqueue_style(‘bootstrap’, ‘http://maxcdn.bootstrapcdn.com/bootswatch/3.2.0/flatly/bootstrap.min.css’);
wp_enqueue_style(‘custom’, get_stylesheet_uri(), array(‘bootstrap’));
}
add_action(‘wp_enqueue_scripts’, ‘enqueue_scripts’);Result:
<link rel=’stylesheet’ id=’bootstrap-css’ href=’http://maxcdn.bootstrapcdn.com/bootswatch/3.2.0/flatly/bootstrap.min.css’ type=’text/css’ media=’all’ />
<link rel=’stylesheet’ id=’custom-css’ href=’http://localhost/wp-content/themes/mytheme/style.css’ type=’text/css’ media=’all’ />When “Load CSS asynchronously” enabled:
<style type=”text/css” media=”all”></style><style type=”text/css” media=”all”>[my css]</style><link rel=”stylesheet” href=”http://maxcdn.bootstrapcdn.com/bootswatch/3.2.0/flatly/bootstrap.min.css” type=”text/css” media=”all” />