Add footer links, honour DNT
This commit is contained in:
parent
a730fd73ee
commit
41bb3e7ddb
2 changed files with 7 additions and 2 deletions
|
@ -2,11 +2,13 @@
|
||||||
/**
|
/**
|
||||||
* The template for displaying the footer
|
* The template for displaying the footer
|
||||||
*
|
*
|
||||||
* @package WordPress
|
* @package Omphaloskepsis
|
||||||
* @subpackage Omphaloskepsis
|
|
||||||
* @since Omphaloskepsis 1.0
|
* @since Omphaloskepsis 1.0
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
|
<footer id="site-footer" class="show">
|
||||||
|
<p>By <a href="/">Ben</a> | <a href="https://github.com/Rumperuu/Omphaloskepsis/issues" target="_blank" rel="noopener noreferrer">Theme Issues</a> | <a href="/privacy-policy">Privacy Policy</a></p>
|
||||||
|
</footer>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
// Displays and hides the top header bar on page scroll.
|
// Displays and hides the top header bar on page scroll.
|
||||||
|
|
|
@ -723,3 +723,6 @@ remove_filter( 'pre_term_description', 'wp_filter_kses' );
|
||||||
remove_filter( 'pre_link_description', 'wp_filter_kses' );
|
remove_filter( 'pre_link_description', 'wp_filter_kses' );
|
||||||
remove_filter( 'pre_link_notes', 'wp_filter_kses' );
|
remove_filter( 'pre_link_notes', 'wp_filter_kses' );
|
||||||
remove_filter( 'term_description', 'wp_kses_data' );
|
remove_filter( 'term_description', 'wp_kses_data' );
|
||||||
|
|
||||||
|
// honour user DNT header
|
||||||
|
add_filter( 'jetpack_honor_dnt_header_for_stats', '__return_true' );
|
||||||
|
|
Reference in a new issue