Merge pull request #18 from Rumperuu/feature/footer

Add footer links, honour DNT
This commit is contained in:
Ben Goldsworthy 2021-01-21 12:23:51 +00:00 committed by GitHub
commit 0b577b9caf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View file

@ -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.

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_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' );