
Upload entire css-js-files folder to the /wp-content/plugins/ directory Activate the plugin through the ‘Plugins’ menu in WordPress That’s it, you’ll see a Select CSS/JS files and/or write your custom CSS/JS rules metabox on all add or edit posts/pages.

Simple css plugin css file how to#
I should clarify that the best place to enqueue your scripts and styles is within the wp_enqueue_scripts hook. This section describes how to install the plugin and get it working. Go to Plugins Admin Panel and find the newly uploaded Plugin, Simple Custom CSS in the list. An easy-to-use WordPress Plugin to add custom CSS styles that override Plugin and Theme default styles. Upload the Plugin folder (simple-custom-css/) to the wp-content/plugins folder.
Simple css plugin css file download#
Wp_enqueue_script('namespaceformyscript', '', array('jquery')) Install Simple Custom CSS just as you would any other WP Plugin: Download Simple Custom CSS from. You can also conditionally load the jquery library that your script is dependent on: Unless of course you want to use the google repository for jquery. Install Simple Custom CSS just as you would any other WP Plugin: Download Simple Custom CSS from.

Scripts are as above but the quicker way for loading jquery is just to use enqueue loaded in an init for the page you want it to load on: wp_enqueue_script('jquery') Then use: wp_enqueue_style('namespace') wherever you want the css to load. For styles wp_register_style( 'namespace', '' ) Well, in simple terms, this is a plugin that allows you to add custom CSS to your site.
