/bp-themes/bp-default/404.php

  1. <?php get_header(); ?> 
  2.  
  3. <div id="content"> 
  4. <div class="padder one-column"> 
  5. <?php do_action( 'bp_before_404' ); ?> 
  6. <div id="post-0" class="post page-404 error404 not-found" role="main"> 
  7. <h2 class="posttitle"><?php _e( "Page not found", 'buddypress' ); ?></h2> 
  8.  
  9. <p><?php _e( "We're sorry, but we can't find the page that you're looking for. Perhaps searching will help.", 'buddypress' ); ?></p> 
  10. <?php get_search_form(); ?> 
  11.  
  12. <?php do_action( 'bp_404' ); ?> 
  13. </div> 
  14.  
  15. <?php do_action( 'bp_after_404' ); ?> 
  16. </div><!-- .padder --> 
  17. </div><!-- #content --> 
  18.  
  19. <?php get_footer(); ?> 
.