I think you have typo in your code:
ors_enqueue_scripts should be wp_enqueue_scripts
add_action( 'wp_enqueue_scripts', 'enqueue_parent_theme_style' );
function enqueue_parent_theme_style()
{
wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
wp_enqueue_style( 'child-style', get_stylesheet_directory_uri().'/style.css' );
wp_enqueue_script('ors-animations', get_stylesheet_directory_uri().'/javascripts/animations.js', array( 'jquery' ));
}
Related Posts:
- How to override JavaScript files in child theme?
- Enqueue styles properly in a child theme and stylesheets location
- Is my child theme working properly
- WP .js script file not loading
- wp_add_inline_script not adding when script_loader_tag filtered
- How to enqueue scripts in order of Head section
- Cannot dequeue script in child theme
- wp_enqueue wont work on some files?
- Can’t seem to get javascript code working from child theme
- Child theme is not rendering parent and own javascripts (but css loaded properly, js not)
- Enqueuing multiple stylesheets with a child theme
- using a child theme, after enqueing my js file it is loading before jquery
- how to fix loading scripts in child theme?
- WordPress | enqueue_scripts in a child’s theme returns error
- How to modify single.php in a child theme?
- How to override function in child theme
- Theme Customization API and child themes
- Git vs Child Theme
- Give priority to child theme stylesheet
- Get Parent Theme Author Name
- Do I need to update the child theme too after updating the parent?
- Theme customizer: How do you grab the value later?
- How to maintain wp_enqueue_style dependencies set in parent theme style enqueuing
- How do I check for child theme files first using include, before going to parent theme?
- Use admin options from parent theme in child theme
- Child Theme – what is the scope of overwriting files?
- How to “remove” file from parent theme
- How to override the Parent theme Function into child themes functions.php
- Style.css in child theme is loaded before Bootstrap
- Overiding functions.php with child-theme
- Find a Parent Theme’s stylesheet $handle when it registers a stylesheet
- Enqueue stylesheets if parent theme has more than one .css file
- Website Broken on Activating Child Theme! [closed]
- Child theme implementation issues
- Add post dates from child theme and change font size on homepage post
- Child theme undefined variable error
- get_theme_mod is returning a number rather than my image file
- the file placed in the child theme is not included
- How to NOT call Font Awesome or font icons in WordPress
- @font-face broken in child theme
- Child theme grabbing wrong location fo parent theme files
- WordPress Child Theme PHP Code Change Issues
- Create child theme after costumizing the original
- WordPress Child theme’s css not loading
- Scratch theme needs to be a child theme, but for which parent? [closed]
- How to use custom stylesheet only for a template in child theme
- How to integrate my HTML and javascript into my child theme
- Creating a child theme from Twenty Seventeen
- How can I make this Advanced Custom Field Save & Store local json work?
- Changes to child theme are not visible on my site [closed]
- How to add anchor tag at the top of posts, past the header and nav bar?
- changing parent theme into child theme
- Is a Child Theme required?
- How to override parent theme template files?
- Using filter to override “get_parent_theme_file_path” in child-theme
- How change child theme’s boxed layout to fullwidth in genesis? [closed]
- styles from child theme not loaded for file other than style.css
- Multiple Child Themes
- Fatal error and use of undefined constant in child theme unless I redefine it
- wp_get_current_user() and is_user_logged_in() in child theme’s functions.php file don’t work
- Trouble translating a Child Theme
- Child Theme Customizer not working
- Child theme with flatsome theme crashes website
- How to make child theme in wordpress with wp_enqueue_style ? Using Enough Theme
- Customize file on inc folder on child theme
- Proper way to show admin bar in HTML5 Blank theme
- I want to edit it on my laptop as a child theme and transfer the files to my server. I don’t know how
- Adding function from parent theme to child theme
- Translated words not showing child theme
- How to create a non-responsive WordPress Theme Using Genesis Framework?
- Correct way to customise a child theme
- Stylesheet overriding in Child theme
- Modify Twentyeleven child theme CSS – How to change body font size?
- Get webpack to work on child theme
- Child theme stylesheet not reflecting the changes
- Best way to edit/change comment-template.php without changing the core
- How to stop customizer settings inheritance from parent to child theme?
- Making a child theme in order to update the parent theme
- change html and css in template files in child theme
- My wordpress site is crash due to excute child theme
- Why does my child theme’s enqueue of styles mess up the order of script enqueues from the main theme?
- Where can I edit/see the HTML of this WordPress free theme?
- menu, header and footer is not shown in the appearance after creating the child theme
- The parent theme is missing. Please install the “bp-default” parent theme
- Calling Category name without the link
- When I change some content in function of template-tags file in inc folder then its not working and show same as loke before
- Child Theme Issue – activated but does not show in preview
- Why won’t my Custom CSS Load
- How to configure folders with ‘Child Theme’?
- Remove HTML from search.php of my parent theme
- Prevent child theme from inheriting a parent theme’s required file
- Child theme only loads on home page
- Edit copyright in Hesita Child Theme
- Vague Errors from VIP Scanner Plugin
- How to create my own style.css file in an wordpress child-theme
- How to handle a large child theme
- 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?
- Is it possible to load a child theme from a remote server?