And here’s functions.php:
<?php
/**
* Enqueues child theme stylesheet, loading first the parent theme stylesheet.
*/
function themify_custom_enqueue_child_theme_styles() {
wp_enqueue_style( 'parent-theme-css', get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style', get_stylesheet_uri(), array( 'theme-style' ) );
}
add_action( 'wp_enqueue_scripts', 'themify_custom_enqueue_child_theme_styles', 11 );
add_filter('tc_credits_display', 'my_custom_credits');
function my_custom_credits(){
return '
<div class="span4 credits">
<p></p> </div>';
}
add_filter('tc_content_title_tag' , 'my_title_tag');
function my_title_tag() {
return 'h3';
}
add_filter( 'tc_navbar_wrapper_class', 'rdc_navbar_wrapper_class' );
function rdc_navbar_wrapper_class() {
return array('navbar-wrapper', 'clearfix', 'span12');
}
add_action('wp_head','my_analytics',1,20);
function my_analytics() {
?>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-56805999-1', 'auto');
ga('send', 'pageview');
</script>
<?php
}
?>