Skip to content

jaimemarcosjr/codespreader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeSpreader

One plugin to rule them all — globally or individually add custom CSS and JS on WordPress pages.

Description

CodeSpreader allows you to quickly inject custom CSS and JavaScript across your entire WordPress site or on a per-page/post basis directly from the editor. Perfect for site-wide style tweaks, tracking scripts, or functionality enhancements tailored to individual pages.

Features

  • Add global CSS across all pages
  • Add global JavaScript across all pages
  • Add custom CSS and JS for individual pages or posts via the WordPress editor
  • Simple settings page for managing your global code
  • Clean and lightweight

Installation

  1. Upload the codespreader folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the "Plugins" menu in WordPress.
  3. Navigate to Settings -> CodeSpreader to add your global custom CSS and JavaScript.
  4. To add per-page code, go to the post or page editor and scroll to the CodeSpreader metabox.

Frequently Asked Questions

Can I add both CSS and JavaScript?

Yes! You can inject both types of code globally and per-page.

Will my changes be lost on theme updates?

No, your custom code is safely stored via the plugin settings and post meta.

Changelog

0.1.0

  • Initial release with global and per-page CSS/JS injection support.

Author

jaimemarcosjr

License

This plugin is open-source software licensed under the GPLv2 or later.


Links

About

One plugin to rule them all — globally or individually add custom CSS and JS on WordPress pages

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published