Contents
Requirements
- ≥ PHP 8.1
- ≥ WordPress 7.0
Theme-uploader
- Download theme and child-theme zip file here.
- In your admin panel, go to Appearance > Themes and click the Add New button.
- Click Upload Theme and Choose File, then select
bootscore.zipfile. Click Install Now. - Click Upload Theme and Choose File again, then select child-theme’s .zip file. Click Install Now.
- Click Activate to use your new theme right away.
Composer
To install with composer you will need to have composer installed on your system, and ideally on your server also with command line access, but that’s not required.
Here are two methods of installing themes and plugins with composer:
Method 1 – composer/installers
Add the following to your projects composer.json file (remove comments)
"require": {
"composer/installers": "^2.1",
// other existing dependencies if any here
},
"repositories":[ // add the wpackagist repo, packagist is included by default
{
"type":"composer",
"url":"https://wpackagist.org",
"only": [
"wpackagist-plugin/*",
"wpackagist-theme/*"
]
}
],
"extra": { //configuration for composer/installers:
"installer-paths": {
"wordpress/wp-content/plugins/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
"wordpress/wp-content/plugins/{$name}/": ["type:wordpress-plugin"],
"wordpress/wp-content/themes/{$name}/": ["type:wordpress-theme"]
}
}
You can then start installing themes and plugins (see below). Composer will know where to put them.
Method 2 – Bedrock
- Create a new bedrock project with
$ composer create-project roots/bedrock - Configure the .env file – see bedrock docs page @ https://docs.roots.io/bedrock/
- You can now install themes and packages, in an alternate project structure.
Installing packages
The themes and plugins are currently available on packagist.org repository. Themes and plugins are available based on their respective GitHub repository url e.g.
- bootscore/bootscore – parent-theme
- bootscore/bootscore-child – child-theme
- bootscore/bs-contact-form-7 – plugin to add Bootstrap to Contact Form 7
- bootscore/bs-cookie-settings – plugin to add cookie consent banner
- bootscore/bs-grid – grid plugin
- bootscore/bs-preloader – preloader plugin
- bootscore/bs-swiper – swiper.js plugin
e.g. $ composer require bootscore/bootscore
To install WordPress themes and plugins available on the public WordPress themes and plugins repositories, search for them on wpackagist.org.
Read more: