Animate.CSS with a child theme

The example in the page you linked uses get_template_directory_uri(), which will only give you the parent theme URI. If you want to target something in a child theme, you have to swap that for get_stylesheet_directory_uri(), which will give you the child theme URI, in the event a child theme is being used.

Which files can be replaced in a child theme?

For ie.css specifically, the issue is that it is included via get_template_directory_uri(), which will output the parent theme directory when a child theme is being used. The solution is to add an action hooked to wp_enqueue_scripts with a lower priority, dequeue the stylesheet, then re-enqueue it using get_stylesheet_directory_uri(), which will load it from the child … Read more

dates under post titles — also showing up under Nav

Add an additional check for in_the_loop() to only affect titles being output within the main query’s loop: function add_dates_to_title_wpse106605($title, $id) { if ( is_home() && in_the_loop() ){ // <– added in_the_loop() $time = get_the_time( $d = ‘l, F j, Y’, $post = $id ); return $title . ‘<br><small class=”time”>’ . $time . ‘</small>’; } return … Read more