-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunctions.php
More file actions
24 lines (18 loc) · 845 Bytes
/
functions.php
File metadata and controls
24 lines (18 loc) · 845 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
function load_fonts() {
wp_register_style('googleFonts', '//fonts.googleapis.com/css?family=Roboto');
wp_enqueue_style('googleFonts');
}
add_action('wp_print_styles', 'load_fonts');
function spacious_footer_copyright () {
return;
}
include_once get_template_directory() . '/../spacious/functions.php';
function hackspacious_site_link() {
return '<a href="' . esc_url( home_url( '/' ) ) . '" title="' . esc_attr( get_bloginfo( 'name', 'display' ) ) . '" ><span>' . get_bloginfo( 'name', 'display' ) . '</span></a>';
}
function hackspacious_footer_copyright() {
$footer = '<div class="copyright">' . __('Copyright © ', 'spacious') . date('Y') . ' ' . hackspacious_site_link() . '.</div>';
echo $footer;
}
add_action( 'spacious_footer_copyright', 'hackspacious_footer_copyright', 10 );