-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfunctions.php
32 lines (25 loc) · 932 Bytes
/
functions.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
/**
* Created by PhpStorm.
* User: ryagudin
* Date: 3/24/15
* Time: 6:04 PM
*/
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array('parent-style')
);
}
/**
* Appends
* @param $nav_output
* @return string
*/
function append_html_post_nav( $nav_output ){
$html = '<div style="margin-left: 10px; float: left; font-size: 15px;"><a href="https://www.google.com/maps/place/39%C2%B053\'00.7%22N+104%C2%B059\'50.4%22W/@39.8841324,-104.997564,18z/data=!4m2!3m1!1s0x0:0x0?hl=en-US">920 W 104th Ave, Northglenn CO</a> | <a href="tel:303-379-9526">303.379.9526</a></div>';
return $nav_output . $html;
}
add_filter('wmhook_wm_navigation_output', 'append_html_post_nav', 10, 1 );