Skip to content

Commit

Permalink
Add the privacy policy link
Browse files Browse the repository at this point in the history
Closes wprig#210.
  • Loading branch information
benoitchantre committed Dec 18, 2018
1 parent e420b43 commit a86cfb4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,12 @@
</a>
<span class="sep"> | </span>
<?php
/* translators: 1: Theme name, 2: Theme author. */
printf( esc_html__( 'Theme: %1$s by %2$s.', 'wp-rig' ), '<a href="' . esc_url( 'https://github.com/wprig/wprig/' ) . '">WP Rig</a>', 'the contributors' );
/* translators: 1: Theme name, 2: Theme author. */
printf( esc_html__( 'Theme: %1$s by %2$s.', 'wp-rig' ), '<a href="' . esc_url( 'https://github.com/wprig/wprig/' ) . '">WP Rig</a>', 'the contributors' );

if ( function_exists( 'the_privacy_policy_link' ) ) {
the_privacy_policy_link( '<span class="sep"> | </span>', '' );
}
?>
</div><!-- .site-info -->
</footer><!-- #colophon -->
Expand Down

0 comments on commit a86cfb4

Please sign in to comment.