Making WordPress.org

Changeset 14400


Ignore:
Timestamp:
02/27/2025 05:56:15 PM (4 months ago)
Author:
johnjamesjacoby
Message:

bbPress.org: theme tweaks

Remove book from front & 404 pages.

See: https://buddypress.trac.wordpress.org/ticket/9262

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/buddypress.org/public_html/wp-content/themes/bbpress-org/sidebar.php

    r14284 r14400  
    11</div>
     2
     3<?php
     4
     5// Skip on front & 404
     6if ( is_front_page() || is_404() ) :
     7    return;
     8endif;
     9
     10?>
     11
    212<div class="sidebar">
    313
     
    92102        <?php endif; ?>
    93103
    94     <?php elseif ( is_front_page() || is_404() ) : ?>
    95 
    96         <div>
    97             <h2><?php _e( 'bbPress Complete', 'bbporg' ); ?></h2>
    98             <p><a href="https://www.packtpub.com/web-development/bbpress-complete"><img width="225" alt="<?php esc_attr_e( 'bbPress Complete', 'bbporg' ); ?>" src="<?php echo get_stylesheet_directory_uri(); ?>/images/bbpress-packt.jpg"/></a></p>
    99             <p class="book-description"><?php _e( 'A step-by-step guide to creating, managing, and growing a community around your WordPress website.', 'bbporg' ); ?></p>
    100         </div>
    101 
    102104    <?php elseif ( is_page( array( 'plugins', 116247 ) ) ) : ?>
    103105
Note: See TracChangeset for help on using the changeset viewer.