Merge pull request #1396 from Ismail-elkorchi/rtl-css

Use build tooling to compile the RTL CSS
This commit is contained in:
Ismail El Korchi 2020-04-13 20:27:00 +01:00 committed by GitHub
commit b04bcdcc1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 1022 additions and 42 deletions

View file

@ -144,6 +144,7 @@ add_action( 'widgets_init', '_s_widgets_init' );
*/
function _s_scripts() {
wp_enqueue_style( '_s-style', get_stylesheet_uri(), array(), _S_VERSION );
wp_style_add_data( '_s-style', 'rtl', 'replace' );
wp_enqueue_script( '_s-navigation', get_template_directory_uri() . '/js/navigation.js', array(), _S_VERSION, true );