• Resolved newzealandnz

    (@newzealandnz)


    Hello Team

    I was hoping that the “Artiss Code Embed” plugin would help me pull the below code into a page or post however can not seem to get it working! anyone good at offering me a tip on if this could/should work?

    I have half a brain with this kind of stuff however would be nice to if someone with a full brain could help me 😉 a little.

    <div id="fitnessbuilder-private-label-embed">
    	<script>
    		<!-- embed with your api key -->
    		fitnessBuilderPrivateLabel.embed('e53ee4efa1a4c6fb6bde125644462988');
    	</script>
    </div>

    ______________________________

    Embedding on Your Website

    We’ve made embedding the FitnessBuilder website as easy as possible to your website. To embed it follow these 2 easy steps:

    1. Include the javascript in the head area of your html page.

    The head area is traditionally on the top of a HTML page, between the <html> tags:

    ————

    <html>
      <head>
        <link rel="stylesheet" type="text/css" href="https://www.fitnessbuilder.com/pl_embed/history/history.css" />
        <script src="https://www.fitnessbuilder.com/pl_embed/history/history.js" type="text/javascript" ></script>
        <script src="https://www.fitnessbuilder.com/pl_embed/private_label_helper.js" type="text/javascript"></script>
      </head>
      <body>
        <!-- your body here -->
      </body>
    </html>

    ———————

    2. Place a div on your webpage and call the embed javascript.

    Find where you want to place FitnessBuilder on your page and then call the embed code:

    ———————

    <div id="fitnessbuilder-private-label-embed">
    	<script>
    		<!-- embed with your api key -->
    		fitnessBuilderPrivateLabel.embed('e53ee4efa1a4c6fb6bde125644462988');
    	</script>
    </div>

    ————————

    http://wordpress.org/extend/plugins/simple-embed-code/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter newzealandnz

    (@newzealandnz)

    Ops this is the link to the page http://www.ifitsolutions.co.nz/?page_id=51#

    Plugin Author David Artiss

    (@dartiss)

    That last bit of code you can indeed add via my plugin. However, the first bit will need adding into the header of your site (header.php).

    David.

    Thread Starter newzealandnz

    (@newzealandnz)

    I ended up creating a template as it seem to not load and when it did it showed like a iframe.

    I am having a hard time with the fitness builder embed code… I added the java to the header.php file and used artiss to embed the second bit of code but… no dice. Do you guys have any advice?

    Plugin Author David Artiss

    (@dartiss)

    Do you have a new URL for where you’ve added the code? I’d like to see what’s been generated.

    David.

    The url I have it on is http://www.members.bodyblast.net/blast-fit

    The theme is Gonzo- Theme Forrest

    I tried moving the code on header.php in different places. It seemed like
    it would load the background (black) for a sec and then it would go away.

    Might be some sort of looping issue.

    I appreciate any pointers!

    Plugin Author David Artiss

    (@dartiss)

    I’ve had a look at the source of that page but am unable to see the code that you’ve used my plugin to add – if you look at the page source my plugin adds a comment before and after anything it embeds. That comment is not in your page.

    Are you able to tell me the code that you’ve embedded so I can find it in the page source?

    David.

    Check it out again… I had taken the code out of the header… I added it back in- in a different spot on header.php. It is now just showing the header portion now and not the body!?

    Plugin Author David Artiss

    (@dartiss)

    Ok, so the plugin has inserted the following code after the heading…

    <div id="fitnessbuilder-private-label-embed">
    	<script>
    		<!-- embed with your api key -->
    		fitnessBuilderPrivateLabel.embed('325662e67873b60b507bc3009377318e');
    	</script>
    </div>

    Is that correct?

    David.

    Yes- that is the code that I used your widget for. You asked in the email if there is a statement showing… I did not see one. It seems to not be showing the full element.

    Plugin Author David Artiss

    (@dartiss)

    In that case the plugin is working fine – it is inserting the code you’ve requested where you asked it. If there are any issues with it now working that is down to the code – either the script you’ve been provided or any interactions its having with your site. Certainly, my plugin is working as expected.

    David.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Embedding Code and Artiss Code Embed’ is closed to new replies.