How do I add a YELP badge to the footer in Colorway Pro?

Discussion in 'Forum Rules' started by julesbogdanski, Dec 31, 2013.

Thread Status:
Not open for further replies.
  1. julesbogdanski

    julesbogdanski New Member

    Joined:
    Sep 14, 2013
    Messages:
    3
    Likes Received:
    0
    I see the pre-set options in Footer Settings page ...but I would like to add a YELP badge to this area, the options provided (other than Facebook) are not useful to me.

    Here is the HTML:

    <div id="yelp-biz-badge-plain-k16VMMU8wJ5TgUc10NfZWw">Jules Bogdanski L.Ac.</div> <script type="text/javascript"> !function(doc, id){ var js; var scriptElement = doc.getElementsByTagName("script")[0]; if (!doc.getElementById(id)) { js = doc.createElement("script"); js.id = id; js.src = "//dyn.yelpcdn.com/biz_badge_js/plain/k16VMMU8wJ5TgUc10NfZWw.js"; scriptElement.parentNode.insertBefore(js, scriptElement); } } (document, "yelp-biz-badge-script-plain-k16VMMU8wJ5TgUc10NfZWw"); </script>

    Thanks for your help!
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    Go to the footer.php file present in your theme directory and paste the above badge code in that file as shown in the image given below

    [​IMG]

    This will solve your issue.
     
  3. julesbogdanski

    julesbogdanski New Member

    Joined:
    Sep 14, 2013
    Messages:
    3
    Likes Received:
    0
    That worked! Thanks so much!

    Is there an easy way to change the facebook badge to something bigger? - it's tiny next to my new big YELP badge. ;)

    Thanks again!
    Jules
     
  4. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    If you want to change the size of facebook icon then,Go to images directory present in your theme directory and replace your image with present "facebook-icon.png" image or edit it.

    The name of image is "facebook-icon.png"

    Note:- Use same name for your edited image and remove the current image.

    See the link given below
    http://www.inkthemes.com/how-to-edit-internal-files-through-ftp/07/

    I hope this will help you.
     
  5. julesbogdanski

    julesbogdanski New Member

    Joined:
    Sep 14, 2013
    Messages:
    3
    Likes Received:
    0
    Most helpful - thanks again!

    Jules
     
Thread Status:
Not open for further replies.

Share This Page