Changeset 10356
- Timestamp:
- 10/07/2020 06:22:17 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/handbook.php
r10274 r10356 112 112 * 113 113 * * Adds 'single-handbook' class for any handbook page. 114 * * Adds 'post-type-archive-handbook' for any handbook archive page. 114 115 * * Adds 'handbook-landing-page' class for page acting as a handbook landing 115 116 * page. … … 121 122 if ( is_singular() && wporg_is_handbook( $this->post_type ) ) { 122 123 $classes[] = 'single-handbook'; 124 } 125 126 if ( is_archive() && wporg_is_handbook( $this->post_type ) ) { 127 $classes[] = 'post-type-archive-handbook'; 123 128 } 124 129
Note: See TracChangeset
for help on using the changeset viewer.