Title: javascript for badge
Last modified: August 21, 2016

---

# javascript for badge

 *  Resolved [cislot](https://wordpress.org/support/users/cislot/)
 * (@cislot)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/javascript-for-badge/)
 * I am trying to add the following script to a page on my site. It is coming up
   as a text link only. the image of a ribbon is not displaying. any ideas? I downloaded
   the plugin but wanted to make sure this is something the plugin can help with
   `
   <script type="text/javascript" src="http://www.avvo.com/assets/badges-v2.js">
   </script><div class="avvo_badge" data-type="rating" data-specialty="100" data-
   target="http://www.avvo.com/professional_badges/680241"><div class="avvo_content"
   ><a href="http://www.avvo.com/attorneys/90401-ca-daniel-cislo-680241.html?utm_campaign
   =avvo_rating&utm_content=680241&utm_medium=avvo_badge&utm_source=avvo" rel="me"
   >Lawyer Daniel Cislo</a> | <a href="http://www.avvo.com/patent-application-lawyer/
   ca/santa_monica.html?utm_campaign=avvo_rating&utm_content=680241&utm_medium=avvo_badge&
   utm_source=avvo">Featured Attorney Patent Application</a></div></div>`
 * [http://wordpress.org/plugins/css-javascript-toolbox/](http://wordpress.org/plugins/css-javascript-toolbox/)

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

 *  Plugin Author [wipeoutmedia](https://wordpress.org/support/users/wipeoutmedia/)
 * (@wipeoutmedia)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/javascript-for-badge/#post-4407114)
 * Hi cislot,
 * I managed to get the badge working just fine by pasting the exact code you provided
   in a code block. I am not sure why you are getting only the text version.
 * You can see my test here:
    [http://www.tuition-directory.com/cjt-demo-website/badge-test/](http://www.tuition-directory.com/cjt-demo-website/badge-test/)
 * The top badge is using the CJT Assignment Panel where I selected the Badge Test
   page. The second badge is by using the CJT shortcode embebdder to embed the code
   block as a shortcode at the page/post level.
 * I do notice that the text link does appear first – but only for a split second,
   and then the badge appears after. If your graphic file is not displaying, then
   I am wondering if it is a clash with the theme you are using or something else
   that is stopping the graphic from rendering.
 * Try both versions again (i.e. Assignment Panel and Shortcode) and see if you 
   have any luck. Oh and if it still does not work, please provide the page link
   if possible so we can see what is going on.
 * Kind Regards,
    Damian
 *  Thread Starter [cislot](https://wordpress.org/support/users/cislot/)
 * (@cislot)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/javascript-for-badge/#post-4407237)
 * Thanks Damian for helping me out on this.
 * This is the page i am trying to add it to
 * [http://cisloandthomas.com/attorneys/daniel-m-cislo/](http://cisloandthomas.com/attorneys/daniel-m-cislo/)
 * Am I supposed to just add the original code to the code block?
 * Please forgive my lack of knowledge?
 *  Thread Starter [cislot](https://wordpress.org/support/users/cislot/)
 * (@cislot)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/javascript-for-badge/#post-4407238)
 * Nevermind! I got it. Thanks so much!!!
 *  Plugin Author [wipeoutmedia](https://wordpress.org/support/users/wipeoutmedia/)
 * (@wipeoutmedia)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/javascript-for-badge/#post-4407260)
 * Glad you got it sorted

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

The topic ‘javascript for badge’ is closed to new replies.

 * ![](https://ps.w.org/css-javascript-toolbox/assets/icon-256x256.gif?rev=3132209)
 * [CSS & JavaScript Toolbox](https://wordpress.org/plugins/css-javascript-toolbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/css-javascript-toolbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/css-javascript-toolbox/)
 * [Active Topics](https://wordpress.org/support/plugin/css-javascript-toolbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/css-javascript-toolbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/css-javascript-toolbox/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [wipeoutmedia](https://wordpress.org/support/users/wipeoutmedia/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/javascript-for-badge/#post-4407260)
 * Status: resolved