in articles
-
Does WordPress.com support <script> tag in article writing ?
The blog I need help with is: (visible only to logged in users)
-
-
-
This thread will be moved to the Ideas Forum as that’s where we make feature requests like this one.
-
flofz – could you please provide more information about the IMDb shortcode you have in mind? Is there one already for self-hosted WordPress?
-
I can just post an example of html code provided by IMDb page :
<span class="imdbRatingPlugin" data-user="ur19352606" data-title="tt1911644" data-style="p1"><img src="http://g-ecx.images-amazon.com/images/G/01/imdb/plugins/rating/images/imdb_46x22.png" alt="The Call (2013) on IMDb" />
</span><script>(function(d,s,id){var js,stags=d.getElementsByTagName(s)[0];if(d.getElementById(id)){return;}js=d.createElement(s);js.id=id;js.src="http://g-ec2.images-amazon.com/images/G/01/imdb/plugins/rating/js/rating.min.js";stags.parentNode.insertBefore(js,stags);})(document,'script','imdb-rating-api');</script> -
Thanks for the code and the suggestion. As you may know, we don’t support JavaScript on WordPress.com but I will add the idea of a shortcode for IMDb ratings to our idea bank for consideration in the future.
You may also want to contact IMDb and encourage them to create a shortcode plugin for WordPress.org – if they haven’t already – and then get in touch with us about porting it over to WordPress.com. We have some guidelines here.
- The topic ‘in articles’ is closed to new replies.