Skip to content

Commit

Permalink
Merge branch 'main' into custom_padding
Browse files Browse the repository at this point in the history
  • Loading branch information
MuluhGodson authored Nov 26, 2021
2 parents e04d24a + ab3605a commit 1b110ca
Show file tree
Hide file tree
Showing 15 changed files with 4 additions and 180 deletions.
3 changes: 0 additions & 3 deletions assets/css/styles.css

This file was deleted.

Binary file removed assets/images/choose_license.png
Binary file not shown.
1 change: 0 additions & 1 deletion assets/js/vocabulary.js

This file was deleted.

5 changes: 0 additions & 5 deletions front/.gitignore

This file was deleted.

2 changes: 0 additions & 2 deletions front/assets/css/styles.css

This file was deleted.

1 change: 0 additions & 1 deletion front/dist/js/bundle.js

This file was deleted.

38 changes: 0 additions & 38 deletions front/package.json

This file was deleted.

1 change: 0 additions & 1 deletion front/src/index.js

This file was deleted.

11 changes: 0 additions & 11 deletions front/src/styles/base.scss

This file was deleted.

1 change: 0 additions & 1 deletion front/src/styles/mixins.scss

This file was deleted.

69 changes: 0 additions & 69 deletions front/src/styles/modules.scss

This file was deleted.

9 changes: 0 additions & 9 deletions front/src/styles/styles.scss

This file was deleted.

1 change: 0 additions & 1 deletion front/src/styles/widgets.scss

This file was deleted.

33 changes: 0 additions & 33 deletions front/webpack.config.js

This file was deleted.

9 changes: 4 additions & 5 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,17 @@ public function add_global_menu($parent_menus) {
* */
public function actions_manager() {
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles' ) );
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
add_filter( 'cc_theme_base_menus', array( $this, 'add_global_menu') );
add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
}
public function enqueue_scripts() {
wp_enqueue_script( 'vocabulary', THEME_LOCAL_URI . '/assets/js/vocabulary.js', '', self::theme_ver, true );
}

public function admin_enqueue_scripts() {
wp_enqueue_script( 'custom-block-settings', THEME_LOCAL_URI . '/custom-block-settings.js', '', self::theme_ver, true );
}

public function enqueue_styles() {
wp_enqueue_style( 'cc_current_style', THEME_LOCAL_URI . '/assets/css/styles.css', self::theme_ver );
wp_enqueue_style( 'cc_current_style', THEME_LOCAL_URI . '/style.css', self::theme_ver );

}
}

Expand Down

0 comments on commit 1b110ca

Please sign in to comment.