[Part II in next page]
I am having problems with setting up my website correctly. I cannot seem to get the width of the members directory to fit inside the width of my page.
Would really appreciate any help possible. The page in question is: http://www.coveringthebasics.org/community/members/
Thanks in advance!
@cleaus thanks for starting a new topic per instruction. Open up your theme’s header.php file, copy all source, paste in 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 files.
@cleaus there’s not a single code in your pastebin.com’s links for index.php, page.php, sidebar.php and footer.php
@cleaus there’s `get_template_part(‘content’, ‘page’ ) ;` in your page.php file which means I need the code to content-page.php file as well
@cleaus missing codes -> lines 16-21 and 23-28 in your latest pastebin.com link for content-page.php
Thats all the code that was contained on that page? Not sure what is missing?
@cleaus I just found out that DailyPost is hosted in WP Theme Repo and the content-page.php code has the “missing” lines, see http://themes.svn.wordpress.org/dailypost/1.0.5/content-page.php
I see that the theme has a PRO version as well.
So are you using the pro version or the free one from WP theme repo? If you’re using the one from the repo, you should download another copy of the theme and re-upload it manually via FTP to make sure all files are there and I will work from the code in repository. If it’s the pro version, it’s weird that it’s missing some lines which are available in the free version.
@mercime As i did not use a child theme, is there any way of just replacing the old missing files with the new files i download in the new theme?
@cleaus I made no mention of a child theme anywhere. Let’s re-start this conversation with: where did you download your theme, WP theme repository (free version) or at theme author site (PRO version)?
@cleaus Thank you.
Now while I set up the code necessary for BP compatibility. I suggest that you a) make a backup of your dailypost theme folder in server, b) delete the theme in dashboard Appearance > Themes, c) then re-install DailyPost theme and activate it. Your theme shouldn’t be missing lines of code per your pastebin.com, otherwise whatever code I post here might not work out at all. Although we saw that only in header.php at this time, other files might just be corrupted as well and it’s not going to a fun ride.
Based on the HTML structure of your theme, you will be only need to create two new files, header-buddypress.php and sidebar-buddypress.php to make the BP templates compatible with your theme.
If you’ve revised any of the BP template files transferred to your dailypost theme folder in server during the BP Compatibility process, please delete the 6 BP folders transferred to your dailypost 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:
`<article id="post-” >
[Part II in next page]
B. COPY your theme’s sidebar.php file and Save As > sidebar-buddypress.php
Open up sidebar-buddypress.php file and at the very TOP of the file above other code, add this:
C. Upload header-buddypress.php and sidebar-buddypress.php to your theme folder in server wp-content/themes/dailypost/ in the same directory where your regular header.php and sidebar.php files are
D. Final note: Copy the style modifications for some BP elements http://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.
You must be logged in to reply to this topic.