wp_enqueue doesn’t load dependencies

You have to define the dependencies for either styles or scripts when you register them. Or, if you’re avoiding the registration completely, then it’s ok to stuff them into the queueing process. See more on the Codex page. wp_register_style( ‘reset’, get_template_directory_uri().’/reset.css’ ); wp_register_style( ‘style’, get_template_directory_uri().’/style.css’, array( ‘reset’ ) ); wp_enqueue_style( ‘style’ ); Also avoid single … Read more

Theme looks ugly – FOUC – stylesheets loaded in footer

Changing the position of wp_enqueue_style inside functions.php will make no difference at all. Scripts and styles are printed on a couple of hooks. Placement of the registration functions inside functions.php is not a factor. Your stylesheets are loading in the footer. Neither wp_enqueue_style nor wp_register_style have an $in_footer parameter like wp_enqueue_script and wp_register-script. I have … Read more

Non english charcters support for WP Customer Reviews

This an encoding compatibility problem that occurs when there is a discrepancy between wordpress encoding configuration and the default system or server configuration. The plugin creates tables like so: $sql = “CREATE TABLE $this->dbtable ( …. Code …. reviewer_name varchar(150) DEFAULT NULL, …. More table fields Code .. )”; The DEFAULT keyword is the culprit … Read more