How do I add a widget code to my wordpress page

  • Unknown's avatar

    Trying to add a widget to my page but it shows up blank in preview. I have the free version of WordPress. Do I need the paid one to put widgets for affiliated marketing?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    this is the code

    <script type=”text/javascript” src=”//api.skyscanner.net/api.ashx?key=”></script>
    <script type=”text/javascript”>
    skyscanner.load(“snippets”,”2″);
    function main(){
    var snippet = new skyscanner.snippets.SearchPanelControl();
    snippet.setShape(“box300x250”);
    snippet.setCulture(“en-GB”);
    snippet.setCurrency(“USD”);
    snippet.setProduct(“flights”,”1″);
    snippet.setProduct(“hotels”,”2″);
    snippet.setProduct(“carhire”,”3″);

    snippet.draw(document.getElementById(“snippet_searchpanel”));
    }
    skyscanner.setOnLoadCallback(main);
    </script>
    <div id=”snippet_searchpanel” style=”width: auto; height:auto;”></div>

  • Unknown's avatar

    Yes, you need the paid version for wigits that didn’t already come with the site. And you can’t do any official “affiliate marketing” with the free version. You can have affiliate links as long as they’re part of what WordPress considers real blogs. Basically, you can’t make an affiliate site with a big list of links or products like a store, they won’t let you.

  • The topic ‘How do I add a widget code to my wordpress page’ is closed to new replies.