devuri / wp-kdx-canvas
Kadence Child Theme
Installs: 43
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Type:wordpress-theme
Requires
- php: ^7.3 || ^7.4 || ^8.0 || ^8.1
- ext-curl: *
- ext-json: *
- devuri/plugin-interface: ^0.2.0
Requires (Dev)
- ergebnis/composer-normalize: ^2.42
- fakerphp/faker: ^1.23
- phpstan/phpstan: ^1.10
- symfony/var-dumper: ^5.4
- szepeviktor/phpstan-wordpress: ^1.3
- wptrt/wpthemereview: ^0.2.1
- yoast/phpunit-polyfills: ^3.0
README
Overview
Kdx Canvas is a child theme for the Kadence WordPress theme. It allows you to customize and extend the functionality of the Kadence theme without losing your changes when the parent theme is updated.
Features
- Inherits all features and functionalities of the Kadence theme.
- Easy to customize with your own CSS and PHP code.
- Safe from updates to the parent theme.
⚠️ Caution: Starter Template Usage
This repository provides a starter template for creating a child theme based on the Kadence WordPress theme. While you can use it directly, it is intended more as a convenient starting point for your customization needs. This template is designed to help you extend and personalize the Kadence theme, maintaining compatibility with updates to the parent theme.
Important Note: If you intend to make significant modifications, it’s recommended to fork this repository or clone it directly instead of installing it via Composer. This approach ensures you retain control over your customizations without being affected by future updates or re-installations.
Installation
Via Composer
- Open your terminal and navigate to your WordPress project directory.
- Run the following command to install the Kadence Child theme:
composer require devuri/wp-kdx-canvas
- The theme will be installed in the
wp-content/themes/wp-kdx-canvas
directory.
Manual Installation
1. Download and Extract
- Download the child theme files.
- Extract the files to a folder on your computer.
2. Upload to WordPress
- Connect to your WordPress site via SFTP or use the File Manager in your hosting control panel.
- Navigate to
wp-content/themes
. - Upload the entire
kadence-child
folder to thethemes
directory.
3. Activate the Child Theme
- Log in to your WordPress admin dashboard.
- Go to
Appearance > Themes
. - Find
Kadence Child
and clickActivate
.
Customization
Custom CSS
Add your custom styles in the style.css
file located in the wp-kdx-canvas
folder.
Custom PHP Functions
Add your custom PHP functions in the functions.php
file located in the wp-kdx-canvas
folder. Here is an example of how to enqueue the parent and child theme styles:
<?php function kadence_child_example() { // feature code here }
Custom Templates
If you want to override specific template files from the parent theme, copy the template file from the parent theme to the child theme folder and make your changes there.
Credits
- Parent Theme: Kadence Theme
License
This theme is licensed under the GPL License.