is it ok to copy files from bp-templates/bp-legacy/buddypress directory
I am really confused with bp-templates and bp-themes directories.
I wanted to change my activities page, more specifically, to add a sentence above the activity posting form.
I tried editing bp-themes/bp-default/activity/index.php,
but I couldn’t get what I needed, no changes happened when I added a paragraph to it.
Later I found another file: bp-templates/bp-legacy/buddypress/activity/index.php,
and when I added my paragraph to it, I got what I needed.
In order to leave the BP files without changing, I copied them to my child theme directory: my-child-theme-directory/buddypress/activity/index.php.
I did this on a test BP install and there was no problem.
On my real website, I found an activity directory in my child theme’s buddypress folder, which contains an index.php file, when I checked, it is the index.php from bp-themes/bp-default/activity/.
So, how can I make this without replacing the index.php file?
Is it wrong to copy and edit files from bp-templates/bp-legacy/buddypress folder?
Maybe it’s an easy thing, but I am really confused. Please advise me.
- You must be logged in to reply to this topic.