Use build tooling to compile the RTL CSS

This commit is contained in:
Ismail El Korchi 2020-04-11 22:23:54 +01:00
parent 55fafb9558
commit 504be8d669
4 changed files with 1022 additions and 42 deletions

View file

@ -142,6 +142,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 );