Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding Custom JavaScript To x Profiles


  • Grandstand
    Participant

    @grandstand

    Hello. New to buddy press. Hoping someone can help me out. I would like to add some custom javascript to the x-profile page. Something to the effect if a checkbox is selected show or hide other elements. What file am I looking for that would allow me to do this?

    I am also looking to do some layout changes to the way its currently displayed. Can someone also poinnt me to that file.

    Thanks!

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

  • ckchaudhary
    Participant

    @ckchaudhary

    To add javascript to any page, you can put it in any of your theme’s javascript files.

    To do layout changes you’ll need an understanding of BuddPress Templates Hierarchy and css customizations.


    Grandstand
    Participant

    @grandstand

    Thank you for your reply! I guess I am a little confused on the Template Hierarchy. The link you gave references “/buddypress/members/index-register.php” does this mean I am looking for a file in “domain/wp-content/plugins/buddypress/bp-members/” named index-register.php? If so I do not have that file.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding Custom JavaScript To x Profiles’ is closed to new replies.
Skip to toolbar