Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to modify the BP plugin ?

  • Hi !

    I’m trying to modify the homepage plugins and i would like to have some help.

    First, i would like to duplicate the plugins or being able to use them more than one time. Let me explain myself, by example, if i want to display the sitewide activity or the lastest blog posts, i can’t. An option to duplicate the plugin and to set the start and the end limit would be great.

    Any idea ? Thanks a lot!

Viewing 3 replies - 1 through 3 (of 3 total)

  • alunsina
    Participant

    @alunsina

    can you also point me to where i can copy it (sitewide activity or latest blog post so i can replace the blog posts when using a different theme for the home page?

    thanks.


    Burt Adsit
    Participant

    @burtadsit

    The widgets for the components, each live in a different directory. It goes like this:

    /mu-plugins/<component>/bp-<component>-widgets.php

    So for example Recent Posts widget is in /mu-plugins/bp-blogs/bp-blogs-widgets.php and is implemented in the function: bp_blogs_widget_recent_posts()

    The core component has the Welcome, Members and Who’s Online widgets.


    alunsina
    Participant

    @alunsina

    thanks for the help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to modify the BP plugin ?’ is closed to new replies.
Skip to toolbar