Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/devatiq/prime-script/archive/refs/heads/main.zipPrimeScript allows users to easily insert custom scripts into the header and footer of their WordPress site through a user-friendly settings page.
Features
- Inject Header Scripts: Add custom scripts to the
<head>section. - Inject Footer Scripts: Add custom scripts just before the closing
</body>tag. - User-Friendly Interface: Simple and intuitive settings page for managing scripts.
- Theme Compatibility: Works with all WordPress themes.
- Secure Script Management: Uses the WordPress Settings API for secure handling of user input.
- Multisite Support: Works on multisite installations.
Installation
- Download the plugin and upload the
prime-scriptfolder to your/wp-content/plugins/directory. - Activate the plugin from the Plugins menu in WordPress.
- Go to Settings > PrimeScript to add your header and footer scripts.
Usage
- Navigate to Settings > PrimeScript.
- Add your custom scripts in the provided fields:
- Header Script: Scripts entered here will be injected into the
<head>section. - Footer Script: Scripts entered here will be injected just before the closing
</body>tag.
- Header Script: Scripts entered here will be injected into the
- Click Save Changes to apply your scripts.
Frequently Asked Questions (FAQs)
How do I add scripts to the header and footer?
Go to Settings > PrimeScript and use the provided fields to insert your custom scripts. Click 'Save Changes' when done.
Will this plugin affect my theme files?
No, the plugin works independently of your theme. It safely injects scripts without modifying any theme files.
Can I use this plugin with any WordPress theme?
Yes, PrimeScript works seamlessly with all WordPress themes.
Does this plugin support multisite installations?
Yes, you can activate it on individual sites within a WordPress multisite network.
Changelog
1.0.0
- Initial release with the ability to insert header and footer scripts.
License
This plugin is licensed under the GPL v2 or later. For more information, visit https://www.gnu.org/licenses/gpl-2.0.html.
Author
Developed by SupreoX Limited
Website
Releases
1 release.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.