@kiddie Check if your premium theme has already been “template-packed” in these forums at https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/#template-packed-wordpress-themes
If yes, then follow instructions posted therein and post here if you have issues.
If not, let us know what the name of the theme is. Then open up your theme’s header.php, copy all, paste all at pastebin.com, click submit and post the generated pastebin URI here. Do the same for your theme’s index.php, page.php, sidebar.php and footer.php
Thanks for reply. Please see this.
name of theme is peekaboo by themeforrest.
header.php – http://pastebin.com/wuE3X5wq
index.php – http://pastebin.com/QJnkgeUv
page.php – http://pastebin.com/jU5n2e6f
sidebar.php – http://pastebin.com/AdLVw2f2
footer.php – http://pastebin.com/nj0n9YKi
Note :- Sorry, to give link again. I tried to give javascript and iframe. But not working.
@kiddie you forgot to add the pastebin.com URI’s for the respective files …
@mercime ,
Thanks.
Sorry, to give link again. I tried to give javascript and iframe. But not working .
@kiddie you have two options:
1) Create only 2 files – header-buddypress.php and sidebar-buddypress.php and upload to server
– only thing is, the title of the page won’t be shown as seen on demo but instead will be atop content area, on the same level as the Directions link in the right sidebar of the demo.
2) Revise 16 BuddyPress template files – and upload to server
– the title of the specific pages will show up just like in demo but you’d also have to update the BP template files when the BP Template Pack plugin is updated
Let me know.
@mercime
Wii you please tell me , what do you mean by point 2 ?
I just created 2 new blank files name ” header-buddypress.php and sidebar-buddypress.php ” and upload theme in my theme folder .
@kiddie To clarify, there are two methods for making the necessary template changes. to fix alignment see https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/#fixalignment
In your case, we can do either method and I added disclaimers above in #1 and #2 – re page title etc. You do not create 2 new blank files – I’ll give the code for those two files if that’s the option you want OR a different set of instructions if you opt for #2
@mercime
Thanks
I think option 2 is bigger but easier . Isn’t it ? Or option 1 is best ?
Ok, then, please give me full instruction for option 1 .
@kiddie Per option #1 discussed above, you only need to create two new files, header-buddypress.php and sidebar-buddypress.php
If you’ve revised any of the BP template files transferred to your peekaboo theme folder in server during the BP Compatibility process, please delete the 6 BP folders transferred to your peekaboo theme folder in server – activity, blogs, forums, members, groups, register – then re-run Appearance > BP Compatibility again to make sure that you have clean template files.
A. COPY your theme’s header.php and Save As > header-buddypress.php
Open up header-buddypress.php and at the bottom of the file, below other code contained within, add this:
`
B. COPY your theme’s sidebar.php and Save As > sidebar-buddypress.php
Open up sidebar-buddypress.php and at the TOP, above all code contained within, add this
`
`
Save file.
C. Upload header-buddypress.php and sidebar-buddypress.php to your theme folder in server wp-content/themes/peekaboo/ at the same directory where your regular header.php and sidebar.php files are in
Final note: Copy the style modifications for some BP elements https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste those at the bottom of your theme’s stylesheet, then adjust to taste.
@mercime ,
That’s amazing ! Just working nicely ! Please take a full truck of thanks .
Also, would you please tell me, which coding you gave me this ? Is this PHP ?
How can i learn this PHP ? I have faced a lot of problem in coding in wordpress . So, i have to learn this language. ( Is this out of rule of forum to know something beside this ? )
Again thanks for your solution.
Regards