Making WordPress.org


Ignore:
Timestamp:
04/25/2018 06:13:26 PM (7 years ago)
Author:
iandunn
Message:

WordCamp Themes: Add Privacy Policy links to the footer.

This helps to ensure consistency with Core themes, and compliance with the GDPR.

See #wp43715.
See #wp43620.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/functions.php

    r6666 r7164  
    344344            <li class="menu-item menu-item-type-custom menu-item-object-custom"><a href="<?php echo esc_url( get_feed_link() ); ?>">RSS (posts)</a></li>
    345345            <li class="menu-item menu-item-type-custom menu-item-object-custom"><a href="<?php echo esc_url( get_post_type_archive_feed_link( 'wordcamp' ) ); ?>">RSS (WordCamps)</a></li>
    346             <li class="menu-item menu-item-type-custom menu-item-object-custom"><a href="https://wordpress.org/about/privacy/">Privacy Policy</a></li>
     346            <li class="menu-item menu-item-type-custom menu-item-object-custom">
     347                <?php function_exists( 'the_privacy_policy_link' ) && the_privacy_policy_link( '<span class="privacy-policy-link-wrapper">', '</span>' ); ?>
     348            </li>
    347349
    348350            <?php
Note: See TracChangeset for help on using the changeset viewer.