Title: Question on php file Setup
Last modified: August 20, 2016

---

# Question on php file Setup

 *  [hadleykia](https://wordpress.org/support/users/hadleykia/)
 * (@hadleykia)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/question-on-php-file-setup/)
 * Hey There,
 * I am a bit confused with how to do the third step of the instructions. First 
   you say to go to page.php, so I get that part, here’s what’s there:
 *     ```
       <?php include (TEMPLATEPATH . '/header2.php'); ?>
   
       <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
   
       <h1 class="entry-title"><?php the_title(); ?></h1>
       <div class="title_box_shadow"></div>
       <?php endwhile; // end of the loop. ?>
       <div id="container">
       <div id="content_full" >
   
       <div id="post-thumbnail">
       <?php the_post_thumbnail('medium') ;?>
       <?php echo get_post(get_post_thumbnail_id())->post_excerpt; ?>
       </div>
       <?php get_template_part( 'loop', 'page' ); ?>
       </div><!-- #content -->
       <div id="content_box_shadow"></div>
       </div><!-- #container -->
   
       <?php
       if (get_option_tree('footer_slide', '')) {get_footer();}
       else {include (TEMPLATEPATH . '/footer2.php'); }
       ?>
       ```
   
 * And then next, you have all those PHP files that need to be modified according
   to this file. However, I’m really unsure what I’m supposed to change in those
   files (example, the /activity/index.php file). When I visit the activity page,
   the stuff is off-center, so I’m pretty sure that I do need to modify some things
   to make BuddyPress compatible. Was hoping someone could clue me in? Sorry for
   being a newb at PHP. 🙁 haha
 * Thanks!,
 * Hadley

Viewing 1 replies (of 1 total)

 *  [@mercime](https://wordpress.org/support/users/mercime/)
 * (@mercime)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/question-on-php-file-setup/#post-2249399)
 * BP Codex is your friend:
    – [http://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/#pe-edit-bar](http://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/#pe-edit-bar)–
   [http://codex.buddypress.org/theme-development/bp-template-pack-walkthrough-level-easy-2/](http://codex.buddypress.org/theme-development/bp-template-pack-walkthrough-level-easy-2/)
 * Should you require further assistance, please post at [http://buddypress.org/support/topics/](http://buddypress.org/support/topics/)
 * Off-topic: Header and Footer files should be included securely via
    [http://codex.wordpress.org/Function_Reference/get_header](http://codex.wordpress.org/Function_Reference/get_header)
   [http://codex.wordpress.org/Function_Reference/get_footer](http://codex.wordpress.org/Function_Reference/get_footer)

Viewing 1 replies (of 1 total)

The topic ‘Question on php file Setup’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/bp-template-pack.svg)
 * [BuddyPress Template Pack](https://wordpress.org/plugins/bp-template-pack/)
 * [Support Threads](https://wordpress.org/support/plugin/bp-template-pack/)
 * [Active Topics](https://wordpress.org/support/plugin/bp-template-pack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bp-template-pack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bp-template-pack/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [@mercime](https://wordpress.org/support/users/mercime/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/question-on-php-file-setup/#post-2249399)
 * Status: not resolved