BuddyBoss Home – Web Support Forums Themes Boss. theme Embed Player into Website/Theme

Viewing 5 posts - 1 through 5 (of 5 total)
  • Question

    #41961

    Anonymous
    @

    I’m not sure if this is theme related or not, but I think the solution is simple I’m just not sure where to paste a single line of code. I am attempting to implement a tour (via SaaS) on my Boss site and I’m being instructed the following:

    You can simply place the following code to the end of your HTML source or template of your web application; just before the closing </body> tag (see example HTML document):

    <script src=”https://inlinemanual.com/embed/player.493d655ec05b0889e200f7c326fa337e.js”></script&gt;

    Where would I put the above line of code if navigating in my cPanel file manager?

    Answers

    #41966

    Anonymous
    @

    I put the line of code at the bottom (right before closing body tag) of my footer.php which I copied into my child theme. It worked. However, would you advice that as a good solution (proper placement of code)?

    #42048

    Alyssa
    Participant
    @alyssa-buddyboss

    @ryanmaler If you want it on every page then that is the exact location to put the code 🙂

    #42059

    Anonymous
    @

    @tjchester Being that you mentioned which pages I’d like to have it on. I’d like to have it only on a users profile page. Do you know how can I make that happen?

    #42125

    Alyssa
    Participant
    @alyssa-buddyboss

    @ryanmaler add an if statement:

    if(bp_is_member()){
      [Your Code Here]
    }
Viewing 5 posts - 1 through 5 (of 5 total)
  • The question ‘Embed Player into Website/Theme’ is closed to new replies.