Use stylesheet_directory_uri to use child theme instead of parent
This commit is contained in:
parent
c711de9201
commit
c5d61afca0
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@
|
|||
}
|
||||
}
|
||||
endwhile;
|
||||
wp_enqueue_script('page_pins_map', get_template_directory_uri() . '/js/page-pins-map.js', array('jquery'));
|
||||
wp_enqueue_script('page_pins_map', get_stylesheet_directory_uri() . '/js/page-pins-map.js', array('jquery'));
|
||||
wp_localize_script('page_pins_map', 'page_pins_map', array('places' => $locations, 'traveler' => $traveler));
|
||||
?>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue