WordPress.org

Support

Support » Plugins and Hacks » Embedding Code and Widget Logic

Embedding Code and Widget Logic

  • newzealandnz
    Participant

    @newzealandnz

    Hello Team

    I was hoping that the “Widget Logic” 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>

    ————————

    This is how far I have got so far http://www.ifitsolutions.co.nz/?page_id=8

    http://wordpress.org/extend/plugins/widget-logic/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Embedding Code and Widget Logic’ is closed to new replies.