Skip to content

Commit

Permalink
Photo Directory: Add 'Random' link to the menubar.
Browse files Browse the repository at this point in the history
See #7500.


git-svn-id: https://meta.svn.wordpress.org/sites/trunk@13258 74240141-8908-4e6f-9713-ba540dce6ec7
  • Loading branch information
coffee2code committed Mar 1, 2024
1 parent 014f12c commit 26128cb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
'/guidelines/' => __( 'Guidelines', 'wporg-photos' ),
'/faq/' => __( 'FAQ', 'wporg-photos' ),
'/license/' => __( 'License', 'wporg-photos' ),
'/random/' => __( 'Random', 'wporg-photos' ),
);

if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) {
Expand All @@ -34,6 +35,7 @@
<header id="masthead" class="site-header <?php echo $show_full_header ? 'home' : ''; ?>" role="banner">
<div class="site-branding">
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php echo esc_html_x( 'Photos', 'Site title', 'wporg-photos' ); ?></a></h1>

<?php if ( $show_full_header ) : ?>
<p class="site-description">
<?php
Expand Down

0 comments on commit 26128cb

Please sign in to comment.