BuddyBoss Home – Web › Support Forums › Themes › BuddyBoss theme › HTML is showing up in my footer.php file in the latest download
- This topic has 5 replies, 2 contibutors, and was last updated 9 years, 8 months ago by Alyssa.
Question
March 9, 2015 at 8:50 am #37038@interglobalmediaHi,
HTML is showing up in the latest download of the buddyboss theme, and specifically I checked the footer.php. Perhaps there is other stuff hidden in other files as well. Thanks!
Answers
March 9, 2015 at 9:44 am #37043@interglobalmediaI see now that you have HTML within the coding now with all files along with the PHP. However, I noticed that with the footer.php, the code is wrong. This is how it begins:
?>
</div><!– #main .wrapper –>
</div><!– #page –><footer id=”colophon” role=”contentinfo”>
There must be something missing somewhere else that the two closed divs appear at the top. Is this new mixing the HTML in with the PHP? I just never saw this before.
And by the way, this is the downloaded file that is NOT on my website. It’s the original code. Thanks!
Maria
March 9, 2015 at 11:24 am #37056@alyssa-buddyboss
AlyssaParticipant@interglobalmedia this is correct. The code has always been like that. See BuddyPress codex here: https://codex.buddypress.org/legacy/theme-development/the-bp-default-theme/
March 9, 2015 at 11:38 am #37067@interglobalmediaok! maybe I just forgot. However, what is strange, is that I am using the WP Editor, and that’s what drew my attention to this issue. From the unchanged footer.php file, it highlighted what it thought was incorrect code, in red. That’s what brought about this discussion on my part. And I know that you guys recommend using the WP Editor.
March 9, 2015 at 1:36 pm #37074@interglobalmediaHi @tjchester,
I found this on the Buddypress forum off the codex, and this developer discusses exactly what I came across in my footer.php:
“I’ve developed my own theme, I just copied the files provided into my own theme, then added a simple div tag in header-buddypress and closed in footer-buddypress to encapsulate it inside my existing css blocks
if I don’t create these two files buddypress will look funny”
I went into the actual Buddypress files to see if there was any HTML in the .php files. There is not. Only straight php.
My site looks fine, but when I remove the divs from the footer as the WP Editor indicates to do, it screws things up and the site looks funny, especially in the footer area!
Buddypress guys are weird, and Buddyboss is the only theme I know that doesn’t look funny with Buddypress. Just sharing this because I have started using the WP Editor, and then I also noticed this in the downloaded (unchanged) files on my desktop. Don’t remember seeing (so much) HTML in Buddyboss files before. The code was the same when I updated on the website. It just makes for making adjustments very complicated, if there is more than just basic changes one wants to make using a child theme because of the HTML embed that exists in the theme files. But I do understand now why it exists.
Maria
March 9, 2015 at 7:44 pm #37086@alyssa-buddyboss
AlyssaParticipantGuess there is always something to learn.
- The question ‘HTML is showing up in my footer.php file in the latest download’ is closed to new replies.