Title: some codes doesn&#8217;t work
Last modified: November 29, 2019

---

# some codes doesn’t work

 *  Resolved [MarkJ](https://wordpress.org/support/users/forusak/)
 * (@forusak)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/some-codes-doesnt-work/)
 * Hey, I want to ask if this is same as adding codes to functions.php?
    Always 
   when I wanted to achieve something by adding js code, it worked from functions
   but not from this plugin. Am I doing something wrong?
 * Right now I was trying to remove too many fontawesome requests from plugins. 
   It uses wp_deregister_style.
    I can’t use child theme because it is not working,
   can you help me with this?

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

 *  Plugin Author [SilkyPress](https://wordpress.org/support/users/diana_burduja/)
 * (@diana_burduja)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/some-codes-doesnt-work/#post-12195441)
 * Hello Marek,
 * in the functions.php file you can add only PHP snippets. This plugin is for adding
   JavaScript or CSS.
 * The wp_deregister_style function is a PHP function. The Simple Custom CSS & JS
   plugin cannot help you deregister the fontawesome requests, as that is at the
   PHP level, not at CSS or JS level.
 * Plugins similar to [Code Snippets](https://wordpress.org/plugins/code-snippets/)
   or [Insert PHP Code Snippet](https://wordpress.org/plugins/insert-php-code-snippet/)
   let you add PHP code to your website. Maybe you can try them out with yout wp_deregister_style
   PHP code snippet.
 *  Thread Starter [MarkJ](https://wordpress.org/support/users/forusak/)
 * (@forusak)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/some-codes-doesnt-work/#post-12197414)
 * Oh ok, sorry, not a programmer here. Thank you for the advice.

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

The topic ‘some codes doesn’t work’ 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: [MarkJ](https://wordpress.org/support/users/forusak/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/some-codes-doesnt-work/#post-12197414)
 * Status: resolved