Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 130709

exact Vantage child theme php code?

$
0
0

Replies: 0

siteorigin says “start the file off with an opening PHP tag: Starter Child Theme” with this example
https://siteorigin.com/basics/child-themes/ they don’t show an opening php tag but i assume it is “<?php”
———–
/**
* Enqueue the parent theme stylesheet.
*/
function vantage_child_enqueue_parent_style() {
wp_enqueue_style( ‘vantage-parent-style’, get_template_directory_uri() . ‘/style.css’ );
}
add_action( ‘wp_enqueue_scripts’, ‘vantage_child_enqueue_parent_style’, 8 );

—————-

what does “Starter Child Theme” have to do with this php file or the css file in the child theme? why does siteorigin write the words “Starter Child Theme” in their tutorial?

here is the css file example they give. i see no relationship with “Starter Child Theme”
/*
Theme Name: Vantage Child
Author: SiteOrigin
Author URI: https://siteorigin.com
Theme URI: https://siteorigin.com/theme/vantage
Description: Vantage Child Theme
Version: 1.0.0
Template: vantage
Text Domain: vantage-child
*/
————-

thank you for any help!


Viewing all articles
Browse latest Browse all 130709

Trending Articles