Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- A. At the top of each of those 16 template files I linked to above, replace
- <?php get_header( 'buddypress' ); ?>
- <?php do_action( '//DIFFERENT HOOKS' ); ?>
- <div id="content">
- <div class="padder">
- with
- <?php
- global $options;
- foreach ($options as $value) {
- if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
- }
- ?>
- <?php get_header(); ?>
- <div class="wrapper">
- <div id="frame">
- <div id="logo"><a href="http://www.comicbooktherapy.com/"><img class="alignleft" src="http://www.comicbooktherapy.com/wp-content/uploads/2011/12/cbtlogotransptelegraph1.png" alt="Comic Book Therapy" width="630" height="250" /></a></div>
- <?php if (function_exists('dfrads')) { echo dfrads('8124757'); } ?>
- <div id="content" class="page">
- <div id="main">
- <div class="box boxSingle">
- <div class="title blue">
- <?php echo '<h2>'; wpzoom_breadcrumbs(); echo'</h2>'; ?>
- </div>
- <div class="single singleFull">
- B. At the bottom of the same 16 files, replace:
- </div><!-- .padder -->
- </div><!-- #content -->
- <?php do_action( 'bp_after_directory_blogs_page' ); ?>
- <?php get_sidebar( 'buddypress' ); ?>
- <?php get_footer( 'buddypress' ); ?>
- with the following (except for registration/register.php):
- <div class="cleaner"> </div>
- </div><!-- end .single -->
- <div class="cleaner"> </div>
- </div><!-- end .box -->
- <div class="cleaner"> </div>
- </div><!-- end #main -->
- <div id="sidebar">
- <?php get_sidebar(); ?>
- </div><!-- end #sidebar -->
- <div class="cleaner"> </div>
- </div><!-- end #content -->
- <?php if (function_exists('dfrads')) { echo dfrads('1967514'); } ?>
- <?php get_footer(); ?>
- with the following for registration/register.php:
- <div class="cleaner"> </div>
- </div><!-- end .single -->
- <div class="cleaner"> </div>
- </div><!-- end .box -->
- <div class="cleaner"> </div>
- </div><!-- end #main -->
- <div id="sidebar">
- <?php get_sidebar(); ?>
- </div><!-- end #sidebar -->
- <script type="text/javascript">
- jQuery(document).ready( function() {
- if ( jQuery('div#blog-details').length && !jQuery('div#blog-details').hasClass('show') )
- jQuery('div#blog-details').toggle();
- jQuery( 'input#signup_with_blog' ).click( function() {
- jQuery('div#blog-details').fadeOut().toggle();
- });
- });
- </script>
- <div class="cleaner"> </div>
- </div><!-- end #content -->
- <?php if (function_exists('dfrads')) { echo dfrads('1967514'); } ?>
- <?php get_footer(); ?>
- C. Save files. Upload 6 BP folders with revised files to your server wp-content/themes/telegraph/
- D. You might also want to check out the style modifications made in BP Twenty Ten for reference. http://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement