Child theme – enqueue

Hi guys,

I’m an idiot and can’t figure this out for some reason (it’s been a while working on child themes).

Here is the code to functions.php in our staging site child theme:


<?php

function my_theme_enqueue_styles() {

wp_register_style( ‘parent_style’, get_template_directory_uri() .’/style.css’, array(), null, ‘all’ );

wp_register_style( ‘parent_style_main’, get_template_directory_uri() .’/css/main.css’, array(), null, ‘all’ );

wp_enqueue_style( ‘parent_style’ );

wp_enqueue_style( ‘parent_style_main’:wink:;

}

add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ );

?>


We just can’t get the headers, menus, etc. to style correctly even after we re-save all options, titles, headers, menus, etc.

Can you please help? We just need to create a child theme footer.php file (to troubleshoot google maps API).

Thanks so much,

Derek