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
- Why is style.css not being enqueued?
- Load js/css files only on specific admin UI pages
- Git vs Child Theme
- Do I need to update the child theme too after updating the parent?
- Theme customizer: How do you grab the value later?
- Use admin options from parent theme in child theme
- How to “remove” file from parent theme
- How to override the Parent theme Function into child themes functions.php
- Overiding functions.php with child-theme
- Register script/style: Is it possible to customize the version query string via plugin?
- Child theme implementation issues
- How can I override file featured-image-first.php of Avada theme [closed]
- Child theme undefined variable error
- wp_add_inline_script not adding when script_loader_tag filtered
- the file placed in the child theme is not included
- WP Customizer Fatal Error trying to load class in child theme
- Create child theme after costumizing the original
- How to enqueue scripts in order of Head section
- How to use custom stylesheet only for a template in child theme
- Will the use of a child theme create problems with commercial parent theme’s options?
- Creating a child theme from Twenty Seventeen
- Which header is served
- Child theme .css files are not overriding their parent .css files
- How can I make this Advanced Custom Field Save & Store local json work?
- Changes to child theme are not visible on my site [closed]
- why this media query is not working / not loading when I put it in child theme?
- How to add anchor tag at the top of posts, past the header and nav bar?
- changing parent theme into child theme
- filemtime(): stat failed warning within a child theme
- Moving from parent theme to child theme without losing configurations
- How to override parent theme template files?
- can the footer be included on a child theme
- Using filter to override “get_parent_theme_file_path” in child-theme
- Link featured image to post
- What are the best practices for maintaining and deploying several parent themes?
- How to make my shortcode load scripts and styles, from within the plugin?
- Apply function only if end of url has /amp/ [closed]
- I can’t add CSS with functions.php
- is it possible to add new template in theme twenty seventeen?
- Proper way to show admin bar in HTML5 Blank theme
- Dequeue, Unregister, Remove Action – Not Working on Plugin
- Change Twenty Twelve’s comment form in a child theme
- Stylesheet overriding in Child theme
- Two stylesheets acting on one element
- Is the front-page.php template reserved in wordpress twenty twelve theme?
- Referencing parent theme image from child theme
- Deregister a CSS file that comes with a plugin
- Modify Twentyeleven child theme CSS – How to change body font size?
- Can I place “parent theme” inside a child theme folder?
- How to customize BuddyBoss Theme page header
- Change templates in a child theme
- issue on creating child theme
- Child theme stylesheet not reflecting the changes
- How does a Genesis child theme understand that the Genesis theme is the parent theme?
- How to remove Google fonts from wp-admin (Roboto) added by core
- Loading my main.js file from my child theme
- Calling Category name without the link
- child theme showing all this extra information for following lines
- Is it possible to slow down site with a bulky child theme?
- child theme performance / avoid import and minify JS files
- How to configure folders with ‘Child Theme’?
- Child theme only loads on home page
- Edit copyright in Hesita Child Theme
- Vague Errors from VIP Scanner Plugin
- Can anyone help me with replace genesis post excerpt with yoast meta description and if there is no meta description show the excerpt?
- How to handle a large child theme
- Child theme css not loading when declared in parent functions