Title: Non-functional code in plugin
Last modified: January 15, 2019

---

# Non-functional code in plugin

 *  [clickharder](https://wordpress.org/support/users/clickharder/)
 * (@clickharder)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/non-functional-code-in-plugin/)
 * This plugin appears to violate guideline #5 on WordPress
 * > Plugins may not contain functionality that is restricted or locked, only to
   > be made available by payment or upgrade.
 * The Pro features are coded on the page but restricted unless you pay for the 
   plugin. If you want to sell a pro version, more power to you, just don’t junk
   up the page with non-functional code and an advertisement to upgrade.
 * Don’t get me wrong, it is a good plugin if you just need to add some JS or CSS
   site-wide.

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

 *  Plugin Author [SilkyPress](https://wordpress.org/support/users/diana_burduja/)
 * (@diana_burduja)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/non-functional-code-in-plugin/#post-11093370)
 * We are aware of the WordPress plugin guidelines and I can assure you that none
   are broken.
 * The next paragraphs in the guideline #5 explains it all:
 * > Paid functionality in services is permitted (see guideline 6: serviceware),
   > provided all the code inside a plugin is fully available. We recommend the 
   > use of add-on plugins, hosted outside of WordPress.org, in order to exclude
   > the premium code.
   > Attempting to upsell the user on ad-hoc products and features is acceptable,
   > provided it falls within bounds of guideline 11 (hijacking the admin experience).
 * The Pro features aren’t coded into the plugin. What you see are just previews
   of the forms and buttons on how it looks like in the pro version, but the code
   for the functionality isn’t present. When purchasing the pro you need to download
   and install the pro version plugin, which contains the code for the functionality.
    -  This reply was modified 7 years, 4 months ago by [SilkyPress](https://wordpress.org/support/users/diana_burduja/).
 *  Thread Starter [clickharder](https://wordpress.org/support/users/clickharder/)
 * (@clickharder)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/non-functional-code-in-plugin/#post-11093757)
 * > What you see are just previews of the forms and buttons on how it looks like
   > in the pro version
 * The HTML markup is there. Maybe that doesn’t meet the definition of “functionality”
   since by your statement it is completely non-functional, junk markup.
 * Which is basically my complaint about the plugin. You have non-functional markup
   that is displayed on ever item page. It adds clutter to the page, distracts from
   the UX, and the additional bits that are completely unnecessary.

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

The topic ‘Non-functional code in plugin’ is closed to new replies.

 * ![](https://ps.w.org/custom-css-js/assets/icon-128x128.png?rev=1303730)
 * [Simple Custom CSS and JS](https://wordpress.org/plugins/custom-css-js/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-css-js/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-css-js/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-css-js/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-css-js/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-css-js/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [clickharder](https://wordpress.org/support/users/clickharder/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/non-functional-code-in-plugin/#post-11093757)