Changeset 11164 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-patterns/header.php
- Timestamp:
- 07/30/2021 03:52:36 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-patterns/header.php
r11159 r11164 33 33 <p class="site-description"><?php esc_html_e( 'Add a beautifully designed, ready to go layout to any WordPress site with a simple copy/paste.', 'wporg-patterns' ); ?></p> 34 34 <?php get_search_form(); ?> 35 <a class="site-link" href="<?php echo esc_url( home_url( '/favorites' ) ); ?>"><?php esc_html_e( 'Favorites', 'wporg-patterns' ); ?></a> 35 36 <?php if ( is_user_logged_in() ) : ?> 37 <a class="site-link" href="<?php echo esc_url( home_url( '/favorites' ) ); ?>"><?php esc_html_e( 'Favorites', 'wporg-patterns' ); ?></a> 38 <?php else : ?> 39 <a class="site-link" href="<?php echo esc_url( wp_login_url() ); ?>"><?php esc_html_e( 'Log in to collect your favorites', 'wporg-patterns' ); ?></a> 40 <?php endif; ?> 36 41 </div> 37 42 <?php else : ?>
Note: See TracChangeset
for help on using the changeset viewer.