Use: wp_enqueue_style( 'test', get_stylesheet_directory_uri() . '/css/test.css' );
instead of get_template_directory_uri();
Related Posts:
- Is my child theme working properly
- how to fix loading scripts in child theme?
- How to override JavaScript files in child theme?
- How do I dequeue a parent theme’s CSS file?
- 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
- How to dequeue / deregister parent theme style
- 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
- WP .js script file not loading
- Child theme style repeated
- wp_add_inline_script not adding when script_loader_tag filtered
- 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
- How to enqueue scripts in order of Head section
- Cannot dequeue script in child theme
- WordPress Child theme’s css not loading
- Confused about how to use wp_enqueue_style
- Child theme stylesheet not always overriding “index”
- Child style loads before all parent styles
- Enqueue custom css file on specific page
- javascript not being enqueued correctly
- 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
- wp_enqueue wont work on some files?
- Can only override parent theme styling with ‘!important’ in child style.css
- Can’t seem to get javascript code working from child theme
- Why does using wp_register_style without wp_enqueue load and print CSS tags in the front-end?
- Add custom css file after plugin css with WordPress Child Theme functions.php
- Child theme is not rendering parent and own javascripts (but css loaded properly, js not)
- Remove Stylesheet by URL that has not been enqueued
- How to enqueue multiple style sheets into my child theme in wordpress (oceanwp)
- Enqueuing multiple stylesheets with a child theme
- using a child theme, after enqueing my js file it is loading before jquery
- Why won’t my Custom CSS Load
- custom template – override plugin template in child theme – issue with scripts
- WordPress | enqueue_scripts in a child’s theme returns error
- How to create my own style.css file in an wordpress child-theme
- Conditionally Loading JavaScript/CSS for Shortcodes
- How to properly dequeue scripts and styles in child theme?
- Hiding Parent Theme
- how to call files in child theme?
- Child theme showing a blank page
- Child theme preview missing
- Dynamically Load Styles and Scripts from Theme Functions.php
- I created a child theme and it doesn’t work for some of the css files
- Enqueued scripts and styles loading in WordPress Dashboard as well
- Promoting child theme to stand alone
- iris color picker in widget – click event doesn’t fire when initially when widget is first created
- Activating child theme returns “active theme is broken”
- Can’t override footer.php in child theme
- Where is wp-content/themes folder?
- Enqueue Child CSS to Load After Bootstrap CDN
- How to remove a script that was queued up in the footer in a parent theme
- How to insert html/css/javascript code to wordpress plugin
- Different ways to load child theme css
- How to extend parent theme sections and settings to Options Tree
- How to force that styles are enqueued in the header?
- enqueue styles for only mobile wp
- Creating child-theme from other template files
- How to add conditionals for IE browsers between certain versions?
- Enqueuing scripts and styles in custom plugins
- Modular CSS and JS in Child Themes
- child theme – moved files from twentyeleven theme to child them, now not working
- Storefront theme : Add Categoy to recent products section
- enqueing Javascript and CSS
- design has been broken in WordPress child theme [closed]
- Theme JS is available but theme CSS isn’t
- Creating child theme out of Coeur
- Including Styles and JS files to work ON my plugin interface
- FullCalendar in WordPress is not working
- CSS stopped working after line 150 [closed]
- How do you load js and style resources from CDN with local fallback using wp_enqueue_scripts?
- use child theme for mobile version
- How to replace function in child theme?
- Change child theme after updating parent theme
- Including code from other themes in child themes
- How do I ensure I can loop through every enqueued script and CSS?
- Child Theme not loading multiple stylesheets
- I need to ‘wp_dequeue_script’ and ‘styles’ and ADD a bunch of other css and js
- How to override styles from child theme if all the styles are in a folder?
- creating a new child theme
- How to activate the child theme in WordPress?
- Selling a child-theme of twenty-thirteen is legal? [closed]
- How to only Load scripts on variable products page
- How to override a theme template file with a child theme template file (of the same name)
- Scripts don’t enqueue after removing plugin
- Child theme customizer preview doesn’t work/load
- theme.json should be in the child theme folder when using xxxx.json style located in the styles folder?