Advertisement
Guest User

Untitled

a guest
Feb 18th, 2012
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.93 KB | None | 0 0
  1. A. At the top of each of those 16 template files I linked to above, replace
  2.  
  3. <?php get_header( 'buddypress' ); ?>
  4. <?php do_action( '//DIFFERENT HOOKS' ); ?>
  5. <div id="content">
  6. <div class="padder">
  7.  
  8. with
  9.  
  10. <?php
  11. global $options;
  12. foreach ($options as $value) {
  13. if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
  14. }
  15. ?>
  16. <?php get_header(); ?>
  17. <div class="wrapper">
  18. <div id="frame">
  19. <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>
  20. <?php if (function_exists('dfrads')) { echo dfrads('8124757'); } ?>
  21. <div id="content" class="page">
  22. <div id="main">
  23. <div class="box boxSingle">
  24. <div class="title blue">
  25. <?php echo '<h2>'; wpzoom_breadcrumbs(); echo'</h2>'; ?>
  26. </div>
  27. <div class="single singleFull">
  28.  
  29. B. At the bottom of the same 16 files, replace:
  30.  
  31. </div><!-- .padder -->
  32. </div><!-- #content -->
  33. <?php do_action( 'bp_after_directory_blogs_page' ); ?>
  34. <?php get_sidebar( 'buddypress' ); ?>
  35. <?php get_footer( 'buddypress' ); ?>
  36.  
  37. with the following (except for registration/register.php):
  38.  
  39. <div class="cleaner">&nbsp;</div>
  40. </div><!-- end .single -->
  41. <div class="cleaner">&nbsp;</div>
  42. </div><!-- end .box -->
  43. <div class="cleaner">&nbsp;</div>
  44. </div><!-- end #main -->
  45. <div id="sidebar">
  46. <?php get_sidebar(); ?>
  47. </div><!-- end #sidebar -->
  48. <div class="cleaner">&nbsp;</div>
  49. </div><!-- end #content -->
  50. <?php if (function_exists('dfrads')) { echo dfrads('1967514'); } ?>
  51. <?php get_footer(); ?>
  52.  
  53. with the following for registration/register.php:
  54.  
  55. <div class="cleaner">&nbsp;</div>
  56. </div><!-- end .single -->
  57. <div class="cleaner">&nbsp;</div>
  58. </div><!-- end .box -->
  59. <div class="cleaner">&nbsp;</div>
  60. </div><!-- end #main -->
  61. <div id="sidebar">
  62. <?php get_sidebar(); ?>
  63. </div><!-- end #sidebar -->
  64. <script type="text/javascript">
  65. jQuery(document).ready( function() {
  66. if ( jQuery('div#blog-details').length && !jQuery('div#blog-details').hasClass('show') )
  67. jQuery('div#blog-details').toggle();
  68. jQuery( 'input#signup_with_blog' ).click( function() {
  69. jQuery('div#blog-details').fadeOut().toggle();
  70. });
  71. });
  72. </script>
  73. <div class="cleaner">&nbsp;</div>
  74. </div><!-- end #content -->
  75. <?php if (function_exists('dfrads')) { echo dfrads('1967514'); } ?>
  76. <?php get_footer(); ?>
  77.  
  78. C. Save files. Upload 6 BP folders with revised files to your server wp-content/themes/telegraph/
  79.  
  80. 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