Problems translating child theme
Hi,
I searched the forum and google but found no working answer.
What: I try to translate a Child Theme for Vantage.
What did I do?
1. created folder
.../themes/
vantage
.../themes/
vantage-child
2. style.css
/*
Theme Name: name.theme
Version: 2.1.0
Description: xyz
Author: Chris
Author URL:
https://xyz.de
Text Domain:
vantage-child
Template:
vantage
*/
3. functions.php
<?php
/**
* Registers the stylesheet
*
* @since 2.0.0
*/
function vantage_child_styles() {
wp_enqueue_style( '
vantage-child', get_stylesheet_uri() );
}
add_action( 'wp_enqueue_scripts', 'vantage_child_styles', 999 );
function child_theme_slug_setup() {
load_child_theme_textdomain( 'parent-theme-slug', get_stylesheet_directory() . '/languages' );
}
add_action( 'after_setup_theme', 'child_theme_slug_setup' );
?>
All steps according to instructions:
https://docs.appthemes.com/vantage/h...e-child-theme/
Website:
https://biokisten.org
Versions:
Wordpress: 6.6.2
Vantage: 4.2.14
PHP: 8.3
Question: What did I miss?