Tag: styles

  • Including scripts and styles properly

    Since this has been a discussed topic over support forums and IRC this week, a very quick scripts and style guide for WordPress. The function for including a stylesheet is wp_enqueue_style: wp_enqueue_style( $handle, $src, $deps, $ver, $media ); You can define the handle for the style (as a reference for other styles later), the location,…