Policies on development of plugin using a JS
-
I’m planning to develop a wordpress plugin, which essentially needs to embed a piece of HTML with some data attributes, and then a Javascript file initialises it and render something.
The reason for this is simply because the plugin itself is done in Javascript.
I wonder how can I proceed to develop this. My questions are:
– Can I load the JS from an external server?
– Can I load the JS from the plugin directory itself?
– What type of restrictions will I find when submitting the plugin to WordPress?
– Is it possible to use these type of plugins on wordpress.com hosted sites?
– Can a site hosted on wordpress.com use plugins which embeds javascript and HTML?
– In case yes to the previous question, would it be better to use an existing plugin to embed CSS, JS and HTML into generating a shortcode to be used on any post/page?
– What would it be the best way of proceeding with a development of this plugin?Willing to receive your comments.
Thanks.
The blog I need help with is: (visible only to logged in users)
-
Hi there!
You’ve reached the WordPress.com support forums! I believe you might be looking for the WordPress.org forums instead.
This support page explains the differences between WordPress.com and WordPress.org:
And you may find the information you need at this page at WordPress.org for plugin developers:
https://wordpress.org/plugins/about/
Cheers! -
Hi Catia.
Thanks for replying. I saw the differences and understood the right place was .org.
However, is there a way to get a plugin be accepted and used on .COM platform? What’s the process behind? Or is it by default not allowed?
Thanks in advanced.
-
Hi there!
You’re welcome and sorry, I misunderstood your intentions. It is possible to submit a request to include your embed plugin via the contact form from our developers site here:
You’ll have to provide answers to the following questions:– How many active monthly users does your service have?
– Do you have a WordPress.org plugin?
– How many self-hosted WordPress sites currently embed your service?
– Does your service already support oembed? If not, is it something that you are planning to add soon?So the first step is to create WordPress.org plugin and you can find more information about it here:
https://developer.wordpress.com/docs/embedding-on-wordpress-com/
That page will answer your specific questions.
Hope that helps!
- The topic ‘Policies on development of plugin using a JS’ is closed to new replies.