Make this a child theme of hitchcock
This commit is contained in:
commit
97301c1ef7
2 changed files with 29 additions and 0 deletions
17
functions.php
Normal file
17
functions.php
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
add_action( 'wp_enqueue_scripts', 'td_theme_styles' );
|
||||
function td_theme_styles() {
|
||||
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
|
||||
}
|
||||
|
||||
// Add google API key
|
||||
function my_acf_google_map_api( $api ){
|
||||
|
||||
$api['key'] = 'AIzaSyDHNT102YHu-TP50F78bPyvf5ia6K6cjU8';
|
||||
|
||||
return $api;
|
||||
|
||||
}
|
||||
|
||||
add_filter('acf/fields/google_map/api', 'my_acf_google_map_api');
|
||||
12
style.css
Normal file
12
style.css
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
Theme Name: A Travel Blog
|
||||
Theme URI: https://travel.ankenbrand.me
|
||||
Description: A travel blog theme, a child of Hitchcock
|
||||
Author: Markus Ankenbrand
|
||||
Author URI: https://iimog.org
|
||||
Template: hitchcock
|
||||
Version: 1.0.0
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Text Domain: atravelblog
|
||||
*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue