I’m really trying to understand this
“Alternatively, you may find it easier to make copies of your theme’s header.php, sidebar.php and footer.php and rename them to header-buddypress.php, sidebar-buddypress.php, and footer-buddypress.php.
Then you can alter the structure of these new template files (header-buddypress.php, sidebar-buddypress.php, and footer-buddypress.php) to resemble your theme’s page.php (or index.php).”
So I can make those new pages but then alter the structure of them to “resemble” your themes page.php file? I have my page.php too and see the html structure but these directions seem a bit vague to me on what needs to happen in the newly created files.
Are there any tutorials on this blog about integrating themes? I’m struggling to find any material on it. I’m hoping to resolve this today if anyone has some insight. Thanks
@jkrysto i’m not the greatest with the theme template pack conversion stuff (i prefer to start from scratch) but essentially what it’s asking you to do is make sure that if your page.php has a `
` then you need to include that div within the BuddyPress templates.
Theres a hands-on tutorial on integrating the TwentyTen theme with BuddyPress that might help: https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/
Thanks I’ll work through the tutorial. My page.php looks like this so I see a few
throughout. I’m guessing I would just add those to the BP template files.
`
<div class="post" id="post-“>
“alignleft post_thumbnail”)); } ?>
<?php the_content('
Read the rest of this page »
‘); ?>
‘
Pages: ‘, ‘after’ => ‘
‘, ‘next_or_number’ => ‘number’)); ?>
<?php edit_post_link('Edit this entry.', '
‘, ‘
‘); ?>
`
https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/#template-packed-wordpress-themes ( all done by @mercime , i think. )
It would have helped to know which ( parent ) theme you are using and ideally a link to it….
@aces Yes, did them all so far, but all are welcome to help out
@jkrysto what’s the name of your WP theme? Open up your theme’s header.php file, copy all, then paste code to pastebin.com, click submit, and post the generated URI here. Do the same for your theme’s index.php, page.php, sidebar.php and footer.php
@roguedjinni please start your own topic and post the generated pastebin uri’s there for good nettiquette