hey please include style sheet like this
<?php
add_action( 'wp_enqueue_scripts', 'enqueue_parent_theme_style' );
function enqueue_parent_theme_style() {
wp_enqueue_style( 'parent-style', get_stylesheet_uri() );
}
and also stylesheet not require to load jQuery so please change your code to like this
if ( ! function_exists( 'add_additional_css' ) ) {
function add_additional_css() {
wp_enqueue_style( 'webmarket-child', get_stylesheet_uri() , array( 'main' ) );
wp_register_style( 'slick', get_stylesheet_directory_uri() . '/slick/slick.css');
wp_enqueue_style('slick');
}
add_action( 'wp_enqueue_scripts', 'add_additional_css', 20 )
I think it will work fine.
Related Posts:
- Why does using wp_register_style without wp_enqueue load and print CSS tags in the front-end?
- How to create my own style.css file in an wordpress child-theme
- Issues enqueueing parent & child theme stylesheets with revised Codex method
- Why is the Child Theme Stylesheet Not Loading?
- Give priority to child theme stylesheet
- Get parent theme version
- How to use parent theme’s enqueue methods
- How to maintain wp_enqueue_style dependencies set in parent theme style enqueuing
- Enqueue styles properly in a child theme and stylesheets location
- Style.css in child theme is loaded before Bootstrap
- How are updates to the style.css file in child theme recognized?
- How do I set up a child-theme without using @import
- Find a Parent Theme’s stylesheet $handle when it registers a stylesheet
- Dequeue only stylesheets but not inline style added using wp_add_inline_style
- Enqueue stylesheets if parent theme has more than one .css file
- ERROR MESSAGE: Missing index.php—Child Theme
- Priority loading file css in child theme
- Is my child theme working properly
- Child theme style repeated
- Child theme style.css versioning
- How to NOT call Font Awesome or font icons in WordPress
- @font-face broken in child theme
- Prevent a base themes css file from loading
- WordPress Child theme’s css not loading
- Confused about how to use wp_enqueue_style
- Child style loads before all parent styles
- How can I get this child theme stylesheet to properly load? Or if it is correct, why doesn’t my child theme appearance match the parent?
- How to make child theme in wordpress with wp_enqueue_style ? Using Enough Theme
- Can only override parent theme styling with ‘!important’ in child style.css
- Remove Stylesheet by URL that has not been enqueued
- How to enqueue multiple style sheets into my child theme in wordpress (oceanwp)
- how to fix loading scripts in child theme?
- Modify arguments for parent theme’s `wp_register_style` via child theme
- Can’t disable child theme style
- Where is the right place to register/enqueue scripts & styles
- How to override JavaScript files in child theme?
- How do I dequeue a parent theme’s CSS file?
- Check if a script/style was enqueued/registered
- Versioning @import of parent theme’s style.css
- How to add code to Header.php in a child theme?
- Why wp_register_style() is important while I’m using a complete wp_enqueue_style()? [duplicate]
- Why does my child theme CSS get called twice?
- How do themes provide support for child themes?
- Attributing a version number to a child theme’s main stylesheet
- Preserving theme settings in child theme
- Is it possible to make grandchild themes?
- how do I queue my Child stylesheet/s *after* every Parent stylesheet/statement?
- How to cache bust a child theme style.css
- Why is style.css not being enqueued?
- How to enqueue style before style.css
- Is a text-domain necessary for a child theme
- How to modify single.php in a child theme?
- Cannot get Child Theme to load latest version of style.css
- @package & @subpackage: how to use with child themes
- How to override function in child theme
- Hiding Parent Theme
- Load js/css files only on specific admin UI pages
- get_stylesheet_directory() vs get_template_directory() for child theme
- Theme Customization API and child themes
- Avoid to load default WP styles in login screen
- How to dequeue / deregister any theme styles and scripts
- get_parent_theme_file_path vs. get_template_directory
- Git vs Child Theme
- Child theme does not overwrite parent themes style.css
- how to call files in child theme?
- Get Parent Theme Author Name
- Optimal approach for replacing the 8 header images in a child theme?
- How to transfer changes to a child theme?
- WordPress master + child themes + Git workflow
- How do I override a parent theme’s language files with a child theme?
- something like is_childtheme()
- Do all files in child theme override the parent?
- Child theme showing a blank page
- Child theme preview missing
- Child Theme Performance
- How could child theme be different than parent theme if I haven’t made changes?
- How to solve “Warning: Use of undefined constant” when overriding a parent theme function in the child theme?
- Do I need to update the child theme too after updating the parent?
- get_template_directory vs get_stylesheet_directory
- Theme customizer: How do you grab the value later?
- Developing a childtheme, how to disable the parents templates?
- Under heavy cache conditions, updating the parent theme don’t reflect changes with child theme enabled
- Child Theme, Functions.php Issues
- Redefining function in child themes
- How do I check for child theme files first using include, before going to parent theme?
- How can you change default color scheme in a Twenty Fifteen child theme?
- Use admin options from parent theme in child theme
- When activating a child theme, what core settings have to be reset ie; Custom Menus etc?
- Hwo to turn off “get_parent_theme_file_path” in child-theme?
- How Can I Use A Child Theme Effectively When Parent’s CSS Is Located in a ‘CSS folder’?
- How to dequeue / deregister parent theme style
- Overriding parent theme file
- How to “remove” file from parent theme
- How to override the Parent theme Function into child themes functions.php
- I created a child theme and it doesn’t work for some of the css files
- How can I make new .css file in child theme override styles in child theme’s style.css
- Disable child theme css on certain pages
- Enqueue more than two CSS styles in a child theme functions.php
- Child Theme Not Overriding Parent Theme
- Proper way to make a tweaked theme into child-theme setting?