Making WordPress.org

Changeset 3710


Ignore:
Timestamp:
07/22/2016 05:36:52 PM (9 years ago)
Author:
coffee2code
Message:

W.org P2 child theme: Don't show the handbook name header when there's only the one handbook.

See #1825.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/single-handbook.php

    r3488 r3710  
    88<?php get_header(); ?>
    99
     10<?php if ( 'handbook' !== wporg_get_current_handbook() ) { ?>
    1011<div class="handbook-name"><span><a href="<?php echo esc_url( get_post_type_archive_link( wporg_get_current_handbook() ) ); ?>"><?php echo esc_html( wporg_get_current_handbook_name() ); ?></a></span></div>
     12<?php } ?>
    1113
    1214<!-- Also called on in footer but will not display the second time. -->
Note: See TracChangeset for help on using the changeset viewer.