custom code not working
-
<div id=’gigsalad-reviews-widget’></div><script>var gsReviewWidget;(function(d,t){var s=d.createElement(t),options={path:’174244′,maxWidth:600,count:3};s.src=’https://www.gigsalad.com/js/gigsalad-reviews-widget.min.js’;s.onload=s.onreadystatechange=function(){var rs=this.readyState;if(rs)if(rs!=’complete’)if(rs!=’loaded’)return;try{gsReviewWidget=new GsReviewsWidget(options);gsReviewWidget.display();}catch(e){}};var scr=d.getElementsByTagName(t)[0];var par=scr.parentNode;par.insertBefore(s,scr);})(document,’script’);</script>
hi I’m trying to add this line of code to import review but its not displaying as it should be
WP.com: Yes
Correct account: YesThe blog I need help with is: (visible only to logged in users)
-
You can’t use that code on the wordpress.com platform. In fact the html tags you can use are very limited – https://wordpress.com/support/wordpress-editor/blocks/custom-html-block/#supported-html-tags
- The topic ‘custom code not working’ is closed to new replies.