Forum Replies Created
-
Big cheer, verrry sheepish – it was a case of not thinking it was working, because no files were visible in the WP editor.
I added a bit of lovely, old school inline css to mytheme/buddypress/activity/single/home.php:
<div id="buddypress" style="background-color: pink;">
Worked like a charm. The background of the single activity update view is now pink.
……………..
> Did try and write it as noob friendly as possible ๐
– Ohhh, but there was that caped noob crusader detail I was blind to at the moment! LOL> The editor im WP wonโt show subfolders or used not to
– Actually, the WP editor can show subfolders – they look like (dirname/filename.php)
AND now I know that not all files show.> itโs not a great idea to edit files this way or indeed have it running from a security point of view.
– Yup. I never use the wp theme editor on an active or remotely hosted site. I don’t even like to sign in as Admin unless I need Admin rights that day.Thank you for your patience, everybody. Hopefully the way I tagged and titled this post will help the next wanderer with related confusions find their answer in Search.
Will I mess up WordPress’s ability to see them all, if I drag them all over?
Also, I’m assuming I need to retain the dir structure? For instance, if I just need home.php from buddypress/activity/single, I have to put it here mytheme/buddypress/activity/single/home.php?
I know I don’t need to overwrite anything with an exact copy of itself. ๐
Thanks again for your time.
@danbp – Yeah! Thank you! Saw that earlier. Lots of useful stuff in there. I’m looking forward to seeing how much I can do with the groups views, especially.
@henrywright – No problem! I appreciate any help.I want to figure out why these files aren’t showing up, so I can start to learn from breaking things on purpose.
I’ll check back later, after I try copying the buddypress template dir into the full version of TwentyThirteen. If the files show up in the full TwentyThirteen, I did something odd in my child theme. If they don’t show up, the problem is that I don’t understand how to get any theme to see those bp template files that I want to play with.
Gotta be something noob-worthy. When I get this figured out I may be qualified to write a dummies-friendly tutorial – LOL
A child theme does not have to have more than style.css, correct? This is a child theme of 2013.
https://codex.wordpress.org/Child_ThemesI can add an index.php, but I don’t have a reason to customize it yet. Are you saying that a child theme has to have an index.php in order for files in a buddypress dir to show up?
@danbp Before I started this thread I read that thread, and the two files you link to in that thread.
I’m sorry, but I don’t understand.
I’ve uploaded them to a working child theme installed on a working installation of WP multisite. Both WP & BP are the most recent versions.
mytheme is a child of 2013 that contains
style.css
404.php
and the buddypress folder I copied from within the bp-legacy dir
no functions.php yetBuddyPress is installed and working.
I’ve made child WP themes before, but never with BP.Thankyou, @henrywright.
Copying the whole plugin would be much more than what I did.
I copied the buddypress folder that is contained in bp-legacy. Is that not was what the directions meant?
If I did this right, why are the files not visible in the WordPress back end at Themes > Editor > mytheme?