Skip to:
Content
Pages
Categories
Search
Top
Bottom

I have an odd Code Snippet Issue


  • jugglenet
    Participant

    @jugglenet

    Hi,

    Hope you can help.

    I am trying to add a snippet of code to a page on wordpress but I have a feeling that buddypress is conflicting with it.

    Let me explain what I’m doing exactly:

    I put the following code in:

    <script src=”http://m12014.one365.com/Content/Scripts/lib/culturefox-require.min.js”></script&gt;
    <culturefox-viewer access-token=”07dccf6de4b3709e5284359dff875dc2″></culturefox-viewer>

    But when I save a gap appears:

    <script src=”http://m12014.one365.com/Content/Scripts/lib/culturefox-require.min.js”></script&gt;
    <culturefox- viewer access-token=”07dccf6de4b3709e5284359dff875dc2″></culturefox-viewer>

    Notice the gap at “culturefox- viewer”

    No idea why it’s happening. I tested the code on another wordpress site and it worked fine. It’s just this one. Is the theme a problem or anything or is it buddypress?

    I am using wordpress version 4.2.2 and buddypress version 2.3.2.1 and the theme I’m using is Fizz

    Hope you can help. Thanks

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

  • Henry Wright
    Moderator

    @henrywright

    That’s odd. All I can think of is it must be your text editor. Try doing the same thing in something like Sublime Text or Atom and see if the problem occurs.


    jugglenet
    Participant

    @jugglenet

    Hi.

    The thing is I’ve got the same code working on another wordpress website which uses a different theme. So it has to be theme related. I was just wondering if anyone had come across this issue or similar before.

    It really is odd.

    I’ve tried putting the code snippet into the actual template file also but that didn’t work either.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I have an odd Code Snippet Issue’ is closed to new replies.
Skip to toolbar