BuddyDev

Search

[Resolved] Change plugin folder url

  • Participant
    Level: Enlightened
    Posts: 64
    David on #31400

    I need to know how hard it would be to change a url like this: buddypress/bp-templates/bp-nouveau to this : community/template/nouveau ?

  • Keymaster
    (BuddyDev Team)
    Posts: 21801
    Brajesh Singh on #31401

    Hi David,
    It is super easy.

    Just create a folder and name it as “community” in your theme or child theme.

    Now copy everything from bp-nouveau and put that in the newly created directory. Thta’s it.

    BuddyPress supports renaming the template pack to “buddypress” or “community” folder in your theme.

    And if needed, there are filters to even change that to anything.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 64
    David on #31719

    I did that but the css file does not seem to be using the new name. I am not good with code that is why I am asking I did make a new folder in my child theme and rename it to community.

    • This reply was modified 2 years, 2 months ago by David.
  • Keymaster
    (BuddyDev Team)
    Posts: 21801
    Brajesh Singh on #31740

    Can you please share me a screenshot showing the contents(file list) of the community folder.

    Thank you
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 64
    David on #31754

    Here you go https://ibb.co/T2XXbDL I should also mention I want to change the folder buddypress to something else. Would like to know also how to do this.

  • Participant
    Level: Enlightened
    Posts: 64
    David on #31822

    Hello ?

  • Keymaster
    (BuddyDev Team)
    Posts: 21801
    Brajesh Singh on #31823

    Hi David,
    This configuration is working absolutely fine for me. Try clearing your cache if is is enabled.

    Otherwise, I will suggest reverting your buddypress-functions.php(since you changed it in another topic).

    PS:- I am assuming the screenshot was for the contents of your “community” directory.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 64
    David on #31844

    How can I change the buddypress folder name in the picture to something like profile ?. And yes that is my community directory contents.

  • Keymaster
    (BuddyDev Team)
    Posts: 21801
    Brajesh Singh on #31852

    Please copy the contents from “community/buddypress” and move to “community/” and they will work.
    For example, activity goes to community/activity.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 64
    David on #31854

    Thanks it worked!! I have one other thing to ask and that is where the body classes are located ?

You must be logged in to reply to this topic.

This topic is: resolved