Add footer links, honour DNT

This commit is contained in:
Ben Goldsworthy 2021-01-21 12:22:41 +00:00
parent a730fd73ee
commit 41bb3e7ddb
2 changed files with 7 additions and 2 deletions

View File

@ -2,11 +2,13 @@
/**
* The template for displaying the footer
*
* @package WordPress
* @subpackage Omphaloskepsis
* @package Omphaloskepsis
* @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">
// Displays and hides the top header bar on page scroll.

View File

@ -723,3 +723,6 @@ remove_filter( 'pre_term_description', 'wp_filter_kses' );
remove_filter( 'pre_link_description', 'wp_filter_kses' );
remove_filter( 'pre_link_notes', 'wp_filter_kses' );
remove_filter( 'term_description', 'wp_kses_data' );
// honour user DNT header
add_filter( 'jetpack_honor_dnt_header_for_stats', '__return_true' );